diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:18:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:20:34 +0100 |
commit | 520cd4e6886db99b6dd47527871f0d573933da8d (patch) | |
tree | 5fd079a770309a6de1647789935699d997032449 /bridges/source/cpp_uno/shared | |
parent | d9376e1fc80e322d527e001590b5f1312c7b9477 (diff) |
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: If07e4116c43cbddefbf443c4cbd754dde48c90a0
Diffstat (limited to 'bridges/source/cpp_uno/shared')
-rw-r--r-- | bridges/source/cpp_uno/shared/component.cxx | 2 | ||||
-rw-r--r-- | bridges/source/cpp_uno/shared/vtablefactory.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx index f27c6ec10b9e..02b683861c66 100644 --- a/bridges/source/cpp_uno/shared/component.cxx +++ b/bridges/source/cpp_uno/shared/component.cxx @@ -42,7 +42,7 @@ namespace bridges { namespace cpp_uno { namespace shared { namespace { #if (defined(__GNUC__) && defined(__APPLE__)) -static OUString * s_pStaticOidPart = 0; +static OUString * s_pStaticOidPart = nullptr; #endif const OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx index 893cbfe8878e..94da94d009ac 100644 --- a/bridges/source/cpp_uno/shared/vtablefactory.cxx +++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx @@ -314,7 +314,7 @@ bool VtableFactory::createBlock(Block &block, sal_Int32 slotCount) const { block.size = getBlockSize(slotCount); block.start = rtl_arena_alloc(m_arena, &block.size); - return block.start != 0; + return block.start != nullptr; } void VtableFactory::freeBlock(Block const & block) const { |