summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
parent135907f2061550624ee1859745d94eee01849070 (diff)
remove unnecessary use of void in function declarations
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
index d901f8353a71..6f51d058ea84 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
@@ -41,14 +41,14 @@ public:
/** Return the single instance of this class. Throws a RuntimeException
when no instance can be created.
*/
- static FontProvider& Instance (void);
+ static FontProvider& Instance();
/** Call this method to tell an object to release its currently used
font. The next call to GetFont() will then create a new one.
Typically called after a DataChange event when for instance a system
font has been modified.
*/
- void Invalidate (void);
+ void Invalidate();
private:
static FontProvider* mpInstance;
@@ -62,8 +62,8 @@ private:
*/
MapMode maMapMode;
- FontProvider (void);
- virtual ~FontProvider (void);
+ FontProvider();
+ virtual ~FontProvider();
FontProvider (const FontProvider&) SAL_DELETED_FUNCTION;
FontProvider& operator= (const FontProvider&) SAL_DELETED_FUNCTION;