[Libreoffice-commits] core.git: basic/source
Michael Meeks
michael.meeks at collabora.com
Fri Sep 19 12:16:07 PDT 2014
basic/source/runtime/dllmgr-none.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 234b5de79fd10bd99b75d7b968581af7b6ffe44b
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri Sep 19 20:15:09 2014 +0100
vba: calm down bool -> long casting concerns.
Change-Id: Ib32a66d891242701d2f5c55519e5c52a6dd3df3c
diff --git a/basic/source/runtime/dllmgr-none.cxx b/basic/source/runtime/dllmgr-none.cxx
index 426b2b1..90d628d 100644
--- a/basic/source/runtime/dllmgr-none.cxx
+++ b/basic/source/runtime/dllmgr-none.cxx
@@ -42,7 +42,7 @@ namespace {
SbError returnInt64InOutArg(SbxArray *pArgs, SbxVariable &rRetVal,
sal_Int64 nValue)
{
- if (!rRetVal.PutLong(true) && !rRetVal.PutInteger(true))
+ if (!rRetVal.PutLong(1) && !rRetVal.PutInteger(1))
return ERRCODE_BASIC_BAD_ARGUMENT;
if (!pArgs || pArgs->Count() != 2)
return ERRCODE_BASIC_BAD_ARGUMENT;
More information about the Libreoffice-commits
mailing list