diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 15:17:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-03 08:21:59 +0100 |
commit | 7795907fa9434441a86e878799b04149700fe622 (patch) | |
tree | 50ce9190f1855252c14b55f8152c885f063a98c0 /drawinglayer/source/tools/emfpfont.hxx | |
parent | 0d4891b6d1346191b56f0f8f4991cb6372e10c1d (diff) |
loplugin:constmethod in drawinglayer
Change-Id: I6a33765f6589fc2941162eb2dcaa4e0a2d9e46e1
Reviewed-on: https://gerrit.libreoffice.org/44214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/tools/emfpfont.hxx')
-rw-r--r-- | drawinglayer/source/tools/emfpfont.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drawinglayer/source/tools/emfpfont.hxx b/drawinglayer/source/tools/emfpfont.hxx index 9abeff344728..ce5760546e87 100644 --- a/drawinglayer/source/tools/emfpfont.hxx +++ b/drawinglayer/source/tools/emfpfont.hxx @@ -33,10 +33,10 @@ namespace emfplushelper void Read(SvMemoryStream &s); - bool Bold() { return fontFlags & 0x1; } - bool Italic() { return fontFlags & 0x2; } - bool Underline(){ return fontFlags & 0x4; } - bool Strikeout(){ return fontFlags & 0x8; } + bool Bold() const { return fontFlags & 0x1; } + bool Italic() const { return fontFlags & 0x2; } + bool Underline() const { return fontFlags & 0x4; } + bool Strikeout() const { return fontFlags & 0x8; } }; } |