summaryrefslogtreecommitdiff
path: root/sw/source/core/bastyp/swrect.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-28 16:58:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-28 16:59:01 +0000
commitac08d3f6967b241d6028d9cd17cce583ac72871e (patch)
treeb58118c044cd90c7b0f59e364bc3c1a97fb2fba5 /sw/source/core/bastyp/swrect.cxx
parentdc505d3a5cdebe6271fcd6dae7b4d69e7c1af13e (diff)
we don't want any of these to be streamed out/in as 64bit values
Diffstat (limited to 'sw/source/core/bastyp/swrect.cxx')
-rw-r--r--sw/source/core/bastyp/swrect.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index ac2075bcbf0a..8bc90da42690 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -292,8 +292,11 @@ void SwRect::SetLowerLeftCorner( const Point& rNew )
*************************************************************************/
SvStream &operator<<( SvStream &rStream, const SwRect &rRect )
{
- rStream << '[' << rRect.Top() << '/' << rRect.Left()
- << ',' << rRect.Width() << 'x' << rRect.Height() << "] ";
+ 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