summaryrefslogtreecommitdiff
path: root/sax/test/saxdemo.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-24 21:23:59 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-24 22:46:19 +0100
commitb9448acf3ce4c1c850a691fc33686fd5165b94d9 (patch)
tree4e7f9babc2fcbe1411363f5235741e2772a02068 /sax/test/saxdemo.cxx
parentd2c9e289733df395b911a46c1028014f42e75f99 (diff)
cppcheck: performing init in init list (oox, package, sal, sax)
Change-Id: I77e28f02516ab25ff6680970dc13d52cfa90eac1 Reviewed-on: https://gerrit.libreoffice.org/83620 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sax/test/saxdemo.cxx')
-rw-r--r--sax/test/saxdemo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index a501294529e1..7139d60ef608 100644
--- a/sax/test/saxdemo.cxx
+++ b/sax/test/saxdemo.cxx
@@ -281,10 +281,10 @@ struct TagAttribute
TagAttribute( const OUString &s_Name,
const OUString &s_Type ,
const OUString &s_Value )
+ : sName(s_Name),
+ sType(s_Type),
+ sValue(s_Value)
{
- sName = s_Name;
- sType = s_Type;
- sValue = s_Value;
}
OUString sName;