summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-03 17:41:55 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-03 17:50:52 +0200
commit51c2b2fc1edbfc5c04ae60d3989c0b62329dbd2b (patch)
tree09da99c23ac899f83adb0cb61be515d3f512b75f
parent938881340e9203d3b265596b8c7359bb27560912 (diff)
Bin the unused SvStream &operator<<
Change-Id: I3971f46a14d96770660f7b0060df305248f9ec91
-rw-r--r--sw/inc/swrect.hxx4
-rw-r--r--sw/source/core/bastyp/swrect.cxx12
2 files changed, 0 insertions, 16 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index efe7edf4e8bf..b74a49101821 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -98,10 +98,6 @@ public:
//SV-SS e.g. pWin->DrawRect( aSwRect.SVRect() );
inline Rectangle SVRect() const;
- // Output operator for debugging.
- friend SvStream &operator<<( SvStream &rStream, const SwRect &rRect );
-
-
void _Top( const long nTop );
void _Bottom( const long nBottom );
void _Left( const long nLeft );
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index e37f0cfe184f..0d79ded1e322 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -223,16 +223,4 @@ void SwRect::SetUpperRightCorner( const Point& rNew )
void SwRect::SetLowerLeftCorner( const Point& rNew )
{ m_Point = Point(rNew.A(), rNew.B() - m_Size.getHeight()); }
-#ifdef DBG_UTIL
-SvStream &operator<<( SvStream &rStream, const SwRect &rRect )
-{
- rStream << '[' << static_cast<sal_Int32>(rRect.Top())
- << '/' << static_cast<sal_Int32>(rRect.Left())
- << ',' << static_cast<sal_Int32>(rRect.Width())
- << 'x' << static_cast<sal_Int32>(rRect.Height())
- << "] ";
- return rStream;
-}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */