summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/gen.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 27120d6abbd1..069b7482cfba 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -42,23 +42,6 @@ size_t Pair::GetHashValue() const
return hash;
}
-void tools::Rectangle::SetSize( const Size& rSize )
-{
- if ( rSize.Width() < 0 )
- nRight = nLeft + rSize.Width() +1;
- else if ( rSize.Width() > 0 )
- nRight = nLeft + rSize.Width() -1;
- else
- SetWidthEmpty();
-
- if ( rSize.Height() < 0 )
- nBottom = nTop + rSize.Height() +1;
- else if ( rSize.Height() > 0 )
- nBottom = nTop + rSize.Height() -1;
- else
- SetHeightEmpty();
-}
-
void tools::Rectangle::SaturatingSetSize(const Size& rSize)
{
if (rSize.Width() < 0)