diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 15:32:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 18:37:47 +0200 |
commit | 1f8fbff65d91f1d8297b94dd67fffceb7475dce5 (patch) | |
tree | 35ecc29ca2734db28e69cfb22c54e0e2d0ad3580 /filter | |
parent | 4bc31abb56f806ee399344160ce0d7c27af48f5e (diff) |
loplugin:const* make some params and methods const
Change-Id: I97c5bbb929a2a4a029af4e6cb0fd571bbc2b698b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104030
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 5790836fbb6d..7998d56754d0 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -1348,7 +1348,7 @@ void SVGTextWriter::endTextPosition() mpTextPositionElem.reset(); } -bool SVGTextWriter::hasTextOpacity() { return !maTextOpacity.isEmpty(); } +bool SVGTextWriter::hasTextOpacity() const { return !maTextOpacity.isEmpty(); } void SVGTextWriter::implExportHyperlinkIds() { diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index d582a42c37af..b1c7954b7a21 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -253,7 +253,7 @@ class SVGTextWriter final void endTextParagraph(); void startTextPosition( bool bExportX = true, bool bExportY = true); void endTextPosition(); - bool hasTextOpacity(); + bool hasTextOpacity() const; void implExportHyperlinkIds(); void implWriteBulletChars(); template< typename MetaBitmapActionType > |