summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-07 20:58:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-07 21:57:03 +0000
commit87f9e8945fde37182bec1e674dd6ccee4133209c (patch)
treefd14dc45a1f5e49bf864574a593dbe9fe4c82d6b /include/basegfx
parent8b6e914305d978892e106a575662a2a5217242dc (diff)
default copy ctor and assignment operator are good enough
and block default move equivalents Change-Id: Ib8a1050803446c2e099f66602fae0465bd8165cf
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/point/b2ipoint.hxx12
-rw-r--r--include/basegfx/tuple/b2ituple.hxx20
2 files changed, 0 insertions, 32 deletions
diff --git a/include/basegfx/point/b2ipoint.hxx b/include/basegfx/point/b2ipoint.hxx
index e092e35a6b1f..7a930d69eb5e 100644
--- a/include/basegfx/point/b2ipoint.hxx
+++ b/include/basegfx/point/b2ipoint.hxx
@@ -60,15 +60,6 @@ namespace basegfx
: B2ITuple(nX, nY)
{}
- /** Create a copy of a 2D Point
-
- @param rPoint
- The 2D Point which will be copied.
- */
- B2IPoint(const B2IPoint& rPoint)
- : B2ITuple(rPoint)
- {}
-
/** constructor with tuple to allow copy-constructing
from B2ITuple-based classes
*/
@@ -76,9 +67,6 @@ namespace basegfx
: B2ITuple(rTuple)
{}
- ~B2IPoint()
- {}
-
/** *=operator to allow usage from B2IPoint, too
*/
B2IPoint& operator*=( const B2IPoint& rPnt )
diff --git a/include/basegfx/tuple/b2ituple.hxx b/include/basegfx/tuple/b2ituple.hxx
index 7c859d5def55..f8df10fe2851 100644
--- a/include/basegfx/tuple/b2ituple.hxx
+++ b/include/basegfx/tuple/b2ituple.hxx
@@ -66,19 +66,6 @@ namespace basegfx
mnY( fY )
{}
- /** Create a copy of a 2D Tuple
-
- @param rTup
- The 2D Tuple which will be copied.
- */
- B2ITuple(const B2ITuple& rTup)
- : mnX( rTup.mnX ),
- mnY( rTup.mnY )
- {}
-
- ~B2ITuple()
- {}
-
/// Get X-Coordinate of 2D Tuple
sal_Int32 getX() const
{
@@ -185,13 +172,6 @@ namespace basegfx
{
return !(*this == rTup);
}
-
- B2ITuple& operator=( const B2ITuple& rTup )
- {
- mnX = rTup.mnX;
- mnY = rTup.mnY;
- return *this;
- }
};
// external operators