diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-09-19 20:15:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-09-19 20:15:09 +0100 |
commit | 234b5de79fd10bd99b75d7b968581af7b6ffe44b (patch) | |
tree | c840c4908faa07f1de950e8073b59ee27fe58a11 /basic | |
parent | be775a1ab40ccedfbc9659120b82867d6c128e6a (diff) |
vba: calm down bool -> long casting concerns.
Change-Id: Ib32a66d891242701d2f5c55519e5c52a6dd3df3c
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/dllmgr-none.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/dllmgr-none.cxx b/basic/source/runtime/dllmgr-none.cxx index 426b2b156a4f..90d628dcd429 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; |