diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:29:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:32:01 +0100 |
commit | 51b45df6bba163dec7ba91c700de695ad517e5dd (patch) | |
tree | 566633496f4048112c75edbbe250b0f01d86a8dd /xmloff/inc | |
parent | 87bae0e188aa3ce3c31d1aa91707c0fad6b81b65 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I8690de2cb68dcfedc9f2239ce66cea06fd94bc16
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/MultiPropertySetHelper.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/XMLChartPropertySetMapper.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/animationimport.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/txtflde.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/txtlists.hxx | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/inc/MultiPropertySetHelper.hxx b/xmloff/inc/MultiPropertySetHelper.hxx index f6a248d33ddb..35650f5bc278 100644 --- a/xmloff/inc/MultiPropertySetHelper.hxx +++ b/xmloff/inc/MultiPropertySetHelper.hxx @@ -163,7 +163,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XMultiPropertySet> & ); - inline void resetValues() { pValues = 0; } + inline void resetValues() { pValues = nullptr; } }; diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx index 90e6db8d8dea..1f88294e187b 100644 --- a/xmloff/inc/XMLChartPropertySetMapper.hxx +++ b/xmloff/inc/XMLChartPropertySetMapper.hxx @@ -60,14 +60,14 @@ private: virtual void handleElementItem( SvXMLExport& rExport, const XMLPropertyState& rProperty, SvXmlExportFlags nFlags, - const ::std::vector< XMLPropertyState > *pProperties = 0, + const ::std::vector< XMLPropertyState > *pProperties = nullptr, sal_uInt32 nIdx = 0 ) const override; /// this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set virtual void handleSpecialItem( SvXMLAttributeList& rAttrList, const XMLPropertyState& rProperty, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, - const ::std::vector< XMLPropertyState > *pProperties = 0, + const ::std::vector< XMLPropertyState > *pProperties = nullptr, sal_uInt32 nIdx = 0 ) const override; public: diff --git a/xmloff/inc/animationimport.hxx b/xmloff/inc/animationimport.hxx index 8e406e9e5f2c..68c225342e0c 100644 --- a/xmloff/inc/animationimport.hxx +++ b/xmloff/inc/animationimport.hxx @@ -46,7 +46,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList, - AnimationsImportHelperImpl* mpImpl = NULL ); + AnimationsImportHelperImpl* mpImpl = nullptr ); virtual ~AnimationNodeContext(); virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) override; diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx index 6178b190a165..a3b723e3770c 100644 --- a/xmloff/inc/txtflde.hxx +++ b/xmloff/inc/txtflde.hxx @@ -164,7 +164,7 @@ public: XMLTextFieldExport( SvXMLExport& rExp, /// XMLPropertyState for the combined characters field - XMLPropertyState* pCombinedCharState = NULL ); + XMLPropertyState* pCombinedCharState = nullptr ); virtual ~XMLTextFieldExport(); /// Export this field and the surrounding span element with the formatting. diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx index 2ae38bad595b..b204eab460b8 100644 --- a/xmloff/inc/txtlists.hxx +++ b/xmloff/inc/txtlists.hxx @@ -43,7 +43,7 @@ class XMLTextListsHelper : private boost::noncopyable /// list stack for importing: /// push a list context on the list context stack - void PushListContext(XMLTextListBlockContext *i_pListBlock = 0); + void PushListContext(XMLTextListBlockContext *i_pListBlock = nullptr); void PushListContext(XMLNumberedParaContext *i_pNumberedParagraph); /// pop the list context stack void PopListContext(); @@ -120,8 +120,8 @@ class XMLTextListsHelper : private boost::noncopyable const OUString& i_ParentStyleName, const OUString& i_StyleName, sal_Int16 & io_rLevel, - bool* o_pRestartNumbering = 0, - bool* io_pSetDefaults = 0); + bool* o_pRestartNumbering = nullptr, + bool* io_pSetDefaults = nullptr); private: |