summaryrefslogtreecommitdiffstats
path: root/svtools/source/dialogs/prnsetup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/dialogs/prnsetup.cxx')
-rw-r--r--svtools/source/dialogs/prnsetup.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx
index 3eb70f1705f4..add15bc37444 100644
--- a/svtools/source/dialogs/prnsetup.cxx
+++ b/svtools/source/dialogs/prnsetup.cxx
@@ -144,9 +144,7 @@ static void ImplPrnDlgAddString( XubString& rStr, const XubString& rAddStr )
static void ImplPrnDlgAddResString( XubString& rStr, sal_uInt16 nResId )
{
- SvtResId aResId( nResId );
- XubString aAddStr( aResId );
- ImplPrnDlgAddString( rStr, aAddStr );
+ ImplPrnDlgAddString( rStr, SVT_RESSTR(nResId) );
}
// -----------------------------------------------------------------------
@@ -217,7 +215,7 @@ XubString ImplPrnDlgGetStatusText( const QueueInfo& rInfo )
sal_uLong nJobs = rInfo.GetJobs();
if ( nJobs && (nJobs != QUEUE_JOBS_DONTKNOW) )
{
- XubString aJobStr( SvtResId( STR_SVT_PRNDLG_JOBCOUNT ) );
+ XubString aJobStr( SVT_RESSTR( STR_SVT_PRNDLG_JOBCOUNT ) );
XubString aJobs( XubString::CreateFromInt32( nJobs ) );
aJobStr.SearchAndReplaceAscii( "%d", aJobs );
ImplPrnDlgAddString( aStr, aJobStr );