summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-09 08:31:28 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-09 08:31:28 +0200
commitb74f6441cc4cb098053269988082d9736fab2661 (patch)
treedecda1f95af34a3f254a131a0001aa9b55581b9e /tools
parent3f41f560e4d5ddf018ce81abb7aaa7934dbc2dc1 (diff)
slidecopy: why is the SvBorder class duplicated in sfx2/viewfrm.hxx, when it is (nearly) exactly the same way declared in tools/svborder.hxx? removed the duplicate
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/svborder.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/inc/tools/svborder.hxx b/tools/inc/tools/svborder.hxx
index 59dc96c21480..ba949950a2b2 100644
--- a/tools/inc/tools/svborder.hxx
+++ b/tools/inc/tools/svborder.hxx
@@ -52,6 +52,14 @@ public:
}
BOOL operator != ( const SvBorder & rObj ) const
{ return !(*this == rObj); }
+ SvBorder & operator = ( const SvBorder & rBorder )
+ {
+ Left() = rBorder.Left();
+ Top() = rBorder.Top();
+ Right() = rBorder.Right();
+ Bottom() = rBorder.Bottom();
+ return *this;
+ }
SvBorder & operator += ( const SvBorder & rBorder )
{
Left() += rBorder.Left();