summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:39 +0200
commit10e1562565d546418aedb86ede5cb61e89510df3 (patch)
treebcc42c826de018b0e451406e47982ff8a254daea /forms
parente07d58cd6536eceb66a1e8a1b3d49a4d1acf432a (diff)
loplugin:defaultparams
Change-Id: I0a64398f49c8823327263aad0c79b182161177ea
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextcontrol.cxx4
-rw-r--r--forms/source/xforms/convert.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index de244900e5e6..1dc7d24dcc45 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -548,7 +548,7 @@ namespace frm
}
else
{
- SfxSlotPool& rSlotPool = SfxSlotPool::GetSlotPool( NULL );
+ SfxSlotPool& rSlotPool = SfxSlotPool::GetSlotPool();
const SfxSlot* pSlot = rSlotPool.GetSlot( _nSlotId );
const SfxType* pType = pSlot ? pSlot->GetType() : NULL;
if ( pType )
@@ -639,7 +639,7 @@ namespace frm
if ( _rURL.Complete.startsWith( sUnoProtocolPrefix ) )
{
OUString sUnoSlotName = _rURL.Complete.copy( sUnoProtocolPrefix.getLength() );
- SfxSlotId nSlotId = lcl_getSlotFromUnoName( SfxSlotPool::GetSlotPool( NULL ), sUnoSlotName );
+ SfxSlotId nSlotId = lcl_getSlotFromUnoName( SfxSlotPool::GetSlotPool(), sUnoSlotName );
if ( nSlotId > 0 )
{
// do we already have a dispatcher for this?
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index 49eab9bc30c3..9465093245da 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -93,7 +93,7 @@ namespace
{
rtl_math_ConversionStatus eStatus;
double f = rtl::math::stringToDouble(
- rString, '.', ',', &eStatus, NULL );
+ rString, '.', ',', &eStatus );
return ( eStatus == rtl_math_ConversionStatus_Ok ) ? makeAny( f ) : Any();
}