[Libreoffice-commits] core.git: cui/source

Julien Nabet serval2412 at yahoo.fr
Mon Aug 3 00:14:12 PDT 2015


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

New commits:
commit 4a847bb4a2002d7f8f5854b7276ac67d369bdd3b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Aug 2 21:20:48 2015 +0200

    tdf#93079:  "resize shape to fit text" state can't be disabled
    
    Wrong copy-paste
    
    Change-Id: I7460c095c7bbb340be2cab32c4724688076c5952
    Reviewed-on: https://gerrit.libreoffice.org/17477
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>

diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 362001b..af1ac29 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -384,7 +384,7 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs)
     eState = m_pTsbAutoGrowSize->GetState();
     if( m_pTsbAutoGrowSize->IsValueChangedFromSaved() )
     {
-        rAttrs->Put( makeSdrTextAutoGrowHeightItem( TRISTATE_TRUE == eState ) );
+        rAttrs->Put( makeSdrTextAutoGrowSizeItem ( TRISTATE_TRUE == eState ) );
     }
 
     eState = m_pTsbWordWrapText->GetState();


More information about the Libreoffice-commits mailing list