diff options
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/axes/VAxisProperties.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/axes/VCartesianAxis.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/axes/VCoordinateSystem.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BarChart.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/charttypes/CandleStickChart.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/charttypes/PieChart.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/diagram/VDiagram.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 14 | ||||
-rw-r--r-- | chart2/source/view/main/DrawModelWrapper.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/PropertyMapper.cxx | 8 | ||||
-rw-r--r-- | chart2/source/view/main/ShapeFactory.cxx | 42 | ||||
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 12 | ||||
-rw-r--r-- | chart2/source/view/main/VLegend.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/main/VLegendSymbolFactory.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/VLineProperties.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/main/VTitle.cxx | 8 |
17 files changed, 71 insertions, 71 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx index dc9398181287..164399da6741 100644 --- a/chart2/source/view/axes/VAxisProperties.cxx +++ b/chart2/source/view/axes/VAxisProperties.cxx @@ -294,7 +294,7 @@ void AxisProperties::initAxisPositioning( const uno::Reference< beans::XProperty m_eTickmarkPos = ::com::sun::star::chart::ChartAxisMarkPosition_AT_LABELS; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -379,7 +379,7 @@ void AxisProperties::init( bool bCartesian ) this->m_aTickmarkPropertiesList.push_back( aTickmarkProperties ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -433,7 +433,7 @@ void AxisLabelProperties::init( const uno::Reference< XAxis >& xAxisModel ) break; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 6056a7d1c32f..b345c47483d3 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -1531,7 +1531,7 @@ void VCartesianAxis::updatePositions() { xProp->setPropertyValue( C2U( "Transformation" ), aATransformation ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/axes/VCoordinateSystem.cxx b/chart2/source/view/axes/VCoordinateSystem.cxx index 0a60a77aef61..de7cc0d8729d 100644 --- a/chart2/source/view/axes/VCoordinateSystem.cxx +++ b/chart2/source/view/axes/VCoordinateSystem.cxx @@ -571,7 +571,7 @@ bool VCoordinateSystem::getPropertySwapXAndYAxis() const { xProp->getPropertyValue( C2U( "SwapXAndYAxis" ) ) >>= bSwapXAndY; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index 30f451dcd1a3..2beca1158479 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -68,7 +68,7 @@ BarChart::BarChart( const uno::Reference<XChartType>& xChartTypeModel m_xChartTypeModelProps->getPropertyValue( C2U( "GapwidthSequence" ) ) >>= m_aGapwidthSequence; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -292,7 +292,7 @@ uno::Reference< drawing::XShape > BarChart::createDataPoint3D_Bar( bRoundedEdges = false; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -653,7 +653,7 @@ void BarChart::createShapes() { xDataPointProperties->getPropertyValue( C2U( "Geometry3D" )) >>= nGeometry3D; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index 4b34cb9f1f61..64bd816a7da6 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -168,7 +168,7 @@ void CandleStickChart::createShapes() PropertyMapper::getMultiPropertyListsFromValueMap( aBlackBox_Names, aBlackBox_Values, aBlackBox_Map ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index c90b31033c81..6c4bb183a516 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -141,7 +141,7 @@ PieChart::PieChart( const uno::Reference<XChartType>& xChartTypeModel m_pPosHelper->m_fRingDistance = 0.1; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -415,7 +415,7 @@ void PieChart::createShapes() { xPointProperties->getPropertyValue( C2U( "Offset" )) >>= fExplodePercentage; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -533,7 +533,7 @@ void PieChart::createShapes() ShapeFactory::setShapeName( xPointShape , ObjectIdentifier::createPointCID( aPointCIDStub, nPointIndex ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index c882e00abf32..5ba19a053012 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -494,7 +494,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re xPointProps->getPropertyValue( C2U( "TextRotation" ) ) >>= fRotationDegrees; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -611,7 +611,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re xTextShape->setPosition( aNewTextPos ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -700,7 +700,7 @@ double lcl_getErrorBarLogicLength( break; } } - catch( uno::Exception & e ) + catch( const uno::Exception & e ) { ASSERT_EXCEPTION( e ); } @@ -912,7 +912,7 @@ void VSeriesPlotter::createErrorBar( uno::Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D( xTarget, PolyToPointSequence( aPoly) ); this->setMappedProperties( xShape, xErrorBarProperties, PropertyMapper::getPropertyNameMapForLineProperties() ); } - catch( uno::Exception & e ) + catch( const uno::Exception & e ) { ASSERT_EXCEPTION( e ); } @@ -2205,7 +2205,7 @@ std::vector< ViewLegendEntry > VSeriesPlotter::createLegendEntriesForSeries( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index 15b3d46a29cc..73efde66458c 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -219,7 +219,7 @@ void VDiagram::createShapes_2d() xProp->setPropertyValue( C2U( UNO_NAME_MISC_OBJ_NAME ), uno::makeAny( aWallCID ) ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -465,7 +465,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize ) m_xAspectRatio3D->setPropertyValue( C2U( UNO_NAME_3D_TRANSFORM_MATRIX ) , uno::makeAny(BaseGFXHelper::B3DHomMatrixToHomogenMatrix( aResult )) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -694,7 +694,7 @@ void VDiagram::createShapes_3d() xShapeProp->setPropertyValue( C2U( UNO_NAME_3D_TRANSFORM_MATRIX ) , uno::makeAny(BaseGFXHelper::B3DHomMatrixToHomogenMatrix(aM)) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 64257853a3fd..04c42cd67f64 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -894,7 +894,7 @@ void SeriesPlotterContainer::setNumberFormatsFromAxes() } } } - catch( lang::IndexOutOfBoundsException& e ) + catch( const lang::IndexOutOfBoundsException& e ) { ASSERT_EXCEPTION( e ); } @@ -1305,7 +1305,7 @@ void lcl_setDefaultWritingMode( ::boost::shared_ptr< DrawModelWrapper > pDrawMod pDrawModelWrapper->GetItemPool().SetPoolDefaultItem(SfxInt32Item(EE_PARA_WRITINGDIR, nWritingMode) ); } } - catch( uno::Exception& ex ) + catch( const uno::Exception& ex ) { ASSERT_EXCEPTION( ex ); } @@ -1785,7 +1785,7 @@ bool lcl_getPropertySwapXAndYAxis( const uno::Reference< XDiagram >& xDiagram ) { xProp->getPropertyValue( C2U( "SwapXAndYAxis" ) ) >>= bSwapXAndY; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2348,7 +2348,7 @@ void formatPage( PropertyMapper::setMultiProperties( aNames, aValues, xPageProp ); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -2407,7 +2407,7 @@ void ChartView::impl_refreshAddIn() xAddIn->refresh(); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2674,7 +2674,7 @@ void ChartView::impl_updateView() m_bViewUpdatePending = false; m_bInViewUpdate = false; } - catch( uno::Exception& ex) + catch( const uno::Exception& ex) { m_bViewDirty = m_bViewUpdatePending; m_bViewUpdatePending = false; @@ -2786,7 +2786,7 @@ void ChartView::impl_notifyModeChangeListener( const rtl::OUString& rNewMode ) } } } - catch( uno::Exception& ex) + catch( const uno::Exception& ex) { ASSERT_EXCEPTION( ex ); } diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index 8fa9dad74d54..f3fe2d8e90ef 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -90,7 +90,7 @@ SfxObjectShell * lcl_GetParentObjectShell( const uno::Reference< frame::XModel > } } } - catch( uno::Exception& ) + catch( const uno::Exception& ) { // TODO: error handling } diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 741504c0ca0e..1221e15c71df 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -101,7 +101,7 @@ void PropertyMapper::getValueMap( if( aAny.hasValue() ) rValueMap.insert( tPropertyNameValueMap::value_type( aTarget, aAny ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -373,7 +373,7 @@ void PropertyMapper::setMultiProperties( bSuccess = true; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completly for better performance } @@ -393,13 +393,13 @@ void PropertyMapper::setMultiProperties( { xTarget->setPropertyValue( aPropName, aValue ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index d2f1c6e8c385..40f25366eff3 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -90,7 +90,7 @@ void ShapeFactory::setShapeName( const uno::Reference< drawing::XShape >& xShape xProp->setPropertyValue( C2U( UNO_NAME_MISC_OBJ_NAME ) , uno::makeAny( rName ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -111,7 +111,7 @@ rtl::OUString ShapeFactory::getShapeName( const uno::Reference< drawing::XShape { xProp->getPropertyValue( C2U( UNO_NAME_MISC_OBJ_NAME ) ) >>= aRet; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -457,7 +457,7 @@ uno::Reference<drawing::XShape> bRounded = false; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -521,7 +521,7 @@ uno::Reference<drawing::XShape> , uno::makeAny(aHM) ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -771,7 +771,7 @@ uno::Reference<drawing::XShape> xProp->setPropertyValue( C2U( UNO_NAME_3D_REDUCED_LINE_GEOMETRY ) , uno::makeAny((sal_Bool)sal_True) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -993,7 +993,7 @@ uno::Reference< drawing::XShape > xProp->setPropertyValue( C2U( "PolyPolygonBezier" ), uno::makeAny( aCoords ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1077,7 +1077,7 @@ uno::Reference< drawing::XShape > xProp->setPropertyValue( C2U( UNO_NAME_3D_TEXTURE_PROJ_Y ) , uno::makeAny( drawing::TextureProjectionMode_OBJECTSPECIFIC ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1141,7 +1141,7 @@ uno::Reference< drawing::XShape > if( xSourceProp.is()) PropertyMapper::setMappedProperties( xProp, xSourceProp, rPropertyNameMap ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1205,7 +1205,7 @@ uno::Reference< drawing::XShape > , uno::makeAny(aHM) ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1245,7 +1245,7 @@ uno::Reference< drawing::XShape > xProp->setPropertyValue( C2U( UNO_NAME_MISC_OBJ_ZORDER ) , uno::makeAny( sal_Int32(0) ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1821,7 +1821,7 @@ uno::Reference< drawing::XShape > xProp->setPropertyValue( C2U( UNO_NAME_FILLCOLOR ) , uno::makeAny( nFillColor ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1870,7 +1870,7 @@ uno::Reference< drawing::XShape > { xProp->setPropertyValue( C2U("Graphic"), uno::makeAny( xGraphic )); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1906,7 +1906,7 @@ uno::Reference< drawing::XShapes > uno::Reference<drawing::XShapes>( xShape, uno::UNO_QUERY ); return xShapes; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1943,7 +1943,7 @@ uno::Reference< drawing::XShapes > xProp->setPropertyValue( C2U( UNO_NAME_3D_TRANSFORM_MATRIX ) , uno::makeAny(B3DHomMatrixToHomogenMatrix(aM)) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -1959,7 +1959,7 @@ uno::Reference< drawing::XShapes > uno::Reference<drawing::XShapes>( xShape, uno::UNO_QUERY ); return xShapes; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2005,7 +2005,7 @@ uno::Reference< drawing::XShape > xProp->setPropertyValue( C2U( UNO_NAME_CIRCKIND ) , uno::makeAny( eKind ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2066,7 +2066,7 @@ uno::Reference< drawing::XShape > , rLineProperties.Color ); //, uno::makeAny( sal_Int32( Color(COL_RED).GetColor()) ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2130,7 +2130,7 @@ uno::Reference< drawing::XShape > , pLineProperties->DashName ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2161,7 +2161,7 @@ void ShapeFactory::makeShapeInvisible( const uno::Reference< drawing::XShape >& xShapeProp->setPropertyValue( C2U("LineStyle"), uno::makeAny( drawing::LineStyle_NONE )); xShapeProp->setPropertyValue( C2U("FillStyle"), uno::makeAny( drawing::FillStyle_NONE )); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -2187,7 +2187,7 @@ uno::Reference< drawing::XShape > ShapeFactory::createInvisibleRectangle( } return xShape; } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -2230,7 +2230,7 @@ uno::Reference< drawing::XShape > { xProp->setPropertyValue( C2U( "Transformation" ), rATransformation ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index b35c2135fb07..db0b2b038563 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -246,7 +246,7 @@ VDataSeries::VDataSeries( const uno::Reference< XDataSeries >& xDataSeries ) else if( aRole.equals(C2U("values-size")) ) m_aValues_Bubble_Size.init( xDataSequence ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -282,7 +282,7 @@ VDataSeries::VDataSeries( const uno::Reference< XDataSeries >& xDataSeries ) if(m_nAxisIndex<0) m_nAxisIndex=0; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -622,7 +622,7 @@ sal_Int32 VDataSeries::getLabelPlacement( sal_Int32 nPointIndex, const uno::Refe OSL_FAIL("no label placement supported"); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -757,7 +757,7 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH else apSymbolProps.reset(); } - catch( uno::Exception &e) + catch(const uno::Exception &e) { ASSERT_EXCEPTION( e ); } @@ -837,7 +837,7 @@ bool VDataSeries::hasPointOwnColor( sal_Int32 index ) const uno::Reference< beans::XPropertyState > xPointState( this->getPropertiesOfPoint(index), uno::UNO_QUERY_THROW ); return (xPointState->getPropertyState( C2U("Color")) != beans::PropertyState_DEFAULT_VALUE ); } - catch( uno::Exception& e) + catch(const uno::Exception& e) { ASSERT_EXCEPTION( e ); } @@ -888,7 +888,7 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH if( !(xProp->getPropertyValue( C2U( "Label" ) ) >>= *apLabel) ) apLabel.reset(); } - catch( uno::Exception &e) + catch(const uno::Exception &e) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index b90568331494..4311619b1685 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -206,7 +206,7 @@ awt::Size lcl_createTextShapes( rOutTextShapes.push_back( xEntry ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -788,7 +788,7 @@ bool lcl_shouldSymbolsBePlacedOnTheLeftSide( const Reference< beans::XPropertySe } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -839,7 +839,7 @@ bool VLegend::isVisible( const Reference< XLegend > & xLegend ) Reference< beans::XPropertySet > xLegendProp( xLegend, uno::UNO_QUERY_THROW ); xLegendProp->getPropertyValue( C2U( "Show" )) >>= bShow; } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -963,7 +963,7 @@ void VLegend::createShapes( xBorder->setSize( aLegendSize ); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -1017,7 +1017,7 @@ void VLegend::changePosition( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx index 85433f59ca93..31b2cbc3146e 100644 --- a/chart2/source/view/main/VLegendSymbolFactory.cxx +++ b/chart2/source/view/main/VLegendSymbolFactory.cxx @@ -200,7 +200,7 @@ Reference< drawing::XShape > VLegendSymbolFactory::createSymbol( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } diff --git a/chart2/source/view/main/VLineProperties.cxx b/chart2/source/view/main/VLineProperties.cxx index 188c6fcbbf99..77e7f0361ab1 100644 --- a/chart2/source/view/main/VLineProperties.cxx +++ b/chart2/source/view/main/VLineProperties.cxx @@ -63,7 +63,7 @@ void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropert this->Width = xProp->getPropertyValue( C2U( "BorderWidth" ) ); this->DashName = xProp->getPropertyValue( C2U( "BorderDashName" ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -75,7 +75,7 @@ void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropert this->Width = xProp->getPropertyValue( C2U( "LineWidth" ) ); this->DashName = xProp->getPropertyValue( C2U( "LineDashName" ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } diff --git a/chart2/source/view/main/VTitle.cxx b/chart2/source/view/main/VTitle.cxx index 997a16232bc8..62e24407cc73 100644 --- a/chart2/source/view/main/VTitle.cxx +++ b/chart2/source/view/main/VTitle.cxx @@ -112,7 +112,7 @@ void VTitle::changePosition( const awt::Point& rPos ) aM.translate( m_nXPos, m_nYPos); xShapeProp->setPropertyValue( C2U( "Transformation" ), uno::makeAny( B2DHomMatrixToHomogenMatrix3(aM) ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -184,7 +184,7 @@ void VTitle::createShapes( { xTitleProperties->getPropertyValue( C2U( "StackCharacters" ) ) >>= bStackCharacters; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -265,7 +265,7 @@ void VTitle::createShapes( xTitleProperties->getPropertyValue( C2U( "TextRotation" ) ) >>= fAngleDegree; m_fRotationAngleDegree += fAngleDegree; } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -279,7 +279,7 @@ void VTitle::createShapes( aM.translate( m_nXPos, m_nYPos ); xShapeProp->setPropertyValue( C2U( "Transformation" ), uno::makeAny( B2DHomMatrixToHomogenMatrix3(aM) ) ); } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } |