summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-04-09 23:38:47 +0200
committerDavid Tardon <dtardon@redhat.com>2015-04-13 07:32:48 +0000
commitb2bae9b940fc34d2eecd7839e3cba1f41d111e87 (patch)
tree7b4cebea9e35e787025882e31ad3fba0aacfe38b
parent79d19a739c80c686e9ebfadb5f65eb1ff53dce65 (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.cxx2
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 );
}