summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2017-03-17 16:09:35 +0100
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2017-03-18 00:35:05 +0000
commitc16a4380fe6bdf6782ef706f4f92d904e0413820 (patch)
tree1dd34f4e640f8cbdc3d381d98e18ea1f8000e383 /sc/source
parent93412700af6a6f6b6caa645434b7f40c92a7615b (diff)
remove EE_RESSTR preprocessor abuse
Change-Id: I83b35c4e2d4275ac76a36bec03807be69a605c58 Reviewed-on: https://gerrit.libreoffice.org/35370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/docpool.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index df7470f2cea7..49759cf3a778 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -693,7 +693,7 @@ static bool lcl_HFPresentation
nTmp = rLRItem.GetRight();
nRightMargin = nTmp < 0 ? 0 : sal_uInt16(nTmp);
- aText = EE_RESSTR(RID_SVXITEMS_LRSPACE_LEFT);
+ aText = EditResId::GetString(RID_SVXITEMS_LRSPACE_LEFT);
if ( 100 != nPropLeftMargin )
{
aText = aText + unicode::formatPercent(nPropLeftMargin,
@@ -703,12 +703,12 @@ static bool lcl_HFPresentation
{
aText += GetMetricText( (long)nLeftMargin,
eCoreMetric, ePresentationMetric, pIntl );
- aText += " " + EE_RESSTR(GetMetricId(ePresentationMetric));
+ aText += " " + EditResId::GetString(GetMetricId(ePresentationMetric));
}
aText += cpDelim;
// We don't have a nPropFirstLineOfst
- aText += EE_RESSTR(RID_SVXITEMS_LRSPACE_RIGHT);
+ aText += EditResId::GetString(RID_SVXITEMS_LRSPACE_RIGHT);
if ( 100 != nPropRightMargin )
{
aText = aText + unicode::formatPercent(nPropLeftMargin,
@@ -718,7 +718,7 @@ static bool lcl_HFPresentation
{
aText += GetMetricText( (long)nRightMargin,
eCoreMetric, ePresentationMetric, pIntl );
- aText += " " + EE_RESSTR(GetMetricId(ePresentationMetric));
+ aText += " " + EditResId::GetString(GetMetricId(ePresentationMetric));
}
}
break;