diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/docvw/HeaderFooterWin.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx index df9e8e0689f7..9475c4fa7b0e 100644 --- a/sw/source/ui/docvw/HeaderFooterWin.cxx +++ b/sw/source/ui/docvw/HeaderFooterWin.cxx @@ -201,9 +201,9 @@ const SwPageFrm* SwHeaderFooterWin::GetPageFrame( ) void SwHeaderFooterWin::SetOffset( Point aOffset, long nXLineStart, long nXLineEnd ) { // Compute the text to show - m_sLabel = ResId::toString( SW_RES( STR_HEADER_TITLE ) ); + m_sLabel = SW_RESSTR( STR_HEADER_TITLE ); if ( !m_bIsHeader ) - m_sLabel = ResId::toString( SW_RES( STR_FOOTER_TITLE ) ); + m_sLabel = SW_RESSTR( STR_FOOTER_TITLE ); sal_Int32 nPos = m_sLabel.lastIndexOf( rtl::OUString::createFromAscii( "%1" ) ); m_sLabel = m_sLabel.replaceAt( nPos, 2, GetPageFrame()->GetPageDesc()->GetName() ); diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index bea7a5c92aeb..1ad497c2edd1 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -279,7 +279,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) case SwContentAtPos::SW_REFMARK: if(aCntntAtPos.aFnd.pAttr) { - sTxt = SW_RES(STR_CONTENT_TYPE_SINGLE_REFERENCE); + sTxt = SW_RESSTR(STR_CONTENT_TYPE_SINGLE_REFERENCE); sTxt.AppendAscii( RTL_CONSTASCII_STRINGPARAM( ": ")); sTxt += ((const SwFmtRefMark*)aCntntAtPos.aFnd.pAttr)->GetRefName(); } diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index 0809ed26bfa6..efd9930b78f0 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -1781,7 +1781,7 @@ String SwWrtShell::GetSelDescr() const switch (nSelType) { case nsSelectionType::SEL_GRF: - aResult = SW_RES(STR_GRAPHIC); + aResult = SW_RESSTR(STR_GRAPHIC); break; case nsSelectionType::SEL_FRM: @@ -1794,7 +1794,7 @@ String SwWrtShell::GetSelDescr() const break; case nsSelectionType::SEL_DRW: { - aResult = SW_RES(STR_DRAWING_OBJECTS); + aResult = SW_RESSTR(STR_DRAWING_OBJECTS); } break; default: |