[Libreoffice-commits] core.git: include/svtools

Takeshi Abe tabe at fixedpoint.jp
Sun Dec 17 19:13:04 UTC 2017


 include/svtools/grfmgr.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d9c8376fccfa133a23c0af8dd50564388d288892
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sun Dec 17 23:26:14 2017 +0900

    svtools: Delete copy ctor in a standard way
    
    Change-Id: I3d44c7b0ff16897b49f3f3e5a7026dcd1be1301f
    Reviewed-on: https://gerrit.libreoffice.org/46645
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 772d8a823eb7..f5208d7f04f5 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -498,8 +498,8 @@ private:
     sal_uLong               mnUsedSize; // currently used memory footprint of all swapped in graphics
     GraphicCache*           mpCache;
 
-                        GraphicManager( const GraphicManager& ) {}
-    GraphicManager&     operator=( const GraphicManager& ) { return *this; }
+                        GraphicManager( const GraphicManager& ) = delete;
+    GraphicManager&     operator=( const GraphicManager& ) = delete;
 
     bool SVT_DLLPRIVATE ImplDraw(
                             OutputDevice* pOut,


More information about the Libreoffice-commits mailing list