Index: sc/source/filter/xml/xmlexprt.cxx
===================================================================
RCS file: /cvs/sc/sc/source/filter/xml/xmlexprt.cxx,v
retrieving revision 1.207
diff -u -p -r1.207 xmlexprt.cxx
--- sc/source/filter/xml/xmlexprt.cxx	6 Jul 2007 12:40:24 -0000	1.207
+++ sc/source/filter/xml/xmlexprt.cxx	23 Sep 2007 09:09:02 -0000
@@ -3545,13 +3572,13 @@ void ScXMLExport::GetViewSettings(uno::S
 					Rectangle aRect(pEmbeddedObj->GetVisArea());
 					sal_uInt16 i(0);
 					pProps[i].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VisibleAreaTop"));
-					pProps[i].Value <<= aRect.getY();
+					pProps[i].Value <<= static_cast<sal_Int32>(aRect.getY());
 					pProps[++i].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VisibleAreaLeft"));
-					pProps[i].Value <<= aRect.getX();
+					pProps[i].Value <<= static_cast<sal_Int32>(aRect.getX());
 					pProps[++i].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VisibleAreaWidth"));
-					pProps[i].Value <<= aRect.getWidth();
+					pProps[i].Value <<= static_cast<sal_Int32>(aRect.getWidth());
 					pProps[++i].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VisibleAreaHeight"));
-					pProps[i].Value <<= aRect.getHeight();
+					pProps[i].Value <<= static_cast<sal_Int32>(aRect.getHeight());
 				}
 			}
 		}
Index: sc/source/ui/view/viewdata.cxx
===================================================================
RCS file: /cvs/sc/sc/source/ui/view/viewdata.cxx,v
retrieving revision 1.59
diff -u -p -r1.59 viewdata.cxx
--- sc/source/ui/view/viewdata.cxx	10 May 2007 17:03:57 -0000	1.59
+++ sc/source/ui/view/viewdata.cxx	23 Sep 2007 09:10:00 -0000
@@ -185,12 +150,12 @@ void ScViewDataTable::WriteUserDataSeque
 		if (eHSplitMode == SC_SPLIT_FIX)
 			pSettings[SC_HORIZONTAL_SPLIT_POSITION].Value <<= sal_Int32(nFixPosX);
 		else
-			pSettings[SC_HORIZONTAL_SPLIT_POSITION].Value <<= nHSplitPos;
+			pSettings[SC_HORIZONTAL_SPLIT_POSITION].Value <<= sal_Int32(nHSplitPos);
 		pSettings[SC_VERTICAL_SPLIT_POSITION].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_VERTICALSPLITPOSITION));
 		if (eVSplitMode == SC_SPLIT_FIX)
 			pSettings[SC_VERTICAL_SPLIT_POSITION].Value <<= sal_Int32(nFixPosY);
 		else
-			pSettings[SC_VERTICAL_SPLIT_POSITION].Value <<= nVSplitPos;
+			pSettings[SC_VERTICAL_SPLIT_POSITION].Value <<= sal_Int32(nVSplitPos);
 		pSettings[SC_ACTIVE_SPLIT_RANGE].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_ACTIVESPLITRANGE));
 		pSettings[SC_ACTIVE_SPLIT_RANGE].Value <<= sal_Int16(eWhichActive);
 		pSettings[SC_POSITION_LEFT].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_POSITIONLEFT));
