[Libreoffice-commits] .: writerfilter/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 5 08:30:20 PDT 2011
writerfilter/source/dmapper/OLEHandler.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit eddc7f6846f5bd78ba8f4913d83b66f646fe09cc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 5 16:30:08 2011 +0100
WaE: unused variables
diff --git a/writerfilter/source/dmapper/OLEHandler.cxx b/writerfilter/source/dmapper/OLEHandler.cxx
index 1e89825..907e4a7 100644
--- a/writerfilter/source/dmapper/OLEHandler.cxx
+++ b/writerfilter/source/dmapper/OLEHandler.cxx
@@ -127,6 +127,8 @@ void OLEHandler::lcl_attribute(Id rName, Value & rVal)
#if DEBUG
clog << "Exception in OLE Handler: ";
clog << rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr( ) << endl;
+#else
+ (void)e;
#endif
}
}
@@ -176,6 +178,8 @@ void OLEHandler::lcl_sprm(Sprm & rSprm)
#if DEBUG
clog << "Exception in OLE Handler: ";
clog << rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr( ) << endl;
+#else
+ (void)e;
#endif
}
}
@@ -230,9 +234,8 @@ void OLEHandler::lcl_sprm(Sprm & rSprm)
uno::Reference< lang::XComponent > xComp( xEmbeddedResolver, uno::UNO_QUERY_THROW );
xComp->dispose();
}
- catch( const uno::Exception& rEx)
+ catch( const uno::Exception& )
{
- (void)rEx;
OSL_FAIL("exception in OLEHandler::createOLEObject");
}
return sRet;
More information about the Libreoffice-commits
mailing list