diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 13:16:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 14:24:11 +0100 |
commit | 089620728299ab1688edaf066e9f9790d67449aa (patch) | |
tree | ad6f09018d00118fd046ea154d3217369a3c7af4 /vcl | |
parent | 7a31ae209304730e06e1f33333ebc81e7c7b5de9 (diff) |
cppcheck: noCopyConstructor
Change-Id: Id5323cb6f52666f85965e11b07e4f2bca8af4e78
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 6 | ||||
-rw-r--r-- | vcl/headless/svpglyphcache.cxx | 4 | ||||
-rw-r--r-- | vcl/opengl/FixedTextureAtlas.cxx | 4 | ||||
-rw-r--r-- | vcl/source/filter/igif/decode.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/impvect.cxx | 3 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/gcach_xpeer.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 3 |
8 files changed, 29 insertions, 0 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index af454a9f0ba4..e3218f649606 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -136,6 +136,9 @@ namespace private: SvpSalBitmap aTmpBmp; cairo_surface_t* source; + + SourceHelper(const SourceHelper&) = delete; + SourceHelper& operator=(const SourceHelper&) = delete; }; class MaskHelper @@ -196,6 +199,9 @@ namespace private: cairo_surface_t *mask; unsigned char* pAlphaBits; + + MaskHelper(const MaskHelper&) = delete; + MaskHelper& operator=(const MaskHelper&) = delete; }; } diff --git a/vcl/headless/svpglyphcache.cxx b/vcl/headless/svpglyphcache.cxx index f1af1e6a62c0..087fb7c4864b 100644 --- a/vcl/headless/svpglyphcache.cxx +++ b/vcl/headless/svpglyphcache.cxx @@ -34,6 +34,10 @@ namespace { private: GlyphCache* m_pSvpGlyphCache; + + GlyphCacheHolder(const GlyphCacheHolder&) = delete; + GlyphCacheHolder& operator=(const GlyphCacheHolder&) = delete; + public: GlyphCacheHolder() { diff --git a/vcl/opengl/FixedTextureAtlas.cxx b/vcl/opengl/FixedTextureAtlas.cxx index 7a980c9251e4..963818c17847 100644 --- a/vcl/opengl/FixedTextureAtlas.cxx +++ b/vcl/opengl/FixedTextureAtlas.cxx @@ -69,6 +69,10 @@ struct FixedTexture } return -1; } + +private: + FixedTexture(const FixedTexture&) = delete; + FixedTexture& operator=(const FixedTexture&) = delete; }; FixedTextureAtlasManager::FixedTextureAtlasManager(int nWidthFactor, int nHeightFactor, int nSubTextureSize) diff --git a/vcl/source/filter/igif/decode.hxx b/vcl/source/filter/igif/decode.hxx index d4a99a71d240..0983958ef679 100644 --- a/vcl/source/filter/igif/decode.hxx +++ b/vcl/source/filter/igif/decode.hxx @@ -46,6 +46,8 @@ class GIFLZWDecompressor bool AddToTable(sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData); bool ProcessOneCode(); + GIFLZWDecompressor(const GIFLZWDecompressor&) = delete; + GIFLZWDecompressor& operator=(const GIFLZWDecompressor&) = delete; public: explicit GIFLZWDecompressor( sal_uInt8 cDataSize ); diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx index d8edab2617de..b33ef2744ab0 100644 --- a/vcl/source/gdi/impvect.cxx +++ b/vcl/source/gdi/impvect.cxx @@ -274,6 +274,9 @@ private: void ImplPostProcess( const ImplPointArray& rArr ); + ImplChain(const ImplChain&) = delete; + ImplChain& operator=(const ImplChain&) = delete; + public: ImplChain(); diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index f203f4e5f5f4..4937e5957e3b 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -106,6 +106,9 @@ private: bool mbResizeMode; bool mbShowDragRect; + ImplTBDragMgr(const ImplTBDragMgr&) = delete; + ImplTBDragMgr& operator=(const ImplTBDragMgr&) = delete; + public: ImplTBDragMgr(); ~ImplTBDragMgr(); diff --git a/vcl/unx/generic/gdi/gcach_xpeer.cxx b/vcl/unx/generic/gdi/gcach_xpeer.cxx index d98fe3fb2af9..c74498e3d00d 100644 --- a/vcl/unx/generic/gdi/gcach_xpeer.cxx +++ b/vcl/unx/generic/gdi/gcach_xpeer.cxx @@ -63,6 +63,10 @@ namespace { private: X11GlyphCache* m_pX11GlyphCache; + + GlyphCacheHolder(const GlyphCacheHolder&) = delete; + GlyphCacheHolder& operator=(const GlyphCacheHolder&) = delete; + public: GlyphCacheHolder() { diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index 2f26cceb13ea..79744b2353df 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -1098,6 +1098,9 @@ private: sal_uInt16 mnPoints; sal_uInt16 mnPoly; bool bHasOffline; + + PolyArgs(const PolyArgs&) = delete; + PolyArgs& operator=(const PolyArgs&) = delete; }; PolyArgs::PolyArgs( tools::PolyPolygon& rPolyPoly, sal_uInt16 nMaxPoints ) |