[Libreoffice-commits] .: dbaccess/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Jan 21 07:34:46 PST 2011


 dbaccess/source/ui/querydesign/JoinController.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 32f40c5c40e346b97b4f84f68064c71b6524c12c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 21 15:34:41 2011 +0000

    oops, I'm such an idiot

diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx
index cbd19e5..1af538a 100644
--- a/dbaccess/source/ui/querydesign/JoinController.cxx
+++ b/dbaccess/source/ui/querydesign/JoinController.cxx
@@ -444,10 +444,10 @@ void OJoinController::saveTableWindows( ::comphelper::NamedValueCollection& o_rV
             aWindowData.put( "ComposedName", (*aIter)->GetComposedName() );
             aWindowData.put( "TableName", (*aIter)->GetTableName() );
             aWindowData.put( "WindowName", (*aIter)->GetWinName() );
-            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( "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 ) );


More information about the Libreoffice-commits mailing list