1. mst
  2. ooo340

Commits

Ocke Janssen [oj]  committed a15f5ce

dba34d: #i86167# fix for 64 bit long value to int32

  • Participants
  • Parent commits 897fee0
  • Branches default

Comments (0)

Files changed (1)

File dbaccess/source/ui/querydesign/JoinController.cxx

View file
 			aWindowData.put( "ComposedName", (*aIter)->GetComposedName() );
 			aWindowData.put( "TableName", (*aIter)->GetTableName() );
 			aWindowData.put( "WindowName", (*aIter)->GetWinName() );
-			aWindowData.put( "WindowTop", (*aIter)->GetPosition().Y() );
-			aWindowData.put( "WindowLeft", (*aIter)->GetPosition().X() );
-			aWindowData.put( "WindowWidth", (*aIter)->GetSize().Width() );
-			aWindowData.put( "WindowHeight", (*aIter)->GetSize().Height() );
+			aWindowData.put( "WindowTop", static_cast<sal_Int32>((*aIter)->GetPosition().Y()) );
+			aWindowData.put( "WindowLeft", static_cast<sal_Int32>((*aIter)->GetPosition().X()) );
+			aWindowData.put( "WindowWidth", static_cast<sal_Int32>((*aIter)->GetSize().Width()) );
+			aWindowData.put( "WindowHeight", static_cast<sal_Int32>((*aIter)->GetSize().Height()) );
 			aWindowData.put( "ShowAll", (*aIter)->IsShowAll() );
 
             const ::rtl::OUString sTableName( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Table" ) ) + ::rtl::OUString::valueOf( i ) );