cui/source/tabpages/textattr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2bae9b940fc34d2eecd7839e3cba1f41d111e87
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Thu Apr 9 23:38:47 2015 +0200

    Related tdf#34467: Fit to Frame for text boxes is broken
    
    Wrong Copy-paste
    
    Change-Id: Ice000b072a39efc3adc9133b8599c43a93559862
    Reviewed-on: https://gerrit.libreoffice.org/15224
    Tested-by: David Tardon <dtar...@redhat.com>
    Reviewed-by: David Tardon <dtar...@redhat.com>

diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index eae53cb..ce9c892 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -191,7 +191,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet* rAttrs )
     // autogrowsize
     if ( rAttrs->GetItemState( SDRATTR_TEXT_AUTOGROWSIZE ) != 
SfxItemState::DONTCARE )
     {
-        m_pTsbAutoGrowSize->SetState( static_cast<const SdrOnOffItem&>( 
rAttrs->Get( SDRATTR_TEXT_AUTOGROWHEIGHT ) ).
+        m_pTsbAutoGrowSize->SetState( static_cast<const SdrOnOffItem&>( 
rAttrs->Get( SDRATTR_TEXT_AUTOGROWSIZE ) ).
                         GetValue() ? TRISTATE_TRUE : TRISTATE_FALSE );
         m_pTsbAutoGrowSize->EnableTriState( false );
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to