summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-04-06 07:15:50 +0000
committerSascha Ballach <sab@openoffice.org>2001-04-06 07:15:50 +0000
commit6ac15401fe93483a7853b9935c7007c1d4473cfc (patch)
treec1f320e170044bbf1130f426951a4a9aad15d998 /sc
parent10641b700a2f0c1dcbb1678d895351827e8760eb (diff)
#81034#; get the string of the Progressbar from the resource file with the correct language
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index 07abf1efd5bf..6c0f0e431b18 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlwrap.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: sab $ $Date: 2001-04-05 09:17:57 $
+ * last change: $Author: sab $ $Date: 2001-04-06 08:15:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -112,6 +112,12 @@
#include "xmlwrap.hxx"
#include "xmlimprt.hxx"
#include "xmlexprt.hxx"
+#ifndef SC_SCGLOB_HXX
+#include "global.hxx"
+#endif
+#ifndef __GLOBSTR_HRC_
+#include "globstr.hrc"
+#endif
#ifndef SEQTYPE
#if defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)
@@ -457,7 +463,7 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly)
uno::Reference<task::XStatusIndicator> xStatusIndicator = GetStatusIndicator(xModel);
sal_Int32 nProgressRange(1000000);
if(xStatusIndicator.is())
- xStatusIndicator->start(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Export XML")), nProgressRange);
+ xStatusIndicator->start(rtl::OUString(ScGlobal::GetRscString(STR_SAVE_DOC)), nProgressRange);
uno::Any aProgRange;
aProgRange <<= nProgressRange;
xInfoSet->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ProgressRange")), aProgRange);