diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-21 15:49:36 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-23 23:25:47 +0200 |
commit | f486329a03b8667bd958624937f02edc9af143d1 (patch) | |
tree | 39aca9529f23fa4ab0231d7905c2554a82979abf /shell | |
parent | e44b034512551c09689edcecfa7401ecbb4af80e (diff) |
TDE fix some clang plugin based warnings
Change-Id: I3b44038e8a889e4c13126fd8d721e53e71ea9ec6
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/kdebe/kdebackend.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx index 738113127444..20059d804bf1 100644 --- a/shell/source/backends/kdebe/kdebackend.cxx +++ b/shell/source/backends/kdebe/kdebackend.cxx @@ -73,7 +73,7 @@ public: Service& operator=(const Service&) = delete; private: - virtual ~Service() {} + virtual ~Service() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override @@ -146,9 +146,8 @@ Service::Service(): enabled_(false) { if (context.is()) { OUString desktop; context->getValueByName( - OUString("system.desktop-environment")) >>= - desktop; - enabled_ = desktop == "KDE" && KApplication::kApplication() != 0; + "system.desktop-environment") >>= desktop; + enabled_ = desktop == "KDE" && KApplication::kApplication() != nullptr; } } @@ -194,9 +193,9 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( static cppu::ImplementationEntry const services[] = { { &createInstance, &getServiceImplementationName, - &getServiceSupportedServiceNames, &cppu::createSingleComponentFactory, 0, + &getServiceSupportedServiceNames, &cppu::createSingleComponentFactory, nullptr, 0 }, - { 0, 0, 0, 0, 0, 0 } + { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } }; } |