summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-25 16:02:59 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2019-04-26 15:24:09 +0200
commit41fa694ed249b778fbafa9c3bf6cbfd53ec6c7cc (patch)
tree0069ee29270062192ab6c2b46e4d5862c37ad311
parentbfdae9412f6dfbbf961d462debeab392abe447f9 (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> (cherry picked from commit cc2c0439e4b9dcfb141945d9ea5867053a9eb3be) Reviewed-on: https://gerrit.libreoffice.org/71350 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-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 5fd7607d6bd9..d83db9144420 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() );