diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-02 07:46:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-03 17:12:00 +0100 |
commit | 781c4402f1a8c64f87bc81e866bc444b9ed97948 (patch) | |
tree | d4429a5cb82a81013732903b57e9a7ebbacc9e4f /vcl | |
parent | 48101a1a0d574db3db1f99c782bd67e885b232bb (diff) |
make some classes module-private
improve the script, but it still generates some false positives
Change-Id: If8ee1cba8c04ac0be11f73220149e6de15f24f44
Reviewed-on: https://gerrit.libreoffice.org/81929
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/bitmap/Octree.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/impfontcharmap.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/opengl/program.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/sallayout.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/unx/freetype_glyphcache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/glyphcache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkprn.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/saldisp.hxx | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/vcl/inc/bitmap/Octree.hxx b/vcl/inc/bitmap/Octree.hxx index 86a911fa4adf..59246ae5053d 100644 --- a/vcl/inc/bitmap/Octree.hxx +++ b/vcl/inc/bitmap/Octree.hxx @@ -63,13 +63,13 @@ public: sal_uInt16 GetBestPaletteIndex(const BitmapColor& rColor); }; -class VCL_PLUGIN_PUBLIC InverseColorMap +class InverseColorMap { private: std::vector<sal_uInt8> mpBuffer; std::vector<sal_uInt8> mpMap; - SAL_DLLPRIVATE void ImplCreateBuffers(); + void ImplCreateBuffers(); public: explicit InverseColorMap(const BitmapPalette& rPal); diff --git a/vcl/inc/impfontcharmap.hxx b/vcl/inc/impfontcharmap.hxx index 2d3c5ac16c89..297cd5fa359a 100644 --- a/vcl/inc/impfontcharmap.hxx +++ b/vcl/inc/impfontcharmap.hxx @@ -28,7 +28,7 @@ typedef tools::SvRef<ImplFontCharMap> ImplFontCharMapRef; class CmapResult; -class VCL_PLUGIN_PUBLIC ImplFontCharMap : public SvRefBase +class ImplFontCharMap : public SvRefBase { public: explicit ImplFontCharMap( const CmapResult& ); diff --git a/vcl/inc/opengl/program.hxx b/vcl/inc/opengl/program.hxx index cc1e28190916..bff248d9bfab 100644 --- a/vcl/inc/opengl/program.hxx +++ b/vcl/inc/opengl/program.hxx @@ -39,7 +39,7 @@ enum class DrawShaderType Line }; -class VCL_PLUGIN_PUBLIC OpenGLProgram +class OpenGLProgram { private: GLuint mnId; diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 06300760f60e..be66bafd87e3 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -50,7 +50,7 @@ namespace vcl { } // used for managing runs e.g. for BiDi, glyph and script fallback -class VCL_PLUGIN_PUBLIC ImplLayoutRuns +class ImplLayoutRuns { private: int mnRunIndex; @@ -122,7 +122,7 @@ private: // For nice SAL_INFO logging of ImplLayoutArgs values std::ostream &operator <<(std::ostream& s, ImplLayoutArgs const &rArgs); -class VCL_PLUGIN_PUBLIC MultiSalLayout final : public SalLayout +class MultiSalLayout final : public SalLayout { public: void DrawText(SalGraphics&) const override; diff --git a/vcl/inc/unx/freetype_glyphcache.hxx b/vcl/inc/unx/freetype_glyphcache.hxx index 17084fcf5a75..f000264ac3dd 100644 --- a/vcl/inc/unx/freetype_glyphcache.hxx +++ b/vcl/inc/unx/freetype_glyphcache.hxx @@ -102,7 +102,7 @@ public: }; // a class for cache entries for physical font instances that are based on serverfonts -class VCL_DLLPUBLIC FreetypeFontInstance : public LogicalFontInstance +class FreetypeFontInstance : public LogicalFontInstance { friend rtl::Reference<LogicalFontInstance> FreetypeFontFace::CreateFontInstance(const FontSelectPattern&) const; diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx index ccb25cab87e2..b9398ad57d0f 100644 --- a/vcl/inc/unx/glyphcache.hxx +++ b/vcl/inc/unx/glyphcache.hxx @@ -88,7 +88,7 @@ private: sal_IntPtr m_nMaxFontId; }; -class VCL_DLLPUBLIC FreetypeFont final +class FreetypeFont final { public: FreetypeFont(LogicalFontInstance* pFontInstance, FreetypeFontInfo*); diff --git a/vcl/inc/unx/gtk/gtkprn.hxx b/vcl/inc/unx/gtk/gtkprn.hxx index e33d3f606b10..c958e0c69bb2 100644 --- a/vcl/inc/unx/gtk/gtkprn.hxx +++ b/vcl/inc/unx/gtk/gtkprn.hxx @@ -40,7 +40,7 @@ private: std::unique_ptr<GtkSalPrinter_Impl> m_xImpl; }; -class VCL_DLLPUBLIC GtkSalInfoPrinter : public PspSalInfoPrinter +class GtkSalInfoPrinter : public PspSalInfoPrinter { public: sal_uInt32 GetCapabilities(const ImplJobSetup* i_pSetupData, PrinterCapType i_nType) override; diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 8f4bceba0fc8..56006781f8f8 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -208,7 +208,7 @@ extern "C" { typedef Bool(*X_if_predicate)(Display*,XEvent*,XPointer); } -class VCLPLUG_GEN_PUBLIC GLX11Window : public GLWindow +class GLX11Window : public GLWindow { public: Display* dpy; |