summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:44:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:44:49 +0200
commitfc0b9a349370b225725a42dd82b77bfd7abcd478 (patch)
tree1480ad017a3418a3176f5c3a036acd37606ab992 /basic
parentf5ee3b398e767058ffc0d439c3b7f123ebedf3cc (diff)
loplugin:defaultparams
Change-Id: I5a3852f85f20543165e174da9cd9a36da9a3df8d
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index ab36e858888c..10d7f147159c 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1265,7 +1265,7 @@ void SbModule::Run( SbMethod* pMeth )
bQuit = true;
if ( bQuit )
{
- Application::PostUserEvent( LINK( &AsyncQuitHandler::instance(), AsyncQuitHandler, OnAsyncQuit ), NULL );
+ Application::PostUserEvent( LINK( &AsyncQuitHandler::instance(), AsyncQuitHandler, OnAsyncQuit ) );
}
}
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 6cff6020fde1..b0aaa1597905 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -2814,7 +2814,7 @@ void SbiRuntime::StepLOADNC( sal_uInt32 nOp1 )
{
aStr = aStr.replaceAt(iComma, 1, OUString("."));
}
- double n = ::rtl::math::stringToDouble( aStr, '.', ',', NULL, NULL );
+ double n = ::rtl::math::stringToDouble( aStr, '.', ',' );
p->PutDouble( n );
PushVar( p );