diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-08-19 23:58:53 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-08-22 03:49:47 +0200 |
commit | 508957dbf49be577188fb4c112405717957b2734 (patch) | |
tree | c0fcc927e043f62c5318651558f9789fbd2ec846 /sw | |
parent | 0e35b7738d9f276c0566df0f2cc0f1eed7900d6c (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')
-rw-r--r-- | sw/inc/strings.hrc | 1 | ||||
-rw-r--r-- | sw/source/filter/xml/swxml.cxx | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index bbd31e3318f5..9c42670f24e0 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -262,7 +262,6 @@ // Statusbar-titles #define STR_STATSTR_W4WREAD NC_("STR_STATSTR_W4WREAD", "Importing document...") #define STR_STATSTR_W4WWRITE NC_("STR_STATSTR_W4WWRITE", "Exporting document...") -#define STR_STATSTR_SWGREAD NC_("STR_STATSTR_SWGREAD", "Loading document...") #define STR_STATSTR_SWGWRITE NC_("STR_STATSTR_SWGWRITE", "Saving document...") #define STR_STATSTR_REFORMAT NC_("STR_STATSTR_REFORMAT", "Repagination...") #define STR_STATSTR_AUTOFORMAT NC_("STR_STATSTR_AUTOFORMAT", "Formatting document automatically...") 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; |