diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-07-14 10:48:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-14 20:44:23 +0200 |
commit | c816d9daff3bc7e90d9d3523c5756434bfa01414 (patch) | |
tree | 7f79250e92fc90f9aa5b49444c9e5a7c0b8b5521 /sfx2/source | |
parent | d7c2e893d8fd7c8e515c4cf075e62ea1baacdf17 (diff) |
Simplify OUString concatenation
Change-Id: I584d400791b3f7ee419f620255e65d9ea7d5145a
Reviewed-on: https://gerrit.libreoffice.org/75570
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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; |