diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 21:23:59 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 22:46:19 +0100 |
commit | b9448acf3ce4c1c850a691fc33686fd5165b94d9 (patch) | |
tree | 4e7f9babc2fcbe1411363f5235741e2772a02068 /sax/test/saxdemo.cxx | |
parent | d2c9e289733df395b911a46c1028014f42e75f99 (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.cxx | 6 |
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; |