summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-08-19 23:58:53 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-08-22 03:49:47 +0200
commit508957dbf49be577188fb4c112405717957b2734 (patch)
treec0fcc927e043f62c5318651558f9789fbd2ec846 /starmath
parent0e35b7738d9f276c0566df0f2cc0f1eed7900d6c (diff)
tdf#108706 Unify loading document progress bar label
This also reduces the number of strings to be translated. Change-Id: I032ba12c1e762ee3851658d439dfe2c81c6bd34f Reviewed-on: https://gerrit.libreoffice.org/41329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/strings.hrc1
-rw-r--r--starmath/source/mathmlimport.cxx5
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/strings.hrc b/starmath/inc/strings.hrc
index b000bfe62ca9..8ef050ec8a56 100644
--- a/starmath/inc/strings.hrc
+++ b/starmath/inc/strings.hrc
@@ -308,7 +308,6 @@
#define STR_ALIGN_RIGHT NC_("STR_ALIGN_RIGHT", "right" )
#define STR_CMDBOXWINDOW NC_("STR_CMDBOXWINDOW", "Commands" )
#define RID_DOCUMENTSTR NC_("RID_DOCUMENTSTR", "Formula" )
-#define STR_STATSTR_READING NC_("STR_STATSTR_READING", "Loading document..." )
#define STR_STATSTR_WRITING NC_("STR_STATSTR_WRITING", "Saving document..." )
#define STR_MATH_DOCUMENT_FULLTYPE_CURRENT NC_("STR_MATH_DOCUMENT_FULLTYPE_CURRENT", "%PRODUCTNAME %PRODUCTVERSION Formula")
#define RID_ERR_IDENT NC_("RID_ERR_IDENT", "ERROR : " )
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 5eac14f28977..97193e119172 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -54,13 +54,14 @@ one go*/
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlmetai.hxx>
+#include <svx/dialmgr.hxx>
+#include <svx/strings.hrc>
#include <memory>
#include "mathmlattr.hxx"
#include "mathmlimport.hxx"
#include "register.hxx"
-#include <strings.hrc>
#include <unomodel.hxx>
#include <document.hxx>
#include <utility.hxx>
@@ -161,7 +162,7 @@ ErrCode SmXMLImportWrapper::Import(SfxMedium &rMedium)
sal_Int32 nProgressRange(nSteps);
if (xStatusIndicator.is())
{
- xStatusIndicator->start(SmResId(STR_STATSTR_READING), nProgressRange);
+ xStatusIndicator->start(SvxResId(RID_SVXSTR_DOC_LOAD), nProgressRange);
}
nSteps=0;