diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-10 13:49:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-11 06:15:21 +0000 |
commit | 5c84f40ea2e86bf85c0a59201faf1431f16aee40 (patch) | |
tree | 43a8b61f71052b4e3202f334fce8c60e52827fed /include | |
parent | fe82f6fc5cbd638972571a33f04e95971507bba9 (diff) |
loplugin:constantfunction
update the plugin similarly to
commit 3ee3b36ae0c064fb5c81268d8d63444309d1b970
Author: Stephan Bergmann <sbergman@redhat.com>
Date: Fri Oct 7 12:05:49 2016 +0200
loplugin:staticmethods: Don't be fooled by decls starting with macros
Change-Id: I98ac3216d5acf89a49a26feb089ae2fd34e6e510
Reviewed-on: https://gerrit.libreoffice.org/29665
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygontools.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/childwin.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/dispatch.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/dockwin.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdhdl.hxx | 4 | ||||
-rw-r--r-- | include/unotools/fontcvt.hxx | 1 | ||||
-rw-r--r-- | include/xmloff/xmlnume.hxx | 3 |
7 files changed, 2 insertions, 16 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx index 97817a89a122..90ec04530c52 100644 --- a/include/basegfx/polygon/b2dpolypolygontools.hxx +++ b/include/basegfx/polygon/b2dpolypolygontools.hxx @@ -162,12 +162,6 @@ namespace basegfx // with the given amount. Value may be negative. BASEGFX_DLLPUBLIC B2DPolyPolygon growInNormalDirection(const B2DPolyPolygon& rCandidate, double fValue); - // This method will correct a pair of polyPolygons where the goal is to keep same point count - // to allow direct point association and also to remove self-intersections produced by shrinks. - // This method might possibly change both polyPolygons to reach that goal because there are cases - // where it is necessary to add new cut points to the original - BASEGFX_DLLPUBLIC void correctGrowShrinkPolygonPair(B2DPolyPolygon& rOriginal, B2DPolyPolygon& rGrown); - // force all sub-polygons to a point count of nSegments BASEGFX_DLLPUBLIC B2DPolyPolygon reSegmentPolyPolygon(const B2DPolyPolygon& rCandidate, sal_uInt32 nSegments); diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 6e1c336ce472..8a77f2e12633 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -204,7 +204,6 @@ public: void SetVisible_Impl( bool bVis ); SAL_DLLPRIVATE void SetWorkWindow_Impl( SfxWorkWindow* ); SAL_DLLPRIVATE void Activate_Impl(); - SAL_DLLPRIVATE static void Deactivate_Impl(); SAL_DLLPRIVATE SfxChildWindowContext* GetContext_Impl() const diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index 783f0c2ef295..a510a935462b 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -181,8 +181,6 @@ public: SAL_DLLPRIVATE void SetQuietMode_Impl( bool bOn ); SAL_DLLPRIVATE bool IsReadOnlyShell_Impl( sal_uInt16 nShell ) const; SAL_DLLPRIVATE void RemoveShell_Impl( SfxShell& rShell ); - SAL_DLLPRIVATE static void DoParentActivate_Impl(); - SAL_DLLPRIVATE static void DoParentDeactivate_Impl(); SAL_DLLPRIVATE void DoActivate_Impl( bool bMDI ); SAL_DLLPRIVATE void DoDeactivate_Impl( bool bMDI, SfxViewFrame* pNew ); SAL_DLLPRIVATE void InvalidateBindings_Impl(bool); diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx index 9d10cf5cc868..379340d0d0a7 100644 --- a/include/sfx2/dockwin.hxx +++ b/include/sfx2/dockwin.hxx @@ -102,7 +102,6 @@ public: DECL_LINK(TimerHdl, Idle *, void); SAL_DLLPRIVATE void Initialize_Impl(); - SAL_DLLPRIVATE static SplitWindowItemFlags GetWinBits_Impl(); SAL_DLLPRIVATE void SetItemSize_Impl( const Size& rSize ); SAL_DLLPRIVATE void Disappear_Impl(); SAL_DLLPRIVATE void Reappear_Impl(); diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx index 553237d596b0..eceb49262bf2 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -429,8 +429,8 @@ protected: bool bMoveOutside : 1; // Handles nach aussen ruecken (fuer TextEdit) private: - SVX_DLLPRIVATE SdrHdlList(const SdrHdlList&): aList() {} - SVX_DLLPRIVATE void operator=(const SdrHdlList&) {} + SVX_DLLPRIVATE SdrHdlList(const SdrHdlList&) = delete; + SVX_DLLPRIVATE void operator=(const SdrHdlList&) = delete; public: explicit SdrHdlList(SdrMarkView* pV); diff --git a/include/unotools/fontcvt.hxx b/include/unotools/fontcvt.hxx index ae6db9edb0d7..bd640bd3593b 100644 --- a/include/unotools/fontcvt.hxx +++ b/include/unotools/fontcvt.hxx @@ -39,7 +39,6 @@ namespace o3tl typedef void* FontToSubsFontConverter; UNOTOOLS_DLLPUBLIC FontToSubsFontConverter CreateFontToSubsFontConverter( const OUString& rFontName, FontToSubsFontFlags nFlags ); -UNOTOOLS_DLLPUBLIC void DestroyFontToSubsFontConverter( FontToSubsFontConverter hConverter ); UNOTOOLS_DLLPUBLIC sal_Unicode ConvertFontToSubsFontChar( FontToSubsFontConverter hConverter, sal_Unicode c ); UNOTOOLS_DLLPUBLIC OUString GetFontToSubsFontName( FontToSubsFontConverter hConverter ); diff --git a/include/xmloff/xmlnume.hxx b/include/xmloff/xmlnume.hxx index e8b430cebc63..4583c18578bf 100644 --- a/include/xmloff/xmlnume.hxx +++ b/include/xmloff/xmlnume.hxx @@ -56,9 +56,6 @@ class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport protected: - /// Override this to add attributes to the <list-style> element. - SAL_DLLPRIVATE static void AddListStyleAttributes(); - SAL_DLLPRIVATE void exportStyle( const css::uno::Reference< css::style::XStyle >& rStyle ); SAL_DLLPRIVATE void exportOutline(); |