From 87a9abf351d1547638ec25c72d7fcb27d1b61440 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:11:36 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: Ic33cbe3feed8aec9f7578aea2cbd809169d9b8c8 --- include/codemaker/commoncpp.hxx | 2 +- include/codemaker/typemanager.hxx | 4 ++-- include/codemaker/unotype.hxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/codemaker') diff --git a/include/codemaker/commoncpp.hxx b/include/codemaker/commoncpp.hxx index 48c071dfbed1..e09b387cd92e 100644 --- a/include/codemaker/commoncpp.hxx +++ b/include/codemaker/commoncpp.hxx @@ -54,7 +54,7 @@ enum IdentifierTranslationMode { rtl::OString translateUnoToCppIdentifier( rtl::OString const & identifier, rtl::OString const & prefix, IdentifierTranslationMode transmode = ITM_GLOBAL, - rtl::OString const * forbidden = 0); + rtl::OString const * forbidden = nullptr); } } diff --git a/include/codemaker/typemanager.hxx b/include/codemaker/typemanager.hxx index d9bb4d83d5af..0d57a7ef80ff 100644 --- a/include/codemaker/typemanager.hxx +++ b/include/codemaker/typemanager.hxx @@ -47,8 +47,8 @@ public: bool foundAtPrimaryProvider(OUString const & name) const; codemaker::UnoType::Sort getSort( - OUString const & name, rtl::Reference< unoidl::Entity > * entity = 0, - rtl::Reference< unoidl::MapCursor > * cursor = 0) const; + OUString const & name, rtl::Reference< unoidl::Entity > * entity = nullptr, + rtl::Reference< unoidl::MapCursor > * cursor = nullptr) const; codemaker::UnoType::Sort decompose( OUString const & name, bool resolveTypedefs, OUString * nucleus, diff --git a/include/codemaker/unotype.hxx b/include/codemaker/unotype.hxx index 6c747dda8068..ef2859c1dee1 100644 --- a/include/codemaker/unotype.hxx +++ b/include/codemaker/unotype.hxx @@ -80,8 +80,8 @@ namespace UnoType { @return the base part of the given type */ rtl::OString decompose( - rtl::OString const & type, sal_Int32 * rank = 0, - std::vector< rtl::OString > * arguments = 0); + rtl::OString const & type, sal_Int32 * rank = nullptr, + std::vector< rtl::OString > * arguments = nullptr); } } -- cgit v1.2.3