summaryrefslogtreecommitdiff
path: root/basic/source/classes/errobject.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:10:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:17 +0100
commit08e49fa3377d8c4e7e5df7a32233fcd9763ee936 (patch)
treef06399e5a005a70612093f415bd02ea2d1ba719f /basic/source/classes/errobject.cxx
parenta17cde058213f962b8de880de6f5b1e4f2061b37 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1ec9a671fe3ac838feb36297915e3cdf8749d944
Diffstat (limited to 'basic/source/classes/errobject.cxx')
-rw-r--r--basic/source/classes/errobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx
index 202b76aed444..7bf209563d91 100644
--- a/basic/source/classes/errobject.cxx
+++ b/basic/source/classes/errobject.cxx
@@ -173,7 +173,7 @@ void ErrObject::setData( const uno::Any& Number, const uno::Any& Source, const u
// SbxErrObject
SbxErrObject::SbxErrObject( const OUString& rName, const uno::Any& rUnoObj )
: SbUnoObject( rName, rUnoObj )
- , m_pErrObject( NULL )
+ , m_pErrObject( nullptr )
{
OSL_TRACE("SbxErrObject::SbxErrObject ctor");
rUnoObj >>= m_xErr;
@@ -207,7 +207,7 @@ SbxErrObject::getErrObject()
void SbxErrObject::setNumberAndDescription( ::sal_Int32 _number, const OUString& _description )
throw (uno::RuntimeException)
{
- if( m_pErrObject != NULL )
+ if( m_pErrObject != nullptr )
{
m_pErrObject->setData( uno::makeAny( _number ), uno::Any(), uno::makeAny( _description ), uno::Any(), uno::Any() );
}