summaryrefslogtreecommitdiff
path: root/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/ItemConverter.cxx')
-rw-r--r--chart2/source/controller/itemsetwrapper/ItemConverter.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
index 5885ef4286a0..dae0ad45f13e 100644
--- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
@@ -138,7 +138,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
delete pItem;
}
}
- catch( beans::UnknownPropertyException &ex )
+ catch( const beans::UnknownPropertyException &ex )
{
delete pItem;
(void)ex;
@@ -149,9 +149,8 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
" - unknown Property: " )) + aProperty.first,
RTL_TEXTENCODING_ASCII_US ).getStr());
}
- catch( uno::Exception &ex )
+ catch( const uno::Exception &ex )
{
- (void)ex;
ASSERT_EXCEPTION( ex );
}
}
@@ -162,7 +161,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
{
FillSpecialItem( nWhich, rOutItemSet );
}
- catch( uno::Exception &ex )
+ catch( const uno::Exception &ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -212,7 +211,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
bItemsChanged = true;
}
}
- catch( beans::UnknownPropertyException &ex )
+ catch( const beans::UnknownPropertyException &ex )
{
(void)ex;
OSL_FAIL(
@@ -222,7 +221,7 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
" - unknown Property: " )) + aProperty.first,
RTL_TEXTENCODING_ASCII_US).getStr());
}
- catch( uno::Exception &ex )
+ catch( const uno::Exception &ex )
{
(void)ex;
OSL_FAIL( ::rtl::OUStringToOString(