[Libreoffice-commits] core.git: sfx2/source
Christophe JAILLET (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jul 14 18:45:19 UTC 2019
sfx2/source/dialog/filtergrouping.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit c816d9daff3bc7e90d9d3523c5756434bfa01414
Author: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
AuthorDate: Sun Jul 14 10:48:31 2019 +0200
Commit: Noel Grandin <noel.grandin at 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.grandin at 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;
More information about the Libreoffice-commits
mailing list