summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrols.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:26:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:54 +0100
commit175e2adfd1677cb83373b0ba47853493f3b77859 (patch)
tree8509fc88a7b4875ece2b50530e35bef17d9d4d29 /toolkit/source/controls/unocontrols.cxx
parenta9b4c9ca3df362cbe0f7904003197bcadd607215 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ied9204441c07f1f6a6026c8c1a2fa21b93b98e1a
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r--toolkit/source/controls/unocontrols.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 2e691041a740..226be956dd14 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -81,7 +81,7 @@ ImageHelper::getGraphicAndGraphicObjectFromURL_nothrow( uno::Reference< graphic:
xOutGraphicObj = graphic::GraphicObject::createWithId( ::comphelper::getProcessComponentContext(), sID );
}
else // linked
- xOutGraphicObj = NULL; // release the GraphicObject
+ xOutGraphicObj = nullptr; // release the GraphicObject
return ImageHelper::getGraphicFromURL_nothrow( _rURL );
}
@@ -144,7 +144,7 @@ uno::Any UnoControlEditModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
::cppu::IPropertyArrayHelper& UnoControlEditModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -555,7 +555,7 @@ uno::Any UnoControlFileControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
::cppu::IPropertyArrayHelper& UnoControlFileControlModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -745,7 +745,7 @@ uno::Any UnoControlButtonModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
::cppu::IPropertyArrayHelper& UnoControlButtonModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -996,7 +996,7 @@ uno::Any UnoControlImageControlModel::ImplGetDefaultValue( sal_uInt16 nPropId )
::cppu::IPropertyArrayHelper& UnoControlImageControlModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -1159,7 +1159,7 @@ uno::Any UnoControlRadioButtonModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
::cppu::IPropertyArrayHelper& UnoControlRadioButtonModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -1416,7 +1416,7 @@ uno::Any UnoControlCheckBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) cons
::cppu::IPropertyArrayHelper& UnoControlCheckBoxModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -1657,7 +1657,7 @@ uno::Any UnoControlFixedHyperlinkModel::ImplGetDefaultValue( sal_uInt16 nPropId
::cppu::IPropertyArrayHelper& UnoControlFixedHyperlinkModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -1854,7 +1854,7 @@ uno::Any UnoControlFixedTextModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
::cppu::IPropertyArrayHelper& UnoControlFixedTextModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -2036,7 +2036,7 @@ uno::Any UnoControlGroupBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) cons
::cppu::IPropertyArrayHelper& UnoControlGroupBoxModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -2284,7 +2284,7 @@ uno::Any UnoControlListBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
::cppu::IPropertyArrayHelper& UnoControlListBoxModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -3169,7 +3169,7 @@ uno::Reference< beans::XPropertySetInfo > UnoControlComboBoxModel::getPropertySe
::cppu::IPropertyArrayHelper& UnoControlComboBoxModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -3690,7 +3690,7 @@ uno::Any UnoControlDateFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
::cppu::IPropertyArrayHelper& UnoControlDateFieldModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -3979,7 +3979,7 @@ uno::Any UnoControlTimeFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
::cppu::IPropertyArrayHelper& UnoControlTimeFieldModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -4227,7 +4227,7 @@ uno::Any UnoControlNumericFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
::cppu::IPropertyArrayHelper& UnoControlNumericFieldModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -4478,7 +4478,7 @@ uno::Any UnoControlCurrencyFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
::cppu::IPropertyArrayHelper& UnoControlCurrencyFieldModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -4722,7 +4722,7 @@ uno::Any UnoControlPatternFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
::cppu::IPropertyArrayHelper& UnoControlPatternFieldModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -4916,7 +4916,7 @@ uno::Any UnoControlProgressBarModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
::cppu::IPropertyArrayHelper& UnoControlProgressBarModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
@@ -5093,7 +5093,7 @@ uno::Any UnoControlFixedLineModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
::cppu::IPropertyArrayHelper& UnoControlFixedLineModel::getInfoHelper()
{
- static UnoPropertyArrayHelper* pHelper = NULL;
+ static UnoPropertyArrayHelper* pHelper = nullptr;
if ( !pHelper )
{
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();