summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-10-26 10:53:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-10-26 22:38:04 +0200
commit3fd9f90cfa620d7148d969a41df86da9e26e43f7 (patch)
treef0bc32a8227ef1921ce8414e70f8e818afa4b5af /sfx2
parentf1a3218a91d53ca40058598580ed0031336eb21c (diff)
Remove OUStringBuffer member function overloads for OUStringLiteral
...which are already adequately covered by overloads for OUString and the OUStringLiteral-to-OUString implicit conversion that became cheap in e6dfaf9f44f9939abc338c83b3024108431d0f69 "Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString". The only place where the removal of the ctor overload caused an issue for copy- initialization (in sfx2/source/appl/newhelp.cxx) could easily be rewritten using direct-initialization. Change-Id: I458fb80eebabf981633f3437e7e967caa4c50a5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124176 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/newhelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 92007f02afcf..5d0e582b03a6 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -558,7 +558,7 @@ void IndexTabPage_Impl::InitializeIndex()
try
{
- OUStringBuffer aURL = HELP_URL;
+ OUStringBuffer aURL(HELP_URL);
aURL.append(sFactory);
AppendConfigToken(aURL, true);