summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
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;
}