Kaydet (Commit) 682b6743 authored tarafından Caolán McNamara's avatar Caolán McNamara

stray debug code

Change-Id: Idc779be7522d7b3875be73aad2e703fc87d8c9bf
üst 5ea92728
...@@ -322,28 +322,24 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs) ...@@ -322,28 +322,24 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs)
if( m_xMtrFldLeft->get_value_changed_from_saved() ) if( m_xMtrFldLeft->get_value_changed_from_saved() )
{ {
fprintf(stderr, "a one\n");
nValue = GetCoreValue( *m_xMtrFldLeft, eUnit ); nValue = GetCoreValue( *m_xMtrFldLeft, eUnit );
rAttrs->Put( makeSdrTextLeftDistItem( nValue ) ); rAttrs->Put( makeSdrTextLeftDistItem( nValue ) );
} }
if( m_xMtrFldRight->get_value_changed_from_saved() ) if( m_xMtrFldRight->get_value_changed_from_saved() )
{ {
fprintf(stderr, "b one\n");
nValue = GetCoreValue( *m_xMtrFldRight, eUnit ); nValue = GetCoreValue( *m_xMtrFldRight, eUnit );
rAttrs->Put( makeSdrTextRightDistItem( nValue ) ); rAttrs->Put( makeSdrTextRightDistItem( nValue ) );
} }
if( m_xMtrFldTop->get_value_changed_from_saved() ) if( m_xMtrFldTop->get_value_changed_from_saved() )
{ {
fprintf(stderr, "c one\n");
nValue = GetCoreValue( *m_xMtrFldTop, eUnit ); nValue = GetCoreValue( *m_xMtrFldTop, eUnit );
rAttrs->Put( makeSdrTextUpperDistItem( nValue ) ); rAttrs->Put( makeSdrTextUpperDistItem( nValue ) );
} }
if( m_xMtrFldBottom->get_value_changed_from_saved() ) if( m_xMtrFldBottom->get_value_changed_from_saved() )
{ {
fprintf(stderr, "d one\n");
nValue = GetCoreValue( *m_xMtrFldBottom, eUnit ); nValue = GetCoreValue( *m_xMtrFldBottom, eUnit );
rAttrs->Put( makeSdrTextLowerDistItem( nValue ) ); rAttrs->Put( makeSdrTextLowerDistItem( nValue ) );
} }
...@@ -351,28 +347,24 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs) ...@@ -351,28 +347,24 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs)
eState = m_xTsbAutoGrowHeight->get_state(); eState = m_xTsbAutoGrowHeight->get_state();
if( m_xTsbAutoGrowHeight->get_state_changed_from_saved() ) if( m_xTsbAutoGrowHeight->get_state_changed_from_saved() )
{ {
fprintf(stderr, "one %d\n", TRISTATE_TRUE == eState);
rAttrs->Put( makeSdrTextAutoGrowHeightItem( TRISTATE_TRUE == eState ) ); rAttrs->Put( makeSdrTextAutoGrowHeightItem( TRISTATE_TRUE == eState ) );
} }
eState = m_xTsbAutoGrowWidth->get_state(); eState = m_xTsbAutoGrowWidth->get_state();
if( m_xTsbAutoGrowWidth->get_state_changed_from_saved() ) if( m_xTsbAutoGrowWidth->get_state_changed_from_saved() )
{ {
fprintf(stderr, "e one\n");
rAttrs->Put( makeSdrTextAutoGrowWidthItem( TRISTATE_TRUE == eState ) ); rAttrs->Put( makeSdrTextAutoGrowWidthItem( TRISTATE_TRUE == eState ) );
} }
eState = m_xTsbAutoGrowSize->get_state(); eState = m_xTsbAutoGrowSize->get_state();
if( m_xTsbAutoGrowSize->get_state_changed_from_saved() ) if( m_xTsbAutoGrowSize->get_state_changed_from_saved() )
{ {
fprintf(stderr, "two %d\n", TRISTATE_TRUE == eState);
rAttrs->Put( makeSdrTextAutoGrowHeightItem( TRISTATE_TRUE == eState ) ); rAttrs->Put( makeSdrTextAutoGrowHeightItem( TRISTATE_TRUE == eState ) );
} }
eState = m_xTsbWordWrapText->get_state(); eState = m_xTsbWordWrapText->get_state();
if( m_xTsbWordWrapText->get_state_changed_from_saved() ) if( m_xTsbWordWrapText->get_state_changed_from_saved() )
{ {
fprintf(stderr, "f one\n");
rAttrs->Put( makeSdrTextWordWrapItem( TRISTATE_TRUE == eState ) ); rAttrs->Put( makeSdrTextWordWrapItem( TRISTATE_TRUE == eState ) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment