summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unoatxt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 16:01:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 05:59:56 +0000
commitaadf790bbceb1cde94c2a6fe8edfb9951edca0a0 (patch)
treef48bea8591e2def6579c5095989ea425211a0063 /sw/source/uibase/uno/unoatxt.cxx
parent6b58caf0597fed21c78fd806e5f2cef6fc43c502 (diff)
remove some unnecessary use of OUString constructor
found with git grep -nP '<<= OUString\(\w*[A-Za-z]+' Change-Id: I43354842f1e0418fb292f2e8e0cb30f1229d1c67 Reviewed-on: https://gerrit.libreoffice.org/34864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uno/unoatxt.cxx')
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 673f458006c5..1bdd9098431e 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -625,10 +625,10 @@ uno::Any SwXAutoTextGroup::getPropertyValue(const OUString& rPropertyName)
switch(pEntry->nWID)
{
case WID_GROUP_PATH:
- aAny <<= OUString(pGlosGroup->GetFileName());
+ aAny <<= pGlosGroup->GetFileName();
break;
case WID_GROUP_TITLE:
- aAny <<= OUString(pGlosGroup->GetName());
+ aAny <<= pGlosGroup->GetName();
break;
}
return aAny;