diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-21 11:23:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-21 11:43:18 +0200 |
commit | e8449b6a45a69d3de62804b226fdbed873eedc18 (patch) | |
tree | 30cc49db5e964fde3e27fee1b4dc484a86165630 /sw/source/core/fields/authfld.cxx | |
parent | 7b4784ea84ba900c08ca11e1c253fcdd559de6ad (diff) |
fix -Werror=extra
error: base class class salhelper::SimpleReferenceObject should be
explicitly initialized in the copy constructor
after
commit 3b16e997f69efe2e3f6cdf64fe8fb2727b6ebaa7
Date: Fri Jan 18 15:38:07 2019 +0200
cleanup SwAuthEntry manual ref-counting
Change-Id: I291a8a4f6c2a6ec38506265f6a0382f89774ecd4
Diffstat (limited to 'sw/source/core/fields/authfld.cxx')
-rw-r--r-- | sw/source/core/fields/authfld.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx index 705ca88136a6..20d53944f65a 100644 --- a/sw/source/core/fields/authfld.cxx +++ b/sw/source/core/fields/authfld.cxx @@ -51,6 +51,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; SwAuthEntry::SwAuthEntry(const SwAuthEntry& rCopy) + : SimpleReferenceObject() { for(int i = 0; i < AUTH_FIELD_END; ++i) aAuthFields[i] = rCopy.aAuthFields[i]; |