diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:29:16 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:29:16 +0000 |
commit | 6cb316b3f8bd7529c8930d3ae3d7dc9fff7b395b (patch) | |
tree | af8a516e29c272ad9ca5271ba92ca4034fd45b25 /svx/source/xml/xmlexport.cxx | |
parent | f0a8575008ad037ca1d99ec44548d0c3d4d3aea0 (diff) |
INTEGRATION: CWS sb59 (1.8.488); FILE MERGED
2006/08/28 12:58:11 sb 1.8.488.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svx/source/xml/xmlexport.cxx')
-rw-r--r-- | svx/source/xml/xmlexport.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/svx/source/xml/xmlexport.cxx b/svx/source/xml/xmlexport.cxx index 048dab4f9d33..8249e77673bb 100644 --- a/svx/source/xml/xmlexport.cxx +++ b/svx/source/xml/xmlexport.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmlexport.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: obo $ $Date: 2006-09-17 06:20:12 $ + * last change: $Author: obo $ $Date: 2006-10-12 13:29:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -325,6 +325,8 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, uno::Reference<io::XInputStrea ByteString aError( "SAX parse exception catched while importing:\n" ); aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); DBG_ERROR( aError.GetBuffer() ); +#else + (void) r; // avoid warnings #endif } catch( xml::sax::SAXException& r ) @@ -333,6 +335,8 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, uno::Reference<io::XInputStrea ByteString aError( "SAX exception catched while importing:\n" ); aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); DBG_ERROR( aError.GetBuffer() ); +#else + (void) r; // avoid warnings #endif } catch( io::IOException& r ) @@ -341,6 +345,8 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, uno::Reference<io::XInputStrea ByteString aError( "IO exception catched while importing:\n" ); aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); DBG_ERROR( aError.GetBuffer() ); +#else + (void) r; // avoid warnings #endif } catch( uno::Exception& r ) @@ -349,6 +355,8 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, uno::Reference<io::XInputStrea ByteString aError( "uno exception catched while importing:\n" ); aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); DBG_ERROR( aError.GetBuffer() ); +#else + (void) r; // avoid warnings #endif } |