From 9146658c0108120c91ce6f759e37b9fa64e47660 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 31 Aug 2020 16:15:17 +0200 Subject: Fix typo in code It passed "make check" on Linux Change-Id: I8336c2a639a1d45c8370fd13204896f3f1494b4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101801 Tested-by: Jenkins Reviewed-by: Julien Nabet --- chart2/source/tools/AxisHelper.cxx | 8 ++++---- chart2/source/view/main/VButton.cxx | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'chart2') diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 735f00a430c7..a68fbc8dfa5e 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -689,14 +689,14 @@ bool AxisHelper::areAxisLabelsVisible( const Reference< beans::XPropertySet >& x return bRet; } -bool AxisHelper::isGridVisible( const Reference< beans::XPropertySet >& xGridProperies ) +bool AxisHelper::isGridVisible( const Reference< beans::XPropertySet >& xGridproperties ) { bool bRet = false; - if( xGridProperies.is() ) + if( xGridproperties.is() ) { - xGridProperies->getPropertyValue( "Show" ) >>= bRet; - bRet = bRet && LinePropertiesHelper::IsLineVisible( xGridProperies ); + xGridproperties->getPropertyValue( "Show" ) >>= bRet; + bRet = bRet && LinePropertiesHelper::IsLineVisible( xGridproperties ); } return bRet; diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx index 088df5850416..5e609348b914 100644 --- a/chart2/source/view/main/VButton.cxx +++ b/chart2/source/view/main/VButton.cxx @@ -51,7 +51,7 @@ uno::Reference VButton::createTriangle(awt::Size aSize) if (!xShape.is()) return xShape; - uno::Reference xProperies(xShape, uno::UNO_QUERY); + uno::Reference xproperties(xShape, uno::UNO_QUERY); drawing::PolyPolygonShape3D aPolyPolygon; aPolyPolygon.SequenceX.realloc(1); @@ -82,10 +82,10 @@ uno::Reference VButton::createTriangle(awt::Size aSize) pInnerSequenceY[2] = 0.0; pInnerSequenceZ[2] = 0.0; - xProperies->setPropertyValue("Name", uno::makeAny(m_sCID)); - xProperies->setPropertyValue(UNO_NAME_POLYPOLYGON, uno::Any(PolyToPointSequence(aPolyPolygon))); - xProperies->setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE)); - xProperies->setPropertyValue("FillColor", uno::makeAny(m_nArrowColor)); + xproperties->setPropertyValue("Name", uno::makeAny(m_sCID)); + xproperties->setPropertyValue(UNO_NAME_POLYPOLYGON, uno::Any(PolyToPointSequence(aPolyPolygon))); + xproperties->setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE)); + xproperties->setPropertyValue("FillColor", uno::makeAny(m_nArrowColor)); return xShape; } -- cgit