[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 09:26:56 UTC 2018


 cui/source/inc/cuicharmap.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4ca51f7f34c820873fe423c132d97cabf846f59e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 3 14:46:29 2018 +0100
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Wed Oct 31 10:26:30 2018 +0100

    use ScopedVclPtr here
    
    Change-Id: I5780dfbb751ad24d815ac6526b26d633768b6030
    Reviewed-on: https://gerrit.libreoffice.org/61305
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx
index 9e926f20484b..70a98593b5e2 100644
--- a/cui/source/inc/cuicharmap.hxx
+++ b/cui/source/inc/cuicharmap.hxx
@@ -45,7 +45,7 @@ namespace svx
 class SvxShowText : public weld::CustomWidgetController
 {
 private:
-    VclPtr<VirtualDevice> m_xVirDev;
+    ScopedVclPtr<VirtualDevice> m_xVirDev;
     OUString m_sText;
     long mnY;
     bool mbCenter;
@@ -74,7 +74,7 @@ private:
 
     void            init();
 
-    VclPtr<VirtualDevice> m_xVirDev;
+    ScopedVclPtr<VirtualDevice> m_xVirDev;
     vcl::Font           aFont;
     const SubsetMap*    pSubsetMap;
     bool                isSearchMode;


More information about the Libreoffice-commits mailing list