diff options
author | August Sodora <augsod@gmail.com> | 2011-12-22 19:49:21 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-22 19:55:53 -0500 |
commit | bbad7057b2bdb614a5e97a945039323efe39c4ee (patch) | |
tree | 04531c9181fa2bed55ead1f18244a3b58a762a3f /tools/source/generic | |
parent | 0c181a33c9bdcaad9ee2d354ebed9c780120851d (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'tools/source/generic')
-rw-r--r-- | tools/source/generic/svborder.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/source/generic/svborder.cxx b/tools/source/generic/svborder.cxx index 0c55c9515f56..6b9f0d636e7f 100644 --- a/tools/source/generic/svborder.cxx +++ b/tools/source/generic/svborder.cxx @@ -30,24 +30,6 @@ #include <tools/svborder.hxx> #include <osl/diagnose.h> -SvBorder::SvBorder( const Rectangle & rOuter, const Rectangle & rInner ) -{ - Rectangle aOuter( rOuter ); - aOuter.Justify(); - Rectangle aInner( rInner ); - if( aInner.IsEmpty() ) - aInner = Rectangle( aOuter.Center(), aOuter.Center() ); - else - aInner.Justify(); - - OSL_ENSURE( aOuter.IsInside( aInner ), - "SvBorder::SvBorder: sal_False == aOuter.IsInside( aInner )" ); - nTop = aInner.Top() - aOuter.Top(); - nRight = aOuter.Right() - aInner.Right(); - nBottom = aOuter.Bottom() - aInner.Bottom(); - nLeft = aInner.Left() - aOuter.Left(); -} - Rectangle & operator += ( Rectangle & rRect, const SvBorder & rBorder ) { // wegen Empty-Rect, GetSize muss als erstes gerufen werden |