Kaydet (Commit) ead2e77e authored tarafından Rüdiger Timm's avatar Rüdiger Timm

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.
üst 99b67aea
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: doctempl.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -2382,15 +2382,10 @@ sal_Bool SfxDocTemplate_Impl::Construct( ) ...@@ -2382,15 +2382,10 @@ sal_Bool SfxDocTemplate_Impl::Construct( )
else else
return sal_False; return sal_False;
AllSettings aSettings;
Locale aLocale = aSettings.GetLocale();
Reference< XLocalizable > xLocalizable( xTemplates, UNO_QUERY ); Reference< XLocalizable > xLocalizable( xTemplates, UNO_QUERY );
xLocalizable->setLocale( aLocale );
Sequence< Any > aCompareArg(1); Sequence< Any > aCompareArg(1);
*(aCompareArg.getArray()) <<= aLocale; *(aCompareArg.getArray()) <<= xLocalizable->getLocale();;
m_rCompareFactory = Reference< XAnyCompareFactory >( m_rCompareFactory = Reference< XAnyCompareFactory >(
xFactory->createInstanceWithArguments( OUString::createFromAscii( "com.sun.star.ucb.AnyCompareFactory" ), xFactory->createInstanceWithArguments( OUString::createFromAscii( "com.sun.star.ucb.AnyCompareFactory" ),
aCompareArg ), aCompareArg ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment