summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-30 02:33:02 +0200
committerKohei Yoshida <libreoffice@kohei.us>2014-05-05 20:03:16 +0000
commit22d18dfa05e159c7f298e5eb49d8c89356cc5efb (patch)
treedcaa7b94178b743dd4fcde6fba832a705de70440
parent8ff260e47873674ca03a334f6b3198d66dc68db7 (diff)
be explicit about text rotations, fdo#70670
Change-Id: I5090a49c2383e6a30165a8eca22b527972c0f507 Reviewed-on: https://gerrit.libreoffice.org/9231 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r--chart2/source/controller/chartapiwrapper/TitleWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index 9ca382f98f1b..f15196e64319 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -502,7 +502,7 @@ const std::vector< WrappedProperty* > TitleWrapper::createWrappedProperties()
::std::vector< ::chart::WrappedProperty* > aWrappedProperties;
aWrappedProperties.push_back( new WrappedTitleStringProperty( m_spChart2ModelContact->m_xContext ) );
- aWrappedProperties.push_back( new WrappedTextRotationProperty( m_eTitleType==TitleHelper::Y_AXIS_TITLE || m_eTitleType==TitleHelper::X_AXIS_TITLE ) );
+ aWrappedProperties.push_back( new WrappedTextRotationProperty( true ) );
aWrappedProperties.push_back( new WrappedStackedTextProperty() );
WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, this );
WrappedAutomaticPositionProperties::addWrappedProperties( aWrappedProperties );