[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 26 09:12:19 UTC 2019


 sw/source/uibase/shells/txtattr.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cc2c0439e4b9dcfb141945d9ea5867053a9eb3be
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 25 16:02:59 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 26 11:11:07 2019 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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() );
 


More information about the Libreoffice-commits mailing list