summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/text.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:46:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:52:54 +0200
commite76e9e5d7299d88137d57aefe174a84474e2909c (patch)
treebb4eae1aa90e248ed84749ed83a3bf336e62584c /unoxml/source/dom/text.cxx
parent28065fe9bd06617815b27e329a33b0ebb545c48d (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): unoxml
Change-Id: If4445eabc4216d2fce7a08da85e806408064d7bb Reviewed-on: https://gerrit.libreoffice.org/76630 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'unoxml/source/dom/text.cxx')
-rw-r--r--unoxml/source/dom/text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/text.cxx b/unoxml/source/dom/text.cxx
index 10e8e271b749..08db01ba32c4 100644
--- a/unoxml/source/dom/text.cxx
+++ b/unoxml/source/dom/text.cxx
@@ -60,7 +60,7 @@ namespace DOM
OUString SAL_CALL CText::getNodeName()
{
- return OUString("#text");
+ return "#text";
}
Reference< XText > SAL_CALL CText::splitText(sal_Int32 /*offset*/)