summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xepivot.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xepivot.cxx')
-rw-r--r--sc/source/filter/excel/xepivot.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx
index d763d74ccc89..a47fd26f50e1 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -37,6 +37,7 @@
#include <dpdimsave.hxx>
#include <dpshttab.hxx>
#include <globstr.hrc>
+#include <scresid.hxx>
#include <fapihelper.hxx>
#include <xestring.hxx>
#include <xelink.hxx>
@@ -881,7 +882,7 @@ OUString lclGetDataFieldCaption( const OUString& rFieldName, ScGeneralFunction e
default:;
}
if (pResIdx)
- aCaption = ScGlobal::GetRscString(pResIdx) + " - ";
+ aCaption = ScResId(pResIdx) + " - ";
aCaption += rFieldName;
return aCaption;
}
@@ -1308,7 +1309,7 @@ void XclExpPivotTable::SetPropertiesFromDP( const ScDPSaveData& rSaveData )
if (pDim && pDim->GetLayoutName())
maPTInfo.maDataName = *pDim->GetLayoutName();
else
- maPTInfo.maDataName = ScGlobal::GetRscString(STR_PIVOT_DATA);
+ maPTInfo.maDataName = ScResId(STR_PIVOT_DATA);
}
void XclExpPivotTable::SetFieldPropertiesFromDim( const ScDPSaveDimension& rSaveDim )