[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 26 13:25:00 UTC 2019


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

New commits:
commit 41fa694ed249b778fbafa9c3bf6cbfd53ec6c7cc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 25 16:02:59 2019 +0100
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Fri Apr 26 15:24:09 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>
    (cherry picked from commit cc2c0439e4b9dcfb141945d9ea5867053a9eb3be)
    Reviewed-on: https://gerrit.libreoffice.org/71350
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

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


More information about the Libreoffice-commits mailing list