summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-08-02 21:20:48 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-08-03 07:13:52 +0000
commit4a847bb4a2002d7f8f5854b7276ac67d369bdd3b (patch)
treeb751f399e0f88d5d54ad34d7d483baf5b2d58e64
parent37ec6cbeebc5dc9bf642eedcf45f0441edd3d610 (diff)
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@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
-rw-r--r--cui/source/tabpages/textattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 362001bd62d5..af1ac29d54b8 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();