summaryrefslogtreecommitdiff
path: root/include/com
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-06 16:19:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-06 19:20:29 +0100
commita596dd99de287c696c70f0c789a774399381f36f (patch)
treeda2446ed4a5ed65e458b7a17e019dd82353f1a35 /include/com
parent08615ce879927bc58924e9591985f27fe59a11fa (diff)
loplugin:nullptr
...in non-dependent templated code that Clang trunk now apparently processes more aggressively, presumably since <https://github.com/llvm/llvm-project/ commit/878a24ee244a24c39d1c57e9af2e88c621f7cce9> "Reapply 'Fix crash on switch conditions of non-integer types in templates'" Change-Id: Ia3e4bc6cfe7cea9f816e9282563a8b38e40f0cec Reviewed-on: https://gerrit.libreoffice.org/84649 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/com')
-rw-r--r--include/com/sun/star/uno/Sequence.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/com/sun/star/uno/Sequence.hxx b/include/com/sun/star/uno/Sequence.hxx
index c31e43141ca3..373d97624cd8 100644
--- a/include/com/sun/star/uno/Sequence.hxx
+++ b/include/com/sun/star/uno/Sequence.hxx
@@ -55,7 +55,7 @@ inline Sequence< E >::Sequence()
const Type & rType = ::cppu::getTypeFavourUnsigned( this );
::uno_type_sequence_construct(
&_pSequence, rType.getTypeLibType(),
- 0, 0, cpp_acquire );
+ NULL, 0, cpp_acquire );
// no bad_alloc, because empty sequence is statically allocated in cppu
}
@@ -102,7 +102,7 @@ inline Sequence< E >::Sequence( sal_Int32 len )
bool success =
::uno_type_sequence_construct(
&_pSequence, rType.getTypeLibType(),
- 0, len, cpp_acquire );
+ NULL, len, cpp_acquire );
if (! success)
throw ::std::bad_alloc();
}