diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/text/TextCharacterSpacingControl.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/text/TextUnderlineControl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx index 45137f2fd24e..70acce26f4af 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx +++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx @@ -308,7 +308,7 @@ IMPL_LINK(TextCharacterSpacingControl, VSSelHdl, void *, pControl) { mnLastCus = SPACING_CLOSE_BY_CLICK_ICON; - if(pControl == &maVSSpacing) + if(pControl == maVSSpacing.get()) { sal_uInt16 iPos = maVSSpacing->GetSelectItemId(); short nKern = 0; diff --git a/svx/source/sidebar/text/TextUnderlineControl.cxx b/svx/source/sidebar/text/TextUnderlineControl.cxx index 690578bf71e4..b861debfb198 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.cxx +++ b/svx/source/sidebar/text/TextUnderlineControl.cxx @@ -214,7 +214,7 @@ void TextUnderlineControl::Rearrange(FontUnderline eLine) IMPL_LINK(TextUnderlineControl, VSSelectHdl, void *, pControl) { - if ( pControl == &maVSUnderline ) + if ( pControl == maVSUnderline.get() ) { const sal_uInt16 iPos = maVSUnderline->GetSelectItemId(); const FontUnderline eUnderline = ( iPos == 0 ) |