summaryrefslogtreecommitdiff
path: root/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 /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 'tools')
-rw-r--r--tools/source/generic/b3dtrans.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx
index a896e9f1b7df..b8e29be31d4a 100644
--- a/tools/source/generic/b3dtrans.cxx
+++ b/tools/source/generic/b3dtrans.cxx
@@ -334,14 +334,14 @@ void B3dTransformationSet::SetViewportRectangle(tools::Rectangle const & rRect,
// direct access to various transformations
-const basegfx::B3DPoint B3dTransformationSet::WorldToEyeCoor(const basegfx::B3DPoint& rVec)
+basegfx::B3DPoint B3dTransformationSet::WorldToEyeCoor(const basegfx::B3DPoint& rVec)
{
basegfx::B3DPoint aVec(rVec);
aVec *= maOrientation;
return aVec;
}
-const basegfx::B3DPoint B3dTransformationSet::EyeToWorldCoor(const basegfx::B3DPoint& rVec)
+basegfx::B3DPoint B3dTransformationSet::EyeToWorldCoor(const basegfx::B3DPoint& rVec)
{
basegfx::B3DPoint aVec(rVec);
aVec *= maInvOrientation;