diff options
author | Philippe Jung <phil.jung@free.fr> | 2015-05-26 16:26:35 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-28 08:44:31 +0000 |
commit | 1379e2feaad6344999358bbfb271edbaea66ce2a (patch) | |
tree | f2d15c298b21e8aa83ec4bbc025ca0561896906e /scripting | |
parent | sw: -Werror=shadow (diff) | |
download | core-1379e2feaad6344999358bbfb271edbaea66ce2a.tar.gz core-1379e2feaad6344999358bbfb271edbaea66ce2a.zip |
Rewrite all calls like Dialog(params).Execute()
Replace all calls looking like
ADialog(some params).Execute()
by
ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute()
Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639
Reviewed-on: https://gerrit.libreoffice.org/15915
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index 22fc503094a4..cedfc188e44c 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -646,7 +646,7 @@ namespace dlgprov aOUFinal += aQuoteChar; aOUFinal += aOURes.copy( nIndex + 2 ); - MessageDialog(NULL, aOUFinal).Execute(); + ScopedVclPtrInstance<MessageDialog>::Create(nullptr, aOUFinal)->Execute(); } } } |