diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-17 16:09:35 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-18 00:35:05 +0000 |
commit | c16a4380fe6bdf6782ef706f4f92d904e0413820 (patch) | |
tree | 1dd34f4e640f8cbdc3d381d98e18ea1f8000e383 /cui | |
parent | 93412700af6a6f6b6caa645434b7f40c92a7615b (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 'cui')
-rw-r--r-- | cui/source/tabpages/page.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 2f109db89c06..dab4e0a9064f 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -483,7 +483,7 @@ void SvxPageDescPage::Reset( const SfxItemSet* rSet ) OUString aBinName; if ( PAPERBIN_PRINTER_SETTINGS == nPaperBin ) - aBinName = EE_RESSTR( RID_SVXSTR_PAPERBIN_SETTINGS ); + aBinName = EditResId::GetString( RID_SVXSTR_PAPERBIN_SETTINGS ); else aBinName = mpDefPrinter->GetPaperBinName( (sal_uInt16)nPaperBin ); @@ -899,7 +899,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperBinHdl_Impl, Control&, void) m_pPaperTrayBox->SetUpdateMode( false ); m_pPaperTrayBox->Clear(); sal_Int32 nEntryPos = m_pPaperTrayBox->InsertEntry( - EE_RESSTR( RID_SVXSTR_PAPERBIN_SETTINGS ) ); + EditResId::GetString( RID_SVXSTR_PAPERBIN_SETTINGS ) ); m_pPaperTrayBox->SetEntryData( nEntryPos, reinterpret_cast<void*>((sal_uLong)PAPERBIN_PRINTER_SETTINGS) ); OUString aPaperBin( EditResId( RID_SVXSTR_PAPERBIN ) ); |