summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VCoordinateSystem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/axes/VCoordinateSystem.cxx')
-rw-r--r--chart2/source/view/axes/VCoordinateSystem.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/view/axes/VCoordinateSystem.cxx b/chart2/source/view/axes/VCoordinateSystem.cxx
index 7e75acd55933..5a654f58ff4c 100644
--- a/chart2/source/view/axes/VCoordinateSystem.cxx
+++ b/chart2/source/view/axes/VCoordinateSystem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -180,7 +180,7 @@ uno::Sequence< sal_Int32 > VCoordinateSystem::getCoordinateSystemResolution(
for( nN = 0 ;nN<aResolution.getLength(); nN++ )
aResolution[nN]=1000;
- ::basegfx::B3DTuple aScale( BaseGFXHelper::GetScaleFromMatrix(
+ ::basegfx::B3DTuple aScale( BaseGFXHelper::GetScaleFromMatrix(
BaseGFXHelper::HomogenMatrixToB3DHomMatrix(
m_aMatrixSceneToScreen ) ) );
@@ -198,10 +198,10 @@ uno::Sequence< sal_Int32 > VCoordinateSystem::getCoordinateSystemResolution(
nXResolution = 10;
if( nYResolution < 10 )
nYResolution = 10;
-
+
if( this->getPropertySwapXAndYAxis() )
std::swap(nXResolution,nYResolution);
-
+
//2D
if( 2 == aResolution.getLength() )
{
@@ -216,7 +216,7 @@ uno::Sequence< sal_Int32 > VCoordinateSystem::getCoordinateSystemResolution(
for( nN = 0 ;nN<aResolution.getLength(); nN++ )
aResolution[nN]=nMaxResolution;
}
-
+
return aResolution;
}
@@ -278,7 +278,7 @@ Sequence< ExplicitScaleData > VCoordinateSystem::getExplicitScales( sal_Int32 nD
impl_adjustDimensionAndIndex( nDimensionIndex, nAxisIndex );
aRet[nDimensionIndex]=this->getExplicitScale( nDimensionIndex, nAxisIndex );
-
+
return aRet;
}
@@ -297,7 +297,7 @@ ExplicitScaleData VCoordinateSystem::getExplicitScale( sal_Int32 nDimensionIndex
ExplicitScaleData aRet;
impl_adjustDimensionAndIndex( nDimensionIndex, nAxisIndex );
-
+
if( nAxisIndex == 0)
{
aRet = m_aExplicitScales[nDimensionIndex];
@@ -432,7 +432,7 @@ VAxisBase* VCoordinateSystem::getVAxis( sal_Int32 nDimensionIndex, sal_Int32 nAx
tVAxisMap::const_iterator aIt = m_aAxisMap.find( aFullAxisIndex );
if( aIt != m_aAxisMap.end() )
pRet = aIt->second.get();
-
+
return pRet;
}
@@ -539,7 +539,7 @@ void VCoordinateSystem::createAxesShapes()
m_aExplicitScales[0].Origin );
}
}
-
+
pVAxis->createShapes();
}
}