From 3d32baa4df8d4061efcd5c5aa0a381e9a75240fa Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 30 Sep 2021 10:56:52 +0200 Subject: cui: better label for the OLE insert progressbar It's inserting an OLE object, not really loading a document. Change-Id: Ie33e5ef8e80acbd2bfebd68119540c6d168ab120 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122877 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- cui/source/dialogs/insdlg.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cui/source') diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index a8b9507db640..2440d2ef0c0d 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -51,8 +51,6 @@ #include #include #include -#include -#include #include @@ -210,7 +208,7 @@ short SvInsertOleDlg::run() xProgress = xProgressFactory->createStatusIndicator(); if (xProgress) { - aProgressText = SvxResId(RID_SVXSTR_DOC_LOAD); + aProgressText = CuiResId(RID_SVXSTR_OLE_INSERT); } } } @@ -316,8 +314,8 @@ short SvInsertOleDlg::run() xProgress = xProgressFactory->createStatusIndicator(); if (xProgress) { - OUString aDocLoad(SvxResId(RID_SVXSTR_DOC_LOAD)); - xProgress->start(aDocLoad, 100); + OUString aOleInsert(CuiResId(RID_SVXSTR_OLE_INSERT)); + xProgress->start(aOleInsert, 100); } } } -- cgit