diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-04-09 23:38:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-04-13 07:32:48 +0000 |
commit | b2bae9b940fc34d2eecd7839e3cba1f41d111e87 (patch) | |
tree | 7b4cebea9e35e787025882e31ad3fba0aacfe38b | |
parent | 79d19a739c80c686e9ebfadb5f65eb1ff53dce65 (diff) |
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 <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
-rw-r--r-- | cui/source/tabpages/textattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index eae53cb16219..ce9c8928a78c 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 ); } |