summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-27 11:40:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-27 11:40:22 +0200
commit668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7 (patch)
tree1979b22faf086895588d5c7a03ad92c52f55e263 /svx
parent66854d697f973f36e1b878080999901e0936dae6 (diff)
Fix accidental mis-uses of VclPtr address-of operator
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingControl.cxx2
-rw-r--r--svx/source/sidebar/text/TextUnderlineControl.cxx2
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 )