summaryrefslogtreecommitdiff
path: root/basegfx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-18 14:43:52 +0200
committerNoel Grandin <noel@peralex.com>2014-09-22 14:36:14 +0200
commit8e58d9d08caecc868b1f4fed78101c7bdb0834ab (patch)
tree91dd4ce3cd713c5fca3cc6bef62dd747441f6e56 /basegfx/source/inc
parent04f43cd6a0159da29a0df4bf8e27387156f321e5 (diff)
loplugin: cstylecast
Change-Id: I8b1f0f6c100b4cf6d45c9e0c0f1e0a38ec081218
Diffstat (limited to 'basegfx/source/inc')
-rw-r--r--basegfx/source/inc/hommatrixtemplate.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/inc/hommatrixtemplate.hxx b/basegfx/source/inc/hommatrixtemplate.hxx
index 93c14f2bd4db..2e1be87a8a68 100644
--- a/basegfx/source/inc/hommatrixtemplate.hxx
+++ b/basegfx/source/inc/hommatrixtemplate.hxx
@@ -100,8 +100,8 @@ namespace basegfx
}
// reset last line, it equals default
- delete ((ImplHomMatrixTemplate< RowSize >*)this)->mpLine;
- ((ImplHomMatrixTemplate< RowSize >*)this)->mpLine = 0L;
+ delete const_cast<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine;
+ const_cast<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine = 0L;
return true;
}