summaryrefslogtreecommitdiff
path: root/svx/source/gengal/gengal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gengal/gengal.cxx')
-rw-r--r--svx/source/gengal/gengal.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 3690a9ffeb6e..aae699446c5c 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -170,7 +170,7 @@ static INetURLObject Smartify( const OUString &rPath )
void GalApp::Init()
{
try {
- if( !mbInBuildTree && getenv( "OOO_INSTALL_PREFIX" ) == NULL ) {
+ if( !mbInBuildTree && getenv( "OOO_INSTALL_PREFIX" ) == nullptr ) {
OUString fileName = GetAppFileName();
int lastSlash = fileName.lastIndexOf( '/' );
#ifdef WNT
@@ -335,7 +335,7 @@ void GalApp::DeInit()
uno::Reference< lang::XComponent >(
comphelper::getProcessComponentContext(),
uno::UNO_QUERY_THROW )-> dispose();
- ::comphelper::setProcessServiceFactory( NULL );
+ ::comphelper::setProcessServiceFactory( nullptr );
}
void vclmain::createApplication()