[Libreoffice-commits] core.git: extensions/source

David Tardon dtardon at redhat.com
Sat Jun 13 01:41:44 PDT 2015


 extensions/source/update/ui/updatecheckui.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b4b1d502cb2f67c5e7e479036391e759df1ae0b
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jun 13 10:40:31 2015 +0200

    use VclPtr<>::Create
    
    Change-Id: I4b3abbd390e7b6cb449ccd7f0fb956266fd0b5c8

diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 88570c5..0f922ee 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -528,7 +528,7 @@ BubbleWindow * UpdateCheckUI::GetBubbleWindow()
     BubbleWindow* pBubbleWin = mpBubbleWin;
 
     if ( !pBubbleWin ) {
-        pBubbleWin = new BubbleWindow( mpIconSysWin, maBubbleTitle,
+        pBubbleWin = VclPtr<BubbleWindow>::Create( mpIconSysWin, maBubbleTitle,
                                        maBubbleText, maBubbleImage );
         mbBubbleChanged = false;
     }


More information about the Libreoffice-commits mailing list