summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-01 15:24:33 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-01 16:08:38 +0000
commit501a1fbc3e34c0f3afc75d523cc6fc72b94682fd (patch)
tree25c6d39e0150544c06c9d84a3e50315ac075e648
parentbc0ae5171790dc2656a2102eaced449f9ea54921 (diff)
WaE: more windows tinderbox warning cleanup
-rw-r--r--automation/source/server/XMLParser.cxx4
-rw-r--r--chart2/source/controller/itemsetwrapper/ItemConverter.cxx4
-rw-r--r--chart2/source/controller/main/SelectionHelper.cxx1
-rw-r--r--desktop/source/app/app.cxx1
4 files changed, 7 insertions, 3 deletions
diff --git a/automation/source/server/XMLParser.cxx b/automation/source/server/XMLParser.cxx
index 55214414127b..7768775bba44 100644
--- a/automation/source/server/XMLParser.cxx
+++ b/automation/source/server/XMLParser.cxx
@@ -277,11 +277,11 @@ sal_Bool SAXParser::Parse( ParseAction aAct )
{
xParser->parseStream ( sSource );
}
- catch( class SAXParseException & rPEx)
+ catch( class SAXParseException & )
{
// TODO
}
- catch( class Exception & rEx)
+ catch( class Exception & )
{
// TODO
}
diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
index a121a774615c..42f75c330042 100644
--- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
@@ -143,6 +143,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
catch( beans::UnknownPropertyException &ex )
{
delete pItem;
+ (void)ex;
OSL_FAIL(
::rtl::OUStringToOString(
ex.Message +
@@ -152,6 +153,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
}
catch( uno::Exception &ex )
{
+ (void)ex;
ASSERT_EXCEPTION( ex );
}
}
@@ -214,6 +216,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
}
catch( beans::UnknownPropertyException &ex )
{
+ (void)ex;
OSL_FAIL(
::rtl::OUStringToOString(
ex.Message +
@@ -223,6 +226,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
}
catch( uno::Exception &ex )
{
+ (void)ex;
OSL_FAIL( ::rtl::OUStringToOString(
ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
}
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index 8e54505ab342..328b341ed08c 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -329,7 +329,6 @@ bool Selection::isResizeableObjectSelected()
default:
return false;
}
- return false;
}
bool Selection::isRotateableObjectSelected( const uno::Reference< frame::XModel >& xChartModel )
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index b63ee06d8ed6..be33faca1b9e 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -776,6 +776,7 @@ void Desktop::ensureProcessServiceFactory()
}
catch (const css::uno::Exception& e)
{
+ (void)e;
OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr());
// let exceptions escape and tear down the process, it is
// completely broken anyway