diff --git a/basegfx/inc/basegfx/range/b2irange.hxx b/basegfx/inc/basegfx/range/b2irange.hxx index 5c5d6309fa5b..282ff20249bf 100644 --- a/basegfx/inc/basegfx/range/b2irange.hxx +++ b/basegfx/inc/basegfx/range/b2irange.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b2irange.hxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -36,7 +36,6 @@ #include #include #include - #include @@ -106,10 +105,11 @@ namespace basegfx || maRangeY != rRange.maRangeY); } - void operator=(const B2IRange& rRange) + B2IRange& operator=(const B2IRange& rRange) { maRangeX = rRange.maRangeX; maRangeY = rRange.maRangeY; + return *this; } sal_Int32 getMinX() const