[Libreoffice-commits] .: svx/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Tue Jul 26 17:52:22 PDT 2011


 svx/source/tbxctrls/tbunosearchcontrollers.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8033da767a79ee48ddecef1d1d54cd390c6f6a0f
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Jul 26 19:52:15 2011 -0500

    add cast of 0 to (sal_Int320) to keep the compiler happy

diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index e7eb99c..1199507 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -174,7 +174,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt )
                     lArgs[1].Value <<= sal_False;
 
                 lArgs[2].Name = SEARCHITEM_SEARCHFLAGS;
-                lArgs[2].Value <<= 0;
+                lArgs[2].Value <<= (sal_Int32)0;
 
                 impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
                 nRet = 1;
@@ -566,7 +566,7 @@ void SAL_CALL DownSearchToolboxController::execute( sal_Int16 /*KeyModifier*/ )
     lArgs[1].Name = SEARCHITEM_SEARCHBACKWARD;
     lArgs[1].Value <<= sal_False;
     lArgs[2].Name = SEARCHITEM_SEARCHFLAGS;
-    lArgs[2].Value <<= 0;
+    lArgs[2].Value <<= (sal_Int32)0;
 
     impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
 
@@ -697,7 +697,7 @@ void SAL_CALL UpSearchToolboxController::execute( sal_Int16 /*KeyModifier*/ ) th
     lArgs[1].Name = SEARCHITEM_SEARCHBACKWARD;
     lArgs[1].Value <<= sal_True;
     lArgs[2].Name = SEARCHITEM_SEARCHFLAGS;
-    lArgs[2].Value <<= 0;
+    lArgs[2].Value <<= (sal_Int32)0;
 
     impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
 


More information about the Libreoffice-commits mailing list