diff options
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/HeaderFooterWin.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 2 |
2 files changed, 3 insertions, 3 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(); } |