diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-03-14 10:26:44 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-03-14 10:26:44 +0000 |
commit | 581ebcf8ce830e98dc110ae3064c70b3ee3a686f (patch) | |
tree | 5efea6f971502d91e9deaaca98f7352d71f9e5f5 /svx/source/table/tablehandles.cxx | |
parent | b4f3a73ecb2e40e99b37810b5d27ae40a16a3168 (diff) |
#i87016# Fix 64bit build breakage (cl / pjanik)
Diffstat (limited to 'svx/source/table/tablehandles.cxx')
-rw-r--r-- | svx/source/table/tablehandles.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index c89ae759d803..e7653323b6c0 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tablehandles.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2008-03-12 10:04:22 $ + * last change: $Author: rt $ $Date: 2008-03-14 11:26:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -134,7 +134,7 @@ Pointer TableEdgeHdl::GetPointer() const sal_Int32 TableEdgeHdl::GetValidDragOffset( const SdrDragStat& rDrag ) const { - return std::min( std::max( mbHorizontal ? rDrag.GetDY() : rDrag.GetDX(), mnMin ), mnMax ); + return std::min( std::max( static_cast<sal_Int32>(mbHorizontal ? rDrag.GetDY() : rDrag.GetDX()), mnMin ), mnMax ); } basegfx::B2DPolyPolygon TableEdgeHdl::TakeDragPoly( const SdrDragStat* pDrag /*= 0*/ ) const |