summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-07-05 09:35:25 +0000
committerRüdiger Timm <rt@openoffice.org>2004-07-05 09:35:25 +0000
commitead2e77ead8e70acee227ce8e68facf6b625d076 (patch)
tree43b0533a101738e4b4529244bb24be0b5b198a43 /sfx2
parent99b67aea954376e61e59d6a1f3035c7a372f40b3 (diff)
INTEGRATION: CWS indephome (1.55.84); FILE MERGED
2004/06/03 07:56:10 kso 1.55.84.1: #i29764# - LOcale now obtained from template component.
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctempl.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 993b34f2c759..dff14252c46c 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doctempl.cxx,v $
*
- * $Revision: 1.55 $
+ * $Revision: 1.56 $
*
- * last change: $Author: hr $ $Date: 2004-03-08 16:27:54 $
+ * last change: $Author: rt $ $Date: 2004-07-05 10:35:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2382,15 +2382,10 @@ sal_Bool SfxDocTemplate_Impl::Construct( )
else
return sal_False;
- AllSettings aSettings;
- Locale aLocale = aSettings.GetLocale();
-
Reference< XLocalizable > xLocalizable( xTemplates, UNO_QUERY );
- xLocalizable->setLocale( aLocale );
-
Sequence< Any > aCompareArg(1);
- *(aCompareArg.getArray()) <<= aLocale;
+ *(aCompareArg.getArray()) <<= xLocalizable->getLocale();;
m_rCompareFactory = Reference< XAnyCompareFactory >(
xFactory->createInstanceWithArguments( OUString::createFromAscii( "com.sun.star.ucb.AnyCompareFactory" ),
aCompareArg ),