summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-24 12:34:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:39 +0100
commit2f002e3a49da3fb797d564864acb34f6dc61f9de (patch)
tree5828accb6adfa4390d78c6cc5b9d2edd146cc61c /chart2
parent8eaf8158156935a0e5b7ed2d1bf56e9f759629de (diff)
having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 16709ef22df2..bfb89202cbbe 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -256,7 +256,7 @@ const short HITPIX=2; //hit-tolerance in pixel
, Fraction(nScaleXNumerator,nScaleXDenominator)
, Fraction(nScaleYNumerator,nScaleYDenominator) );
m_pChartWindow->SetMapMode(aNewMapMode);
- m_pChartWindow->SetPosSizePixel( X, Y, Width, Height, Flags );
+ m_pChartWindow->setPosSizePixel( X, Y, Width, Height, Flags );
//#i75867# poor quality of ole's alternative view with 3D scenes and zoomfactors besides 100%
uno::Reference< beans::XPropertySet > xProp( m_xChartView, uno::UNO_QUERY );
@@ -285,7 +285,7 @@ const short HITPIX=2; //hit-tolerance in pixel
{
//change visarea
ChartModelHelper::setPageSize( awt::Size( aLogicSize.Width(), aLogicSize.Height() ), getModel() );
- m_pChartWindow->SetPosSizePixel( X, Y, Width, Height, Flags );
+ m_pChartWindow->setPosSizePixel( X, Y, Width, Height, Flags );
}
m_pChartWindow->Invalidate();
}