summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-30 10:56:52 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-30 13:46:39 +0200
commit3d32baa4df8d4061efcd5c5aa0a381e9a75240fa (patch)
treee5a614508bdbc92b496697d62bb905392543799f /cui
parente6eda8476e5df9f4c88615c6075e1635c752daf7 (diff)
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
Diffstat (limited to 'cui')
-rw-r--r--cui/inc/strings.hrc2
-rw-r--r--cui/source/dialogs/insdlg.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index 6d8d75fae35f..44b6a063ae1e 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -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: */
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 <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);
}
}
}