summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-30 02:33:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-01 02:31:58 +0200
commite0dcb2260e75935fcebd0774ea51568666874e95 (patch)
tree35e0a6d7dccbec50139ab69295cf085ebffe5ad2
parent046f71a2151b247181685471a20f8e90d95085f1 (diff)
be explicit about text rotations, fdo#70670
Change-Id: I5090a49c2383e6a30165a8eca22b527972c0f507
-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 0599503f9229..bed03503ebee 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 );