diff options
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/ItemConverter.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/main/SelectionHelper.cxx | 1 |
2 files changed, 4 insertions, 1 deletions
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 ) |