summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-07-26 19:52:15 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-07-26 19:52:15 -0500
commitd4895b0631c10afa7838e79d311684200f637513 (patch)
tree2c82b0fb2527c9576dd41888832d42dbd944971b /svx
parentc5267abd36e447591820c09416d4ef71b1a3c870 (diff)
add cast of 0 to (sal_Int320) to keep the compiler happy
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 20d0c7dba41a..02bc2a2dc2dd 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);