summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 10:38:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 13:42:03 +0200
commit3d9f291cd336dc59d8582e349d5f9e8e86776703 (patch)
treee286e01cc4d285adfcb166cdff4e14b1833a9cea /include/tools
parente2b16c5660a8f3f72c1d1ba74ce565e8628b3dbb (diff)
loplugin:returnconstval in tools
Change-Id: Ic00c0a6788e65ba2b50e93d49592e67596354f96 Reviewed-on: https://gerrit.libreoffice.org/77998 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/b3dtrans.hxx4
-rw-r--r--include/tools/wldcrd.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx
index e42c7efbb76a..2f6752e0848a 100644
--- a/include/tools/b3dtrans.hxx
+++ b/include/tools/b3dtrans.hxx
@@ -121,8 +121,8 @@ public:
void CalcViewport();
// Direct accessors for miscellaneous transformations
- const basegfx::B3DPoint WorldToEyeCoor(const basegfx::B3DPoint& rVec);
- const basegfx::B3DPoint EyeToWorldCoor(const basegfx::B3DPoint& rVec);
+ basegfx::B3DPoint WorldToEyeCoor(const basegfx::B3DPoint& rVec);
+ basegfx::B3DPoint EyeToWorldCoor(const basegfx::B3DPoint& rVec);
static void Frustum(
basegfx::B3DHomMatrix& rTarget,
diff --git a/include/tools/wldcrd.hxx b/include/tools/wldcrd.hxx
index 9ff2a5b8ffd6..5fc3d87e4ab5 100644
--- a/include/tools/wldcrd.hxx
+++ b/include/tools/wldcrd.hxx
@@ -44,7 +44,7 @@ public:
{
}
- const OUString getGlob() const
+ OUString getGlob() const
{
return OStringToOUString(aWildString, osl_getThreadTextEncoding());
}