summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/inc/strings.hrc1
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/inc/strings.hrc b/sd/inc/strings.hrc
index 7d049670373f..a47b808609e3 100644
--- a/sd/inc/strings.hrc
+++ b/sd/inc/strings.hrc
@@ -334,7 +334,6 @@
#define STR_PSEUDOSHEET_BACKGROUND NC_("STR_PSEUDOSHEET_BACKGROUND", "Background" )
#define STR_PSEUDOSHEET_NOTES NC_("STR_PSEUDOSHEET_NOTES", "Notes" )
#define STR_POWERPOINT_IMPORT NC_("STR_POWERPOINT_IMPORT", "PowerPoint Import")
-#define STR_LOAD_DOC NC_("STR_LOAD_DOC", "Load Document" )
#define STR_SAVE_DOC NC_("STR_SAVE_DOC", "Save Document" )
#define STR_POOLSHEET_BANDED_CELL NC_("STR_POOLSHEET_BANDED_CELL", "Banding cell" )
#define STR_POOLSHEET_HEADER NC_("STR_POOLSHEET_HEADER", "Header" )
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 56a1368d78aa..fa3bcfa10cdf 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -30,6 +30,8 @@
#include "drawdoc.hxx"
#include "Outliner.hxx"
#include <unotools/streamwrap.hxx>
+#include <svx/dialmgr.hxx>
+#include <svx/strings.hrc>
#include <svx/xmlgrhlp.hxx>
#include "DrawDocShell.hxx"
@@ -524,7 +526,7 @@ bool SdXMLFilter::Import( ErrCode& nError )
if(mxStatusIndicator.is())
{
sal_Int32 nProgressRange(1000000);
- OUString aMsg(SdResId(STR_LOAD_DOC));
+ OUString aMsg(SvxResId(RID_SVXSTR_DOC_LOAD));
mxStatusIndicator->start(aMsg, nProgressRange);
// set ProgressRange