[Libreoffice-commits] .: vcl/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 22 02:38:54 PDT 2011
vcl/source/window/syswin.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 13a58e04dd1f0a6444ddafc5ba504652dd24a8e9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 22 10:38:44 2011 +0100
fix build errors
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 237de56..5a3b455 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -625,10 +625,10 @@ static rtl::OString ImplWindowStateToStr(const WindowStateData& rData)
rtl::OStringBuffer rStrBuf;
if ( nValidMask & WINDOWSTATE_MASK_X )
- rStrBuf.append(rData.GetX());
+ rStrBuf.append(static_cast<sal_Int32>(rData.GetX()));
rStrBuf.append(',');
if ( nValidMask & WINDOWSTATE_MASK_Y )
- rStrBuf.append(rData.GetY());
+ rStrBuf.append(static_cast<sal_Int32>(rData.GetY()));
rStrBuf.append(',');
if ( nValidMask & WINDOWSTATE_MASK_WIDTH )
rStrBuf.append(static_cast<sal_Int32>(rData.GetWidth()));
@@ -645,10 +645,10 @@ static rtl::OString ImplWindowStateToStr(const WindowStateData& rData)
}
rStrBuf.append(';');
if ( nValidMask & WINDOWSTATE_MASK_MAXIMIZED_X )
- rStrBuf.append(rData.GetMaximizedX());
+ rStrBuf.append(static_cast<sal_Int32>(rData.GetMaximizedX()));
rStrBuf.append(',');
if ( nValidMask & WINDOWSTATE_MASK_MAXIMIZED_Y )
- rStrBuf.append(rData.GetMaximizedY());
+ rStrBuf.append(static_cast<sal_Int32>(rData.GetMaximizedY()));
rStrBuf.append( ',' );
if ( nValidMask & WINDOWSTATE_MASK_MAXIMIZED_WIDTH )
rStrBuf.append(static_cast<sal_Int32>(rData.GetMaximizedWidth()));
More information about the Libreoffice-commits
mailing list