summaryrefslogtreecommitdiff
path: root/shell/source/sessioninstall
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/sessioninstall')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx6
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.hxx4
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;