summaryrefslogtreecommitdiff
path: root/basegfx/source/range
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-07-13 08:57:53 +0000
committerOliver Bolte <obo@openoffice.org>2006-07-13 08:57:53 +0000
commitb6368dd527fd7ebe307cebe5c2275983df9ee851 (patch)
treee78463804204019c32c341704f7c8b91472c4aa1 /basegfx/source/range
parent5a3e3c13d5dd515b8f045263a0cbb42d171726db (diff)
INTEGRATION: CWS cowfixes01 (1.4.20); FILE MERGED
2006/03/17 17:41:35 thb 1.4.20.1: #i63310# Added COW to B2DMultiRange (wasn't there before); moved BxDHomMatrix to cow_wrapper; added o3tl build dependency
Diffstat (limited to 'basegfx/source/range')
-rw-r--r--basegfx/source/range/b2dmultirange.cxx21
1 files changed, 16 insertions, 5 deletions
diff --git a/basegfx/source/range/b2dmultirange.cxx b/basegfx/source/range/b2dmultirange.cxx
index 70ce880b87df..3cd7c0574927 100644
--- a/basegfx/source/range/b2dmultirange.cxx
+++ b/basegfx/source/range/b2dmultirange.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b2dmultirange.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 20:50:05 $
+ * last change: $Author: obo $ $Date: 2006-07-13 09:57:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -231,18 +231,29 @@ namespace basegfx
B2DMultiRange::B2DMultiRange() :
- mpImpl( new ImplB2DMultiRange() )
+ mpImpl()
{
}
B2DMultiRange::B2DMultiRange( const B2DRange& rRange ) :
- mpImpl( new ImplB2DMultiRange( rRange ) )
+ mpImpl( ImplB2DMultiRange( rRange ) )
{
}
B2DMultiRange::~B2DMultiRange()
{
- // to have ImplB2DMultiRange declaration available
+ // otherwise, ImplB2DMultiRange would be an incomplete type
+ }
+
+ B2DMultiRange::B2DMultiRange( const B2DMultiRange& rSrc ) :
+ mpImpl( rSrc.mpImpl )
+ {
+ }
+
+ B2DMultiRange& B2DMultiRange::operator=( const B2DMultiRange& rSrc )
+ {
+ mpImpl = rSrc.mpImpl;
+ return *this;
}
bool B2DMultiRange::isEmpty() const