summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 12:29:31 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 12:29:31 +0000
commit0cb7327ec5ccb71c17625c2a1259fcd254babe70 (patch)
tree67985fc6b867d2306bf54be5cb329e40ed777ca3
parent6cb316b3f8bd7529c8930d3ae3d7dc9fff7b395b (diff)
INTEGRATION: CWS sb59 (1.10.62); FILE MERGED
2006/08/28 12:58:11 sb 1.10.62.1: #i67487# Made code warning-free (wntmsci10).
-rw-r--r--svx/source/xml/xmltxtexp.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/xml/xmltxtexp.cxx b/svx/source/xml/xmltxtexp.cxx
index c553b8e7c9a7..feb93884dc8d 100644
--- a/svx/source/xml/xmltxtexp.cxx
+++ b/svx/source/xml/xmltxtexp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmltxtexp.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 06:20:39 $
+ * last change: $Author: obo $ $Date: 2006-10-12 13:29:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -317,7 +317,8 @@ uno::Reference< uno::XInterface > SAL_CALL SvxSimpleUnoModel::createInstance( co
{
if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.NumberingRules" ) ) )
{
- return SvxCreateNumRule( (SdrModel*)NULL );
+ return uno::Reference< uno::XInterface >(
+ SvxCreateNumRule( (SdrModel*)NULL ), uno::UNO_QUERY );
}
if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.TextField.DateTime") ) )
{
@@ -548,7 +549,7 @@ void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection&
}
while( 0 );
}
- catch( uno::Exception& e )
+ catch( uno::Exception& )
{
DBG_ERROR("exception during xml export");
}