summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/swxml.cxx
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 /sw/source/filter/xml/swxml.cxx
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 'sw/source/filter/xml/swxml.cxx')
-rw-r--r--sw/source/filter/xml/swxml.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 0de368498c3f..515d3a6b2dfa 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -40,6 +40,8 @@
#include <svtools/sfxecode.hxx>
#include <svl/stritem.hxx>
#include <unotools/streamwrap.hxx>
+#include <svx/dialmgr.hxx>
+#include <svx/strings.hrc>
#include <svx/xmlgrhlp.hxx>
#include <svx/xmleohlp.hxx>
#include <comphelper/genericpropertyset.hxx>
@@ -59,7 +61,6 @@
#include <unotextrange.hxx>
#include <swmodule.hxx>
#include <SwXMLSectionList.hxx>
-#include <strings.hrc>
#include <SwStyleNameMapper.hxx>
#include <poolfmt.hxx>
@@ -633,7 +634,7 @@ ErrCode XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, con
sal_Int32 nProgressRange(1000000);
if (xStatusIndicator.is())
{
- xStatusIndicator->start(SwResId(STR_STATSTR_SWGREAD), nProgressRange);
+ xStatusIndicator->start(SvxResId(RID_SVXSTR_DOC_LOAD), nProgressRange);
}
uno::Any aProgRange;
aProgRange <<= nProgressRange;