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 <vmiklos@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Miklos Vajna
2021-09-30 13:46:39 +02:00
parent e6eda8476e
commit 3d32baa4df
2 changed files with 5 additions and 5 deletions
+2
View File
@@ -394,4 +394,6 @@
#define RID_SVXSTR_UI_APPLYALL NC_("RID_SVXSTR_UI_APPLYALL", "Apply to %MODULE")
#define RID_SVXSTR_OLE_INSERT NC_("RID_SVXSTR_OLE_INSERT", "Inserting OLE object...")
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+3 -5
View File
@@ -51,8 +51,6 @@
#include <sfx2/viewsh.hxx>
#include <comphelper/seqstream.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <strings.hrc>
@@ -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);
}
}
}