diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-27 11:40:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-27 11:44:33 +0200 |
commit | c986e271adcc0a3d3feffade6f0191f1c155640f (patch) | |
tree | e9b44227a139817417bf70e5571f402e31eb074a /svx | |
parent | 3cd822d98d766a0528e94419874ff9c79c9feb6b (diff) |
Fix accidental mis-uses of VclPtr address-of operator
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb
(cherry picked from commit 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7, w/o the
accidentally included sw/htmlexport-swobjects.patch)
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 ) |