diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:15:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:25 +0100 |
commit | 3cdda9af2c12a9ae2a1f0bdf8ca898f1f5c69bfb (patch) | |
tree | ba25525cbc9661509d8f01e93164e0febb8a0894 /filter/source/config/cache/filtercache.cxx | |
parent | 7702e3128768f1b4b8a1ee9e87e397887e151af4 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I61e494952df8cc40fff3ccad0936adf06035dbeb
Diffstat (limited to 'filter/source/config/cache/filtercache.cxx')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index f4b0874c91ac..dacad0981133 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -801,7 +801,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig ::osl::ResettableMutexGuard aLock(m_aLock); OUString sPath ; - css::uno::Reference< css::uno::XInterface >* pConfig = 0; + css::uno::Reference< css::uno::XInterface >* pConfig = nullptr; css::uno::Reference< css::uno::XInterface > xOld ; OString sRtlLog ; @@ -847,7 +847,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig } break; - default : throw css::uno::RuntimeException("These configuration node is not supported here for open!", 0); + default : throw css::uno::RuntimeException("These configuration node is not supported here for open!", nullptr); } { @@ -1264,7 +1264,7 @@ void FilterCache::impl_addItem2FlushList( EItemType eType, const OUString& sItem) throw(css::uno::Exception) { - OUStringList* pList = 0; + OUStringList* pList = nullptr; switch(eType) { case E_TYPE : @@ -1283,7 +1283,7 @@ void FilterCache::impl_addItem2FlushList( EItemType eType, pList = &m_lChangedContentHandlers; break; - default : throw css::uno::RuntimeException("unsupported item type", 0); + default : throw css::uno::RuntimeException("unsupported item type", nullptr); } OUStringList::const_iterator pItem = ::std::find(pList->begin(), pList->end(), sItem); @@ -1736,7 +1736,7 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType const OUString& sItem) throw(css::uno::Exception) { - CacheItemList* pList = 0; + CacheItemList* pList = nullptr; css::uno::Reference< css::uno::XInterface > xConfig ; OUString sSet ; |