diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/tvread.hxx | 2 | ||||
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx index c466fbba682b..5f87ca5cf542 100644 --- a/xmlhelp/source/cxxhelp/inc/tvread.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx @@ -44,7 +44,7 @@ namespace treeview { PRODUCTNAME, PRODUCTVERSION, VENDORNAME, VENDORVERSION, VENDORSHORT }; ConfigData(); - int m_vAdd[5]; + int m_vAdd[5] = {}; OUString m_vReplacement[5]; OUString prodName,prodVersion,vendName,vendVersion,vendShort; diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index d791692fc782..a01dd66a51ef 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -161,7 +161,6 @@ ConfigData::ConfigData() vendVersion("%VENDORVERSION"), vendShort("%VENDORSHORT") { - memset(m_vAdd, 0, sizeof(m_vAdd)); } void ConfigData::replaceName( OUString& oustring ) const |