summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/mainwn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/mainwn.cxx')
-rw-r--r--sw/source/uibase/app/mainwn.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/mainwn.cxx b/sw/source/uibase/app/mainwn.cxx
index e37faf434c24..44e4b9b1c036 100644
--- a/sw/source/uibase/app/mainwn.cxx
+++ b/sw/source/uibase/app/mainwn.cxx
@@ -64,7 +64,7 @@ void StartProgress( sal_uInt16 nMessResId, long nStartValue, long nEndValue,
{
pProgress = new SwProgress;
pProgress->pProgress = new SfxProgress( pDocShell,
- SW_RESSTR(nMessResId),
+ SwResId(nMessResId),
nEndValue - nStartValue );
pProgress->nStartCount = 1;
pProgress->pDocShell = pDocShell;
@@ -123,7 +123,7 @@ void SetProgressText( sal_uInt16 nId, SwDocShell *pDocShell )
{
SwProgress *pProgress = lcl_SwFindProgress( pDocShell );
if ( pProgress )
- pProgress->pProgress->SetStateText( 0, SW_RESSTR(nId) );
+ pProgress->pProgress->SetStateText( 0, SwResId(nId) );
}
}