summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unosett.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unosett.cxx')
-rw-r--r--sw/source/core/unocore/unosett.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index 4b595d814ac0..80268724eb62 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -194,7 +194,7 @@ static SwCharFormat* lcl_getCharFormat(SwDoc* pDoc, const uno::Any& aValue)
aValue >>= uTmp;
OUString sCharFormat;
SwStyleNameMapper::FillUIName(uTmp, sCharFormat, SwGetPoolIdFromName::ChrFmt, true);
- if (sCharFormat != SW_RESSTR(STR_POOLCOLL_STANDARD))
+ if (sCharFormat != SwResId(STR_POOLCOLL_STANDARD))
{
pRet = pDoc->FindCharFormatByName( sCharFormat );
}
@@ -1295,7 +1295,7 @@ uno::Sequence<beans::PropertyValue> SwXNumberingRules::GetNumberingRuleByIndex(
if (pDocShell) // -> Chapter Numbering
{
// template name
- OUString sValue(SW_RES(STR_POOLCOLL_HEADLINE1 + nIndex));
+ OUString sValue(SwResId(STR_POOLCOLL_HEADLINE1 + nIndex));
const SwTextFormatColls* pColls = pDocShell->GetDoc()->GetTextFormatColls();
const size_t nCount = pColls->size();
for(size_t i = 0; i < nCount; ++i)