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>
This commit is contained in:
Julien Nabet
2015-04-09 23:38:47 +02:00
committed by David Tardon
parent 79d19a739c
commit b2bae9b940

View File

@@ -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 );
}