summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 2f1bcfea9276..46bb9a1f416d 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -1631,7 +1631,7 @@ bool WrappedNumberOfLinesProperty::detectInnerValue( uno::Any& rInnerValue ) con
xProp->getPropertyValue( m_aOuterName ) >>= nNumberOfLines;
bHasDetectableInnerValue = true;
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -1675,7 +1675,7 @@ void WrappedNumberOfLinesProperty::setPropertyValue( const Any& rOuterValue, con
if( nOldValue == nNewValue )
return;
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -1702,7 +1702,7 @@ void WrappedNumberOfLinesProperty::setPropertyValue( const Any& rOuterValue, con
xProp->setPropertyValue( C2U( "NumberOfLines" ), uno::makeAny(nNewValue) );
xTemplate->changeDiagram( xDiagram );
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -1967,7 +1967,7 @@ void WrappedAutomaticSizeProperty::setPropertyValue( const Any& rOuterValue, con
xInnerPropertySet->setPropertyValue( C2U( "RelativeSize" ), Any() );
}
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}