diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /basegfx/source | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/vector/b2dvector.cxx | 8 | ||||
-rw-r--r-- | basegfx/source/vector/b2ivector.cxx | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/basegfx/source/vector/b2dvector.cxx b/basegfx/source/vector/b2dvector.cxx index e5ac9bf35657..9ee6c91f39bf 100644 --- a/basegfx/source/vector/b2dvector.cxx +++ b/basegfx/source/vector/b2dvector.cxx @@ -73,15 +73,7 @@ namespace basegfx return hypot( mfX, mfY ); } - double B2DVector::scalar( const B2DVector& rVec ) const - { - return((mfX * rVec.mfX) + (mfY * rVec.mfY)); - } - double B2DVector::cross( const B2DVector& rVec ) const - { - return(mfX * rVec.getY() - mfY * rVec.getX()); - } double B2DVector::angle( const B2DVector& rVec ) const { diff --git a/basegfx/source/vector/b2ivector.cxx b/basegfx/source/vector/b2ivector.cxx index b2cfb7bffb5e..d7cc9a4f37a0 100644 --- a/basegfx/source/vector/b2ivector.cxx +++ b/basegfx/source/vector/b2ivector.cxx @@ -30,10 +30,6 @@ namespace basegfx return *this; } - double B2IVector::scalar( const B2IVector& rVec ) const - { - return((mnX * rVec.mnX) + (mnY * rVec.mnY)); - } B2IVector& B2IVector::operator*=( const B2DHomMatrix& rMat ) { |