From 508957dbf49be577188fb4c112405717957b2734 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 19 Aug 2017 23:58:53 +0900 Subject: 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 Reviewed-by: Takeshi Abe --- sc/source/filter/xml/xmlwrap.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sc/source') diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index 392f420ca8a6..530f08b5ab0e 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include #include #include @@ -342,7 +344,7 @@ bool ScXMLImportWrapper::Import( ImportFlags nMode, ErrCode& rError ) if (xStatusIndicator.is()) { sal_Int32 nProgressRange(1000000); - xStatusIndicator->start(ScGlobal::GetRscString(STR_LOAD_DOC), nProgressRange); + xStatusIndicator->start(SvxResId(RID_SVXSTR_DOC_LOAD), nProgressRange); xInfoSet->setPropertyValue("ProgressRange", uno::makeAny(nProgressRange)); } -- cgit