summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtstyle.cxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-03-30 09:29:33 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-03-30 09:29:33 +0000
commit570fe3da7875b23a1d4c778c40b7130fa88517e4 (patch)
treefeb903f73a28898badec8b6b0b42824d5a877365 /xmloff/source/text/txtstyle.cxx
parentac86436540b9b9aa98c797c1023fc138f6fe5182 (diff)
maybe fix wierd solaris bug?
Diffstat (limited to 'xmloff/source/text/txtstyle.cxx')
-rw-r--r--xmloff/source/text/txtstyle.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/text/txtstyle.cxx b/xmloff/source/text/txtstyle.cxx
index 305ee9415d71..6c2add4e6190 100644
--- a/xmloff/source/text/txtstyle.cxx
+++ b/xmloff/source/text/txtstyle.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtstyle.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: mtg $ $Date: 2001-03-22 21:02:27 $
+ * last change: $Author: mtg $ $Date: 2001-03-30 10:29:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -189,9 +189,8 @@ void XMLTextParagraphExport::exportTextStyles( sal_Bool bUsed )
Reference < lang::XMultiServiceFactory > xFactory (GetExport().GetModel(), UNO_QUERY);
if (xFactory.is())
{
- Reference < XInterface > xInt = xFactory->createInstance (
- OUString( RTL_CONSTASCII_USTRINGPARAM (
- "com.sun.star.text.Defaults") ) );
+ OUString sTextDefaults ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.Defaults" ) );
+ Reference < XInterface > xInt = xFactory->createInstance ( sTextDefaults );
if ( xInt.is() )
{
Reference < XPropertySet > xPropSet (xInt, UNO_QUERY);