summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-07 12:00:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-07 12:07:43 +0200
commit789280ef6450a3e484316ace55b082dfdb588f7c (patch)
tree72838aaa33cec1b2c410be8364c1d5781449c44a
parent358d88d08bbbee155aaf9eeb49846f75cbead1c5 (diff)
loplugin:staticmethods: svtools
Change-Id: I0d44473c34131d7e843a40ade7261c0022104bfa
-rw-r--r--include/svtools/apearcfg.hxx2
-rw-r--r--include/svtools/calendar.hxx2
-rw-r--r--include/svtools/ehdl.hxx2
-rw-r--r--include/svtools/fmtfield.hxx2
-rw-r--r--include/svtools/ruler.hxx2
-rw-r--r--include/svtools/treelist.hxx2
-rw-r--r--svtools/source/control/calendar.cxx2
-rw-r--r--svtools/source/misc/ehdl.cxx2
8 files changed, 8 insertions, 8 deletions
diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx
index f7a4019f7cfd..653dda7132d5 100644
--- a/include/svtools/apearcfg.hxx
+++ b/include/svtools/apearcfg.hxx
@@ -54,7 +54,7 @@ class SVT_DLLPUBLIC SvtTabAppearanceCfg : public utl::ConfigItem
static bool bInitialized ;
- SVT_DLLPRIVATE const css::uno::Sequence<OUString>& GetPropertyNames();
+ SVT_DLLPRIVATE static const css::uno::Sequence<OUString>& GetPropertyNames();
virtual void ImplCommit() override;
public:
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 70e1b7f4c5a8..606d0dd74888 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -218,7 +218,7 @@ private:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
- SVT_DLLPRIVATE void ImplGetWeekFont( vcl::Font& rFont ) const;
+ SVT_DLLPRIVATE static void ImplGetWeekFont( vcl::Font& rFont );
SVT_DLLPRIVATE void ImplFormat();
using Window::ImplHitTest;
SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const;
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 7649e1361d6c..653af7ef30cc 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -64,7 +64,7 @@ private:
ResMgr *pMgr;
ResMgr *pFreeMgr;
- SVT_DLLPRIVATE void GetClassString(sal_uLong lErrId, OUString &) const;
+ SVT_DLLPRIVATE static void GetClassString(sal_uLong lErrId, OUString &);
virtual bool CreateString( const ErrorInfo *, OUString &, sal_uInt16 &) const override;
};
diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx
index 7a441530e00a..fe850c9333cb 100644
--- a/include/svtools/fmtfield.hxx
+++ b/include/svtools/fmtfield.hxx
@@ -50,7 +50,7 @@ private:
~StaticFormatter();
operator SvNumberFormatter* () { return GetFormatter(); }
- SVT_DLLPUBLIC SvNumberFormatter* GetFormatter();
+ SVT_DLLPUBLIC static SvNumberFormatter* GetFormatter();
};
protected:
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index c1ce6de22596..1c5b0cdea845 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -671,7 +671,7 @@ private:
long nMin, long nMax, long nStart, long nVirTop, long nVirBottom);
SVT_DLLPRIVATE void ImplDrawBorders(vcl::RenderContext& rRenderContext,
long nMin, long nMax, long nVirTop, long nVirBottom);
- SVT_DLLPRIVATE void ImplDrawIndent(vcl::RenderContext& rRenderContext,
+ SVT_DLLPRIVATE static void ImplDrawIndent(vcl::RenderContext& rRenderContext,
const tools::Polygon& rPoly, bool bIsHit);
SVT_DLLPRIVATE void ImplDrawIndents(vcl::RenderContext& rRenderContext,
long nMin, long nMax, long nVirTop, long nVirBottom);
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index d83deee8494d..7bcc85864379 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -115,7 +115,7 @@ class SVT_DLLPUBLIC SvTreeList
* Invalidate the cached position data to have them re-generated before
* the next access.
*/
- SVT_DLLPRIVATE void SetListPositions( SvTreeListEntries& rEntries );
+ SVT_DLLPRIVATE static void SetListPositions( SvTreeListEntries& rEntries );
// rPos is not changed for SortModeNone
SVT_DLLPRIVATE void GetInsertionPos(
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 0ef2b5e22886..464a74843a3d 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -296,7 +296,7 @@ DayOfWeek Calendar::ImplGetWeekStart() const
return eDay;
}
-void Calendar::ImplGetWeekFont( vcl::Font& rFont ) const
+void Calendar::ImplGetWeekFont( vcl::Font& rFont )
{
// weeknumber is displayed in WEEKNUMBER_HEIGHT%-Fontheight
Size aFontSize = rFont.GetFontSize();
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 3534f508c2aa..3f6e282621b4 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -249,7 +249,7 @@ struct ErrorResource_Impl : private Resource
};
-void SfxErrorHandler::GetClassString(sal_uLong lClassId, OUString &rStr) const
+void SfxErrorHandler::GetClassString(sal_uLong lClassId, OUString &rStr)
/* [Description]