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:40:22 +0200 |
commit | 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7 (patch) | |
tree | 1979b22faf086895588d5c7a03ad92c52f55e263 /cui | |
parent | 66854d697f973f36e1b878080999901e0936dae6 (diff) |
Fix accidental mis-uses of VclPtr address-of operator
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/dlgname.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx index 60849f150659..b16f85284b35 100644 --- a/cui/source/dialogs/dlgname.cxx +++ b/cui/source/dialogs/dlgname.cxx @@ -41,7 +41,7 @@ SvxNameDialog::SvxNameDialog( vcl::Window* pWindow, const OUString& rName, const pFtDescription->SetText( rDesc ); pEdtName->SetText( rName ); pEdtName->SetSelection(Selection(SELECTION_MIN, SELECTION_MAX)); - ModifyHdl(&pEdtName); + ModifyHdl(pEdtName.get()); pEdtName->SetModifyHdl(LINK(this, SvxNameDialog, ModifyHdl)); } @@ -82,7 +82,7 @@ SvxObjectNameDialog::SvxObjectNameDialog( // activate name pEdtName->SetSelection(Selection(SELECTION_MIN, SELECTION_MAX)); - ModifyHdl(&pEdtName); + ModifyHdl(pEdtName.get()); pEdtName->SetModifyHdl(LINK(this, SvxObjectNameDialog, ModifyHdl)); } |