[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon May 5 13:03:45 PDT 2014


 chart2/source/controller/chartapiwrapper/TitleWrapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22d18dfa05e159c7f298e5eb49d8c89356cc5efb
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Apr 30 02:33:02 2014 +0200

    be explicit about text rotations, fdo#70670
    
    Change-Id: I5090a49c2383e6a30165a8eca22b527972c0f507
    Reviewed-on: https://gerrit.libreoffice.org/9231
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index 9ca382f..f15196e 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 );


More information about the Libreoffice-commits mailing list