diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:26:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:55 +0100 |
commit | b4af1664402ce1008e168d18e5e10b5d8f946f1c (patch) | |
tree | ebbbeca9ce190b95ad4fe0dd74a5ead68df6f546 /include/ucbhelper | |
parent | 05b4902145b0924393b5ae4d9e9dfb92d2926b99 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I3003db8a411740db48c2e0c6ecd81a7fd9209e6c
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/cancelcommandexecution.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/content.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/fd_inputstream.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/macros.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/resultset.hxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/ucbhelper/cancelcommandexecution.hxx b/include/ucbhelper/cancelcommandexecution.hxx index 6e850d57d658..01aaae657fef 100644 --- a/include/ucbhelper/cancelcommandexecution.hxx +++ b/include/ucbhelper/cancelcommandexecution.hxx @@ -90,7 +90,7 @@ UCBHELPER_DLLPUBLIC void cancelCommandExecution( const css::ucb::IOErrorCode eEr const css::uno::Sequence< css::uno::Any > & rArgs, const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv, const OUString & rMessage = OUString(), - const css::uno::Reference< css::ucb::XCommandProcessor > & xContext = 0 ) + const css::uno::Reference< css::ucb::XCommandProcessor > & xContext = nullptr ) throw( css::uno::Exception ); } diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx index 2cf186bb6631..7715470d58c1 100644 --- a/include/ucbhelper/content.hxx +++ b/include/ucbhelper/content.hxx @@ -653,7 +653,7 @@ public: const OUString & rMimeType = OUString( ), bool bMajorVersion = false, const OUString & rCommentVersion = OUString( ), - OUString* pResultURL = NULL, + OUString* pResultURL = nullptr, const OUString & rDocumentId = OUString( ) ) throw( css::ucb::CommandAbortedException, css::uno::RuntimeException, diff --git a/include/ucbhelper/fd_inputstream.hxx b/include/ucbhelper/fd_inputstream.hxx index 8dd0c544b45c..0959551a2f24 100644 --- a/include/ucbhelper/fd_inputstream.hxx +++ b/include/ucbhelper/fd_inputstream.hxx @@ -49,7 +49,7 @@ namespace ucbhelper * on which the inputstream acts. */ - FdInputStream(oslFileHandle tmpfl = 0); + FdInputStream(oslFileHandle tmpfl = nullptr); virtual ~FdInputStream(); diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx index 0cf62a46fef3..97e80454f871 100644 --- a/include/ucbhelper/macros.hxx +++ b/include/ucbhelper/macros.hxx @@ -52,7 +52,7 @@ css::uno::Sequence< css::uno::Type > SAL_CALL \ Class::getTypes() \ throw( css::uno::RuntimeException, std::exception ) \ { \ - static cppu::OTypeCollection* pCollection = NULL; \ + static cppu::OTypeCollection* pCollection = nullptr; \ if ( !pCollection ) \ { \ osl::Guard< osl::Mutex > aGuard( osl::Mutex::getGlobalMutex() ); \ diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx index 7d1e21690b9d..2acd65d1c24b 100644 --- a/include/ucbhelper/resultset.hxx +++ b/include/ucbhelper/resultset.hxx @@ -428,7 +428,7 @@ class ResultSetDataSupplier : public salhelper::SimpleReferenceObject ResultSet* m_pResultSet; public: - ResultSetDataSupplier() : m_pResultSet( 0 ) {} + ResultSetDataSupplier() : m_pResultSet( nullptr ) {} /** * This method returns the resultset this supplier belongs to. |