From 44790193a74923d42228277ed46723ba9e225136 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Mar 2015 08:29:36 +0200 Subject: loplugin:staticfunction Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954 --- basegfx/source/matrix/b3dhommatrix.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'basegfx/source/matrix/b3dhommatrix.cxx') diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index 75ba78fb8018..dac62a964e79 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -24,7 +24,8 @@ namespace basegfx { - class Impl3DHomMatrix : public ::basegfx::internal::ImplHomMatrixTemplate< 4 > + typedef ::basegfx::internal::ImplHomMatrixTemplate< 4 >Impl3DHomMatrix_Base; + class Impl3DHomMatrix : public Impl3DHomMatrix_Base { }; @@ -82,7 +83,7 @@ namespace basegfx bool B3DHomMatrix::invert() { Impl3DHomMatrix aWork(*mpImpl); - sal_uInt16* pIndex = new sal_uInt16[mpImpl->getEdgeLength()]; + sal_uInt16* pIndex = new sal_uInt16[Impl3DHomMatrix_Base::getEdgeLength()]; sal_Int16 nParity; if(aWork.ludcmp(pIndex, nParity)) -- cgit