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:
committed by
David Tardon
parent
79d19a739c
commit
b2bae9b940
@@ -191,7 +191,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet* rAttrs )
|
|||||||
// autogrowsize
|
// autogrowsize
|
||||||
if ( rAttrs->GetItemState( SDRATTR_TEXT_AUTOGROWSIZE ) != SfxItemState::DONTCARE )
|
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 );
|
GetValue() ? TRISTATE_TRUE : TRISTATE_FALSE );
|
||||||
m_pTsbAutoGrowSize->EnableTriState( false );
|
m_pTsbAutoGrowSize->EnableTriState( false );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user