summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-07 11:58:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-07 12:07:43 +0200
commitf1cb6a031e5ba3fbdfb722175d82f48ee1e6067f (patch)
tree99eccc9e16592427d02b46aa2a91f085c101ca36 /sw/source/uibase
parentcb2b7a951ba447796611eaf411842ef9572a3d6c (diff)
loplugin:staticmethods: sw
Change-Id: I2b06eb926ebc8ab04883da3272ea239a12e09436
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/dbconfig.hxx2
-rw-r--r--sw/source/uibase/inc/fontcfg.hxx2
-rw-r--r--sw/source/uibase/inc/numfmtlb.hxx2
-rw-r--r--sw/source/uibase/inc/prcntfld.hxx2
-rw-r--r--sw/source/uibase/inc/redlndlg.hxx4
-rw-r--r--sw/source/uibase/misc/redlndlg.cxx2
-rw-r--r--sw/source/uibase/utlui/numfmtlb.cxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/uibase/inc/dbconfig.hxx b/sw/source/uibase/inc/dbconfig.hxx
index a04b32f82af0..33fedf11ff82 100644
--- a/sw/source/uibase/inc/dbconfig.hxx
+++ b/sw/source/uibase/inc/dbconfig.hxx
@@ -27,7 +27,7 @@ struct SwDBData;
class SW_DLLPUBLIC SwDBConfig : public utl::ConfigItem
{
private:
- SAL_DLLPRIVATE const css::uno::Sequence<OUString>& GetPropertyNames();
+ SAL_DLLPRIVATE static const css::uno::Sequence<OUString>& GetPropertyNames();
virtual void ImplCommit() override;
SwDBData* pAdrImpl;
diff --git a/sw/source/uibase/inc/fontcfg.hxx b/sw/source/uibase/inc/fontcfg.hxx
index 2a03d5677e26..72e113baab33 100644
--- a/sw/source/uibase/inc/fontcfg.hxx
+++ b/sw/source/uibase/inc/fontcfg.hxx
@@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem
OUString sDefaultFonts[DEF_FONT_COUNT];
sal_Int32 nDefaultFontHeight[DEF_FONT_COUNT];
- SAL_DLLPRIVATE css::uno::Sequence<OUString> GetPropertyNames();
+ SAL_DLLPRIVATE static css::uno::Sequence<OUString> GetPropertyNames();
void ChangeString(sal_uInt16 nFontType, const OUString& rSet)
{
diff --git a/sw/source/uibase/inc/numfmtlb.hxx b/sw/source/uibase/inc/numfmtlb.hxx
index d5c69e645599..68e242338413 100644
--- a/sw/source/uibase/inc/numfmtlb.hxx
+++ b/sw/source/uibase/inc/numfmtlb.hxx
@@ -40,7 +40,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox
DECL_DLLPRIVATE_LINK( SelectHdl, ListBox&, void );
- SAL_DLLPRIVATE double GetDefValue(const short nFormatType) const;
+ SAL_DLLPRIVATE static double GetDefValue(const short nFormatType);
SAL_DLLPRIVATE void Init();
SAL_DLLPRIVATE SwView* GetView();
diff --git a/sw/source/uibase/inc/prcntfld.hxx b/sw/source/uibase/inc/prcntfld.hxx
index 9255b236163d..9476ff3405f8 100644
--- a/sw/source/uibase/inc/prcntfld.hxx
+++ b/sw/source/uibase/inc/prcntfld.hxx
@@ -40,7 +40,7 @@ class SW_DLLPUBLIC PercentField
bool bLockAutoCalculation; //prevent recalcution of percent values when the
//reference value is changed
- SAL_DLLPRIVATE sal_Int64 ImpPower10(sal_uInt16 n);
+ SAL_DLLPRIVATE static sal_Int64 ImpPower10(sal_uInt16 n);
public:
diff --git a/sw/source/uibase/inc/redlndlg.hxx b/sw/source/uibase/inc/redlndlg.hxx
index ddd7f0007fd6..0adca712acb4 100644
--- a/sw/source/uibase/inc/redlndlg.hxx
+++ b/sw/source/uibase/inc/redlndlg.hxx
@@ -109,10 +109,10 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg
SAL_DLLPRIVATE void RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd);
SAL_DLLPRIVATE void InitAuthors();
- SAL_DLLPRIVATE OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0);
+ SAL_DLLPRIVATE static OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0);
SAL_DLLPRIVATE Image GetActionImage(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0);
SAL_DLLPRIVATE OUString GetActionText(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0);
- SAL_DLLPRIVATE sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry) const;
+ SAL_DLLPRIVATE static sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry);
SwRedlineAcceptDlg(SwRedlineAcceptDlg const&) = delete;
SwRedlineAcceptDlg& operator=(SwRedlineAcceptDlg const&) = delete;
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index 0da1e18ea824..dc708139d7e1 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -876,7 +876,7 @@ void SwRedlineAcceptDlg::CallAcceptReject( bool bSelect, bool bAccept )
m_pTPView->EnableUndo();
}
-sal_uInt16 SwRedlineAcceptDlg::GetRedlinePos( const SvTreeListEntry& rEntry ) const
+sal_uInt16 SwRedlineAcceptDlg::GetRedlinePos( const SvTreeListEntry& rEntry )
{
SwWrtShell* pSh = ::GetActiveView()->GetWrtShellPtr();
return pSh->FindRedlineOfData( *static_cast<SwRedlineDataParent*>(static_cast<RedlinData *>(
diff --git a/sw/source/uibase/utlui/numfmtlb.cxx b/sw/source/uibase/utlui/numfmtlb.cxx
index cd69de7721bf..5ecdbd8bd649 100644
--- a/sw/source/uibase/utlui/numfmtlb.cxx
+++ b/sw/source/uibase/utlui/numfmtlb.cxx
@@ -436,7 +436,7 @@ IMPL_LINK( NumFormatListBox, SelectHdl, ListBox&, rBox, void )
}
}
-double NumFormatListBox::GetDefValue(const short nFormatType) const
+double NumFormatListBox::GetDefValue(const short nFormatType)
{
SvxNumValCategory nDefValue = SvxNumValCategory::Standard;