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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 3 19:02:52 UTC 2018


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

New commits:
commit f6390539a271e287a96419a8d13d16800aa756b0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 3 14:46:29 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Oct 3 21:02:27 2018 +0200

    use ScopedVclPtr here
    
    Change-Id: I5780dfbb751ad24d815ac6526b26d633768b6030
    Reviewed-on: https://gerrit.libreoffice.org/61302
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx
index 25ecd6d886d8..bc2dcf0844a5 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;
     std::unique_ptr<const SubsetMap> pSubsetMap;
     bool                isSearchMode;


More information about the Libreoffice-commits mailing list