[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 25 12:27:49 UTC 2021
extensions/source/ole/unoconversionutilities.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 8d588425ea03cfdc93ba0028377354b23060b47f
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 25 10:44:48 2021 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jun 25 14:27:08 2021 +0200
-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
...ever since 95117e7fefa9ae82431dcdffd1e58495730f6f54 "initial import"
Change-Id: Id1590c855a604862796549376f2c3f6d76d3cb2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117847
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 57ded2ce696c..338d85b622da 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -2108,7 +2108,6 @@ template<class T>
Sequence<Any> UnoConversionUtilities<T>::createOleArrayWrapperOfDim(SAFEARRAY* pArray,
unsigned int dimCount, unsigned int actDim, LONG* index, VARTYPE type, const Type& unotype)
{
- HRESULT hr= S_OK;
LONG lBound;
LONG uBound;
LONG nCountElements;
@@ -2158,7 +2157,7 @@ Sequence<Any> UnoConversionUtilities<T>::createOleArrayWrapperOfDim(SAFEARRAY* p
SafeArrayGetElement(pArray, index, &V_DATE(&variant));
break;
case VT_BSTR:
- hr= SafeArrayGetElement(pArray, index, &V_BSTR(&variant));
+ SafeArrayGetElement(pArray, index, &V_BSTR(&variant));
break;
case VT_DISPATCH:
SafeArrayGetElement(pArray, index, &V_DISPATCH(&variant));
More information about the Libreoffice-commits
mailing list