WaE: more windows tinderbox warning cleanup

This commit is contained in:
Michael Meeks
2011-11-01 15:24:33 +00:00
parent bc0ae51717
commit 501a1fbc3e
4 changed files with 7 additions and 3 deletions

View File

@@ -277,11 +277,11 @@ sal_Bool SAXParser::Parse( ParseAction aAct )
{ {
xParser->parseStream ( sSource ); xParser->parseStream ( sSource );
} }
catch( class SAXParseException & rPEx) catch( class SAXParseException & )
{ {
// TODO // TODO
} }
catch( class Exception & rEx) catch( class Exception & )
{ {
// TODO // TODO
} }

View File

@@ -143,6 +143,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
catch( beans::UnknownPropertyException &ex ) catch( beans::UnknownPropertyException &ex )
{ {
delete pItem; delete pItem;
(void)ex;
OSL_FAIL( OSL_FAIL(
::rtl::OUStringToOString( ::rtl::OUStringToOString(
ex.Message + ex.Message +
@@ -152,6 +153,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
} }
catch( uno::Exception &ex ) catch( uno::Exception &ex )
{ {
(void)ex;
ASSERT_EXCEPTION( ex ); ASSERT_EXCEPTION( ex );
} }
} }
@@ -214,6 +216,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
} }
catch( beans::UnknownPropertyException &ex ) catch( beans::UnknownPropertyException &ex )
{ {
(void)ex;
OSL_FAIL( OSL_FAIL(
::rtl::OUStringToOString( ::rtl::OUStringToOString(
ex.Message + ex.Message +
@@ -223,6 +226,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
} }
catch( uno::Exception &ex ) catch( uno::Exception &ex )
{ {
(void)ex;
OSL_FAIL( ::rtl::OUStringToOString( OSL_FAIL( ::rtl::OUStringToOString(
ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr()); ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
} }

View File

@@ -329,7 +329,6 @@ bool Selection::isResizeableObjectSelected()
default: default:
return false; return false;
} }
return false;
} }
bool Selection::isRotateableObjectSelected( const uno::Reference< frame::XModel >& xChartModel ) bool Selection::isRotateableObjectSelected( const uno::Reference< frame::XModel >& xChartModel )

View File

@@ -776,6 +776,7 @@ void Desktop::ensureProcessServiceFactory()
} }
catch (const css::uno::Exception& e) catch (const css::uno::Exception& e)
{ {
(void)e;
OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr()); OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr());
// let exceptions escape and tear down the process, it is // let exceptions escape and tear down the process, it is
// completely broken anyway // completely broken anyway