summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 16:15:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 16:59:29 +0200
commit9146658c0108120c91ce6f759e37b9fa64e47660 (patch)
tree0796f8f35488c92f340f7d0ccdbf459a9a20e3eb /chart2
parent59fee59094a9bf9e4bcd729139f9a43ccea3d35c (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/AxisHelper.cxx8
-rw-r--r--chart2/source/view/main/VButton.cxx10
2 files changed, 9 insertions, 9 deletions
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<drawing::XShape> VButton::createTriangle(awt::Size aSize)
if (!xShape.is())
return xShape;
- uno::Reference<beans::XPropertySet> xProperies(xShape, uno::UNO_QUERY);
+ uno::Reference<beans::XPropertySet> xproperties(xShape, uno::UNO_QUERY);
drawing::PolyPolygonShape3D aPolyPolygon;
aPolyPolygon.SequenceX.realloc(1);
@@ -82,10 +82,10 @@ uno::Reference<drawing::XShape> 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;
}