diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-11 12:10:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-11 17:02:38 +0000 |
commit | d5233a94fde279b5758bb9c45ee64203b753b5ee (patch) | |
tree | b5427dcf7c7f4d75ad8b409698293397b0ebc1fa /editeng | |
parent | c49d5dea164b09b05a898495fa2dd48b7ca4f0e4 (diff) |
seems dubious to copy the state, but drop the load again bit
if the assigned-to item had loaded its original content, but the assigned-from
item hadn't, then surely the assigned-to item will never load the new content.
if the assigned-to item hadn't loaded its original content, but the
assigned-from had, then why load it again
Change-Id: I68c2cf2682a517e7e630ab6cbc637b35a2b9c7aa
Reviewed-on: https://gerrit.libreoffice.org/30781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index d4ed23cb6aeb..8aa5ee477e37 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -3428,7 +3428,6 @@ SvxBrushItem::SvxBrushItem(SvStream& rStream, sal_uInt16 nVersion, sal_uInt16 _n SvxBrushItem::SvxBrushItem(const SvxBrushItem& rItem) : SfxPoolItem(rItem.Which()) - , bLoadAgain(true) { *this = rItem; } @@ -3675,6 +3674,7 @@ SvxBrushItem& SvxBrushItem::operator=(const SvxBrushItem& rItem) maStrLink = rItem.maStrLink; maStrFilter = rItem.maStrFilter; eGraphicPos = rItem.eGraphicPos; + bLoadAgain = rItem.bLoadAgain; return *this; } |