summaryrefslogtreecommitdiff
path: root/chart2/source/tools/TitleHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-19 16:03:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 07:51:22 +0200
commit19f3b88c1ee2ab546a92c28f155f4d65e0c464df (patch)
treef12119740ba1d7245b51e03364a490575a8f830a /chart2/source/tools/TitleHelper.cxx
parent6ee9f2c188290ba8a8bc6d435f645b31a05783ea (diff)
loplugin:oncevar chart2
Change-Id: I2dd0939db440b5357225395e88680dd0b0fdbf43 Reviewed-on: https://gerrit.libreoffice.org/38970 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/TitleHelper.cxx')
-rw-r--r--chart2/source/tools/TitleHelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx
index e235c5a8e701..fc985293ea20 100644
--- a/chart2/source/tools/TitleHelper.cxx
+++ b/chart2/source/tools/TitleHelper.cxx
@@ -283,8 +283,7 @@ uno::Reference< XTitle > TitleHelper::createTitle(
|| (!bIsVertical && eTitleType == TitleHelper::SECONDARY_Y_AXIS_TITLE)
|| (bIsVertical && eTitleType == TitleHelper::SECONDARY_X_AXIS_TITLE) )
{
- double fNewAngleDegree = 90.0;
- xTitleProps->setPropertyValue( "TextRotation", uno::Any( fNewAngleDegree ));
+ xTitleProps->setPropertyValue( "TextRotation", uno::Any( 90.0 ));
}
}
}