Kaydet (Commit) 234b5de7 authored tarafından Michael Meeks's avatar Michael Meeks

vba: calm down bool -> long casting concerns.

Change-Id: Ib32a66d891242701d2f5c55519e5c52a6dd3df3c
üst be775a1a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment