summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-11 16:48:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-11 17:33:57 +0100
commit62128cda92ee3355d43e959e96028b993a38162f (patch)
treef50169071be182abe03f4180686dab387cc46808 /shell
parent9ef0c8b2d59105e6a9dd7d6f4ed6942bc4745ef8 (diff)
Strength-reduce some OUStringToOString("..."+...)
...to "..."+OUStringToOString(...), in preparation of making OUStringToOString take a std::u16string_view Change-Id: Ic01ca249d4d0eb58ac959ffdf96471308a3715dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107600 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index fc90c19a8fca..9b11b2f6f498 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -39,7 +39,7 @@ namespace
};
GDBusProxy* lcl_GetPackageKitProxy(const OUString& sInterface)
{
- const OString sFullInterface = OUStringToOString("org.freedesktop.PackageKit." + sInterface, RTL_TEXTENCODING_ASCII_US);
+ const OString sFullInterface = "org.freedesktop.PackageKit." + OUStringToOString(sInterface, RTL_TEXTENCODING_ASCII_US);
GDBusProxy* proxy = nullptr;
{
GErrorWrapper error;