summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:21 +0200
commit104eb774ce025c6ace2bf143db0b456f3718e04f (patch)
treefde059acb0a7523b81b59cdb5c43fb3fdeea57c5 /unoxml
parent75ea7ce9fb3f1bbff9abb4f324db8edb84a374d5 (diff)
loplugin:oncevar: empty strings: unoxml
Change-Id: I8acebad074a2da4848489eaa0f64d63fe76d69c1
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/node.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 2d191b5cd997..aeb77cfcd0a5 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -519,8 +519,7 @@ namespace DOM
Instruction the target
Text "#text" content of the text node null
*/
- OUString aName;
- return aName;
+ return OUString();
}
/**
@@ -538,8 +537,7 @@ namespace DOM
*/
OUString SAL_CALL CNode::getNodeValue()
{
- OUString aValue;
- return aValue;
+ return OUString();
}
/**