summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ResId.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/ResId.cxx')
-rw-r--r--chart2/source/tools/ResId.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/ResId.cxx b/chart2/source/tools/ResId.cxx
index 6bff5b7efc0e..68ea0df902f7 100644
--- a/chart2/source/tools/ResId.cxx
+++ b/chart2/source/tools/ResId.cxx
@@ -19,13 +19,13 @@
#include "ResId.hxx"
#include "ResourceManager.hxx"
-#include <tools/resid.hxx>
+#include <tools/resmgr.hxx>
namespace chart
{
- OUString SchResId(sal_uInt16 nId)
+ OUString SchResId(const char *pId)
{
- return ResId(nId, ResourceManager::getResourceManager());
+ return Translate::get(pId, ResourceManager::getResourceLocale());
}
} // namespace chart