summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-25 16:02:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-26 11:11:07 +0200
commitcc2c0439e4b9dcfb141945d9ea5867053a9eb3be (patch)
treef05ee3313b4eb85cf73984d1b0429a8ad475b33a /sw
parent8b280223df5d819019338c9ad5f74aa528c96aad (diff)
Related: tdf#124919 assert on ctrl+[ on four selected cells in table
since... commit a91992e7b3e7f59e9116aef859696d517a93dab7 Date: Fri Nov 16 16:26:38 2018 +0100 sw: SwTextNode::GetAttr() inconsistency Change-Id: I45a89a83332f964fc813f8083e09d816965d2658 Reviewed-on: https://gerrit.libreoffice.org/71313 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/txtattr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx
index ad4d7785b33f..d70f87eb472d 100644
--- a/sw/source/uibase/shells/txtattr.cxx
+++ b/sw/source/uibase/shells/txtattr.cxx
@@ -267,6 +267,7 @@ void SwTextShell::ExecCharAttrArgs(SfxRequest &rReq)
{
std::unique_ptr<SwPaM> pPaM = std::move(iPair.second);
const SfxPoolItem* pItem = iPair.first;
+ aSetItem.GetItemSet().ClearItem();
rWrtSh.GetPaMAttr( pPaM.get(), aSetItem.GetItemSet() );
aAttrSet.SetRanges( aSetItem.GetItemSet().GetRanges() );