summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/scriptdocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/scriptdocument.cxx')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 4ce587241c0c..d239fd29fe3e 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -415,7 +415,7 @@ namespace basctl
{
OSL_ENSURE( isValid(), "ScriptDocument::Impl::getBasicManager: invalid state!" );
if ( !isValid() )
- return NULL;
+ return nullptr;
if ( isApplication() )
return SfxApplication::GetBasicManager();
@@ -426,7 +426,7 @@ namespace basctl
{
SAL_WARN( "basctl.basicide", "ScriptDocument::getBasicManager: Caught exception: " << e.Message );
}
- return NULL;
+ return nullptr;
}
Reference< XModel > ScriptDocument::Impl::getDocument() const
@@ -434,7 +434,7 @@ namespace basctl
OSL_ENSURE( isValid(), "ScriptDocument::Impl::getDocument: invalid state!" );
OSL_ENSURE( isDocument(), "ScriptDocument::Impl::getDocument: for documents only!" );
if ( !isValid() || !isDocument() )
- return NULL;
+ return nullptr;
return m_xDocument;
}
@@ -1336,7 +1336,7 @@ namespace basctl
{
if ( isDocument() )
return m_pImpl->getDocument();
- return NULL;
+ return nullptr;
}
@@ -1364,7 +1364,7 @@ namespace basctl
bool ScriptDocument::renameModule( const OUString& _rLibName, const OUString& _rOldName, const OUString& _rNewName ) const
{
- return m_pImpl->renameModuleOrDialog( E_SCRIPTS, _rLibName, _rOldName, _rNewName, NULL );
+ return m_pImpl->renameModuleOrDialog( E_SCRIPTS, _rLibName, _rOldName, _rNewName, nullptr );
}