summaryrefslogtreecommitdiff
path: root/sw/inc/docufld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-04 10:29:18 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:41 +0200
commit259820af718fe15ea5080711f77918dad8f14fbb (patch)
treea80039fad41dfbfaeaa8fe0b7403c29336f37861 /sw/inc/docufld.hxx
parent03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (diff)
loplugin:staticmethods
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r--sw/inc/docufld.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 4129d33b47b6..5bb92646b171 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -182,7 +182,7 @@ class SwAuthorFieldType : public SwFieldType
public:
SwAuthorFieldType();
- OUString Expand(sal_uLong) const;
+ static OUString Expand(sal_uLong);
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
@@ -331,8 +331,8 @@ public:
void Evaluate(SwDoc*);
inline void SetValue(bool bHidden) { bIsHidden = bHidden; }
- OUString GetColumnName(const OUString& rName);
- OUString GetDBName(const OUString& rName, SwDoc *pDoc);
+ static OUString GetColumnName(const OUString& rName);
+ static OUString GetDBName(const OUString& rName, SwDoc *pDoc);
/// Condition
virtual void SetPar1(const OUString& rStr) SAL_OVERRIDE;
@@ -531,7 +531,7 @@ public:
inline void SetData(const OUString& rStr) { aData = rStr; }
- OUString Expand(sal_uInt16 nSubType, sal_uInt32 nFormat) const;
+ static OUString Expand(sal_uInt16 nSubType, sal_uInt32 nFormat);
virtual SwFieldType* Copy() const SAL_OVERRIDE;
};