summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/eformshelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:14:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:25 +0100
commitf19dda5a55156afda2c6dde6c51c455cc5657fc2 (patch)
treea0ec501f676cf5ec67aaf0eb3b8572dc1bad0db0 /extensions/source/propctrlr/eformshelper.cxx
parente1e967a1bb0f4e4fac50f353c990389ccc73a053 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I5bbef6c88255f3e8c740a5239a5010cf1251b7fa
Diffstat (limited to 'extensions/source/propctrlr/eformshelper.cxx')
-rw-r--r--extensions/source/propctrlr/eformshelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx
index 9ca7908c6838..53ce924cf45f 100644
--- a/extensions/source/propctrlr/eformshelper.cxx
+++ b/extensions/source/propctrlr/eformshelper.cxx
@@ -130,7 +130,7 @@ namespace pcr
sal_Int16 nRadiobuttonCompatibleTypes[] = { DataTypeClass::STRING, DataTypeClass::anyURI, 0 };
sal_Int16 nFormattedCompatibleTypes[] = { DataTypeClass::DECIMAL, DataTypeClass::FLOAT, DataTypeClass::DOUBLE, DataTypeClass::DATETIME, DataTypeClass::DATE, DataTypeClass::TIME, 0 };
- sal_Int16* pCompatibleTypes = NULL;
+ sal_Int16* pCompatibleTypes = nullptr;
switch ( nControlType )
{
case FormComponentType::SPINBUTTON:
@@ -478,9 +478,9 @@ namespace pcr
Reference< XValueBinding > xBinding( _rxBinding, UNO_QUERY );
OSL_ENSURE( xBinding.is() || !_rxBinding.is(), "EFormsHelper::setBinding: invalid binding!" );
- impl_toggleBindingPropertyListening_throw( false, NULL );
+ impl_toggleBindingPropertyListening_throw( false, nullptr );
m_xBindableControl->setValueBinding( xBinding );
- impl_toggleBindingPropertyListening_throw( true, NULL );
+ impl_toggleBindingPropertyListening_throw( true, nullptr );
::std::set< OUString > aSet;
firePropertyChanges( xOldBinding, _rxBinding, aSet );
@@ -750,11 +750,11 @@ namespace pcr
if ( _rFilter.find( aProp->Name ) != _rFilter.end() )
continue;
- Any aOldValue( NULL, aProp->Type );
+ Any aOldValue( nullptr, aProp->Type );
if ( xOldInfo.is() && xOldInfo->hasPropertyByName( aProp->Name ) )
aOldValue = _rxOldProps->getPropertyValue( aProp->Name );
- Any aNewValue( NULL, aProp->Type );
+ Any aNewValue( nullptr, aProp->Type );
if ( xNewInfo.is() && xNewInfo->hasPropertyByName( aProp->Name ) )
aNewValue = _rxNewProps->getPropertyValue( aProp->Name );