Kaydet (Commit) 10e15625 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:defaultparams

Change-Id: I0a64398f49c8823327263aad0c79b182161177ea
üst e07d58cd
...@@ -548,7 +548,7 @@ namespace frm ...@@ -548,7 +548,7 @@ namespace frm
} }
else else
{ {
SfxSlotPool& rSlotPool = SfxSlotPool::GetSlotPool( NULL ); SfxSlotPool& rSlotPool = SfxSlotPool::GetSlotPool();
const SfxSlot* pSlot = rSlotPool.GetSlot( _nSlotId ); const SfxSlot* pSlot = rSlotPool.GetSlot( _nSlotId );
const SfxType* pType = pSlot ? pSlot->GetType() : NULL; const SfxType* pType = pSlot ? pSlot->GetType() : NULL;
if ( pType ) if ( pType )
...@@ -639,7 +639,7 @@ namespace frm ...@@ -639,7 +639,7 @@ namespace frm
if ( _rURL.Complete.startsWith( sUnoProtocolPrefix ) ) if ( _rURL.Complete.startsWith( sUnoProtocolPrefix ) )
{ {
OUString sUnoSlotName = _rURL.Complete.copy( sUnoProtocolPrefix.getLength() ); 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 ) if ( nSlotId > 0 )
{ {
// do we already have a dispatcher for this? // do we already have a dispatcher for this?
......
...@@ -93,7 +93,7 @@ namespace ...@@ -93,7 +93,7 @@ namespace
{ {
rtl_math_ConversionStatus eStatus; rtl_math_ConversionStatus eStatus;
double f = rtl::math::stringToDouble( double f = rtl::math::stringToDouble(
rString, '.', ',', &eStatus, NULL ); rString, '.', ',', &eStatus );
return ( eStatus == rtl_math_ConversionStatus_Ok ) ? makeAny( f ) : Any(); return ( eStatus == rtl_math_ConversionStatus_Ok ) ? makeAny( f ) : Any();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment