sfx2/source/dialog/filtergrouping.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit c816d9daff3bc7e90d9d3523c5756434bfa01414 Author: Christophe JAILLET <christophe.jail...@wanadoo.fr> AuthorDate: Sun Jul 14 10:48:31 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Jul 14 20:44:23 2019 +0200 Simplify OUString concatenation Change-Id: I584d400791b3f7ee419f620255e65d9ea7d5145a Reviewed-on: https://gerrit.libreoffice.org/75570 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 5a5660f7e550..d8a65266a061 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -1152,9 +1152,7 @@ namespace sfx2 // show '*' in extensions only when opening a document sExt = sExt.replaceAll("*", ""); } - sRet += " ("; - sRet += sExt; - sRet += ")"; + sRet += " (" + sExt + ")"; } _rFileDlgImpl.addFilterPair( _rDisplayText, sRet ); return sRet; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits