diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-15 20:44:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-16 08:49:30 +0200 |
commit | aeb099ec66fedbfc6a430f5c6b851989d2461b9b (patch) | |
tree | c12eff50ae51f7971b02c3296bc443f6545bf9c6 /shell/source/sessioninstall | |
parent | 55eb6fc8b83fe2f846a4f7448271a5b0fe03fbfc (diff) |
loplugin:ostr in shell
Change-Id: Ia3b9f7dc0ae67f420c3bed370f549a492251156b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167705
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'shell/source/sessioninstall')
-rw-r--r-- | shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 6 | ||||
-rw-r--r-- | shell/source/sessioninstall/SyncDbusSessionHelper.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx index 606eeb8fef03..16eefa56af42 100644 --- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx +++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx @@ -55,7 +55,7 @@ namespace &error.getRef()); } if(!proxy) - throw RuntimeException("couldn't get a proxy!"); + throw RuntimeException(u"couldn't get a proxy!"_ustr); return proxy; } @@ -105,12 +105,12 @@ namespace shell::sessioninstall Sequence< OUString > SAL_CALL SyncDbusSessionHelper::getSupportedServiceNames() { - return { "org.freedesktop.PackageKit.SyncDbusSessionHelper" }; + return { u"org.freedesktop.PackageKit.SyncDbusSessionHelper"_ustr }; } OUString SAL_CALL SyncDbusSessionHelper::getImplementationName() { - return "org.libreoffice.comp.shell.sessioninstall.SyncDbusSessionHelper"; + return u"org.libreoffice.comp.shell.sessioninstall.SyncDbusSessionHelper"_ustr; } sal_Bool SAL_CALL SyncDbusSessionHelper::supportsService(const OUString& aServiceName) diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx index 4daa458509bf..6f31fe5cd9f9 100644 --- a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx +++ b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx @@ -43,7 +43,7 @@ namespace shell::sessioninstall virtual void SAL_CALL InstallGStreamerResources( const css::uno::Sequence< OUString >& resources, const OUString& interaction ) override; virtual void SAL_CALL InstallResources( const css::uno::Sequence< OUString >& /* types */, const css::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) override - { throw css::uno::RuntimeException("InstallResources is not implemented"); } // not implemented + { throw css::uno::RuntimeException(u"InstallResources is not implemented"_ustr); } // not implemented virtual void SAL_CALL RemovePackageByFiles( const css::uno::Sequence< OUString >& files, const OUString& interaction ) override; @@ -53,7 +53,7 @@ namespace shell::sessioninstall virtual void SAL_CALL IsInstalled( const OUString& /* package_name */, const OUString& /* interaction */, sal_Bool& /* installed */ ) override; virtual void SAL_CALL SearchFile( const OUString& /* file_name */, const OUString& /* interaction */, sal_Bool& /* installed */, OUString& /* package_name */ ) override - { throw css::uno::RuntimeException("SearchFile is not implemented"); } // not implemented + { throw css::uno::RuntimeException(u"SearchFile is not implemented"_ustr); } // not implemented private: SyncDbusSessionHelper( const SyncDbusSessionHelper& ) = delete; |