summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-10-15 01:57:12 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-10-17 09:53:42 +0200
commitd51db77c8d87f210785a8a8c6dd875f7bacddb3c (patch)
treefd1ab208d49e85371fc9bb321539ce137bdaf719 /include/tools
parentc8eaadb5d70f42723517bb028f363e37726be256 (diff)
Remove some memset calls
Replace them with default initialization or calloc Change-Id: I747f53c2ced2d0473fd5a5ede4f8520a0633dcc1 Reviewed-on: https://gerrit.libreoffice.org/80805 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/globname.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx
index 9672f444ccad..88a5e492d923 100644
--- a/include/tools/globname.hxx
+++ b/include/tools/globname.hxx
@@ -33,7 +33,7 @@ struct SAL_WARN_UNUSED SvGUID
struct SAL_WARN_UNUSED ImpSvGlobalName
{
- struct SvGUID szData;
+ struct SvGUID szData = {};
ImpSvGlobalName(const SvGUID &rData)
: szData(rData)
@@ -43,7 +43,7 @@ struct SAL_WARN_UNUSED ImpSvGlobalName
sal_uInt8 b8, sal_uInt8 b9, sal_uInt8 b10, sal_uInt8 b11,
sal_uInt8 b12, sal_uInt8 b13, sal_uInt8 b14, sal_uInt8 b15);
ImpSvGlobalName( const ImpSvGlobalName & rObj );
- ImpSvGlobalName();
+ ImpSvGlobalName() = default;
bool operator == ( const ImpSvGlobalName & rObj ) const;
};