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/emfpstringformat.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/emfpstringformat.hxx')
-rw-r--r-- | drawinglayer/source/tools/emfpstringformat.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drawinglayer/source/tools/emfpstringformat.hxx b/drawinglayer/source/tools/emfpstringformat.hxx index 0797c25ff7af..2a05f6dd75a3 100644 --- a/drawinglayer/source/tools/emfpstringformat.hxx +++ b/drawinglayer/source/tools/emfpstringformat.hxx @@ -46,16 +46,16 @@ namespace emfplushelper void Read(SvMemoryStream &s); // flags table from MS-EMFPLUS doc - bool DirectionRightToLeft() { return stringFormatFlags & 0x00000001;} - bool DirectionVertical() { return stringFormatFlags & 0x00000002;} - bool NoFitBlackBox() { return stringFormatFlags & 0x00000004;} - bool DisplayFormatControl() { return stringFormatFlags & 0x00000020;} - bool NoFontFallback() { return stringFormatFlags & 0x00000400;} - bool MeasureTrailingSpaces(){ return stringFormatFlags & 0x00000800;} - bool NoWrap() { return stringFormatFlags & 0x00001000;} - bool LineLimit() { return stringFormatFlags & 0x00002000;} - bool NoClip() { return stringFormatFlags & 0x00004000;} - bool BypassGDI() { return stringFormatFlags & 0x80000000;} + bool DirectionRightToLeft() const { return stringFormatFlags & 0x00000001;} + bool DirectionVertical() const { return stringFormatFlags & 0x00000002;} + bool NoFitBlackBox() const { return stringFormatFlags & 0x00000004;} + bool DisplayFormatControl() const { return stringFormatFlags & 0x00000020;} + bool NoFontFallback() const { return stringFormatFlags & 0x00000400;} + bool MeasureTrailingSpaces() const { return stringFormatFlags & 0x00000800;} + bool NoWrap() const { return stringFormatFlags & 0x00001000;} + bool LineLimit() const { return stringFormatFlags & 0x00002000;} + bool NoClip() const { return stringFormatFlags & 0x00004000;} + bool BypassGDI() const { return stringFormatFlags & 0x80000000;} }; } |