summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisProperties.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-30 11:44:23 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-30 12:54:40 +0000
commit97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch)
treea1a95b8249052d846a997ad1729758168d6a3b24 /chart2/source/view/axes/VAxisProperties.cxx
parentf8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff)
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'chart2/source/view/axes/VAxisProperties.cxx')
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index 86ec8f2ac6b9..2ebe0f10652d 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -259,11 +259,11 @@ void AxisProperties::initAxisPositioning( const uno::Reference< beans::XProperty
{
if( AxisHelper::isAxisPositioningEnabled() )
{
- xAxisProp->getPropertyValue(C2U( "CrossoverPosition" )) >>= m_eCrossoverType;
+ xAxisProp->getPropertyValue("CrossoverPosition") >>= m_eCrossoverType;
if( ::com::sun::star::chart::ChartAxisPosition_VALUE == m_eCrossoverType )
{
double fValue = 0.0;
- xAxisProp->getPropertyValue(C2U( "CrossoverValue" )) >>= fValue;
+ xAxisProp->getPropertyValue("CrossoverValue") >>= fValue;
if( m_bCrossingAxisIsCategoryAxes )
fValue = ::rtl::math::round(fValue);
@@ -272,8 +272,8 @@ void AxisProperties::initAxisPositioning( const uno::Reference< beans::XProperty
else if( ::com::sun::star::chart::ChartAxisPosition_ZERO == m_eCrossoverType )
m_pfMainLinePositionAtOtherAxis = new double(0.0);
- xAxisProp->getPropertyValue(C2U( "LabelPosition" )) >>= m_eLabelPos;
- xAxisProp->getPropertyValue(C2U( "MarkPosition" )) >>= m_eTickmarkPos;
+ xAxisProp->getPropertyValue("LabelPosition") >>= m_eLabelPos;
+ xAxisProp->getPropertyValue("MarkPosition") >>= m_eTickmarkPos;
}
else
{
@@ -350,11 +350,11 @@ void AxisProperties::init( bool bCartesian )
m_aLineProperties.initFromPropertySet( xProp );
//init display labels
- xProp->getPropertyValue( C2U( "DisplayLabels" ) ) >>= m_bDisplayLabels;
+ xProp->getPropertyValue( "DisplayLabels" ) >>= m_bDisplayLabels;
//init TickmarkProperties
- xProp->getPropertyValue( C2U( "MajorTickmarks" ) ) >>= m_nMajorTickmarks;
- xProp->getPropertyValue( C2U( "MinorTickmarks" ) ) >>= m_nMinorTickmarks;
+ xProp->getPropertyValue( "MajorTickmarks" ) >>= m_nMajorTickmarks;
+ xProp->getPropertyValue( "MinorTickmarks" ) >>= m_nMinorTickmarks;
sal_Int32 nMaxDepth = 0;
if(m_nMinorTickmarks!=0)
@@ -400,13 +400,13 @@ void AxisLabelProperties::init( const uno::Reference< XAxis >& xAxisModel )
{
try
{
- xProp->getPropertyValue( C2U( "TextBreak" ) ) >>= this->bLineBreakAllowed;
- xProp->getPropertyValue( C2U( "TextOverlap" ) ) >>= this->bOverlapAllowed;
- xProp->getPropertyValue( C2U( "StackCharacters" ) ) >>= this->bStackCharacters;
- xProp->getPropertyValue( C2U( "TextRotation" ) ) >>= this->fRotationAngleDegree;
+ xProp->getPropertyValue( "TextBreak" ) >>= this->bLineBreakAllowed;
+ xProp->getPropertyValue( "TextOverlap" ) >>= this->bOverlapAllowed;
+ xProp->getPropertyValue( "StackCharacters" ) >>= this->bStackCharacters;
+ xProp->getPropertyValue( "TextRotation" ) >>= this->fRotationAngleDegree;
::com::sun::star::chart::ChartAxisArrangeOrderType eArrangeOrder;
- xProp->getPropertyValue( C2U( "ArrangeOrder" ) ) >>= eArrangeOrder;
+ xProp->getPropertyValue( "ArrangeOrder" ) >>= eArrangeOrder;
switch(eArrangeOrder)
{
case ::com::sun::star::chart::ChartAxisArrangeOrderType_SIDE_BY_SIDE: