summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-18 12:03:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-18 12:11:52 +0000
commitf879b301f7192b21832e8a2d3642768869e0d568 (patch)
tree42e867426ed49d97b2c20fe18af98b384771cd09
parent106c642b7542d587e961774cac515611982c6f0d (diff)
writer, type a, return, b return, ctrl+a, del, crash
#2 0x00007ffff7429da7 in __assert_fail_base () at /lib64/libc.so.6 #3 0x00007ffff7429e52 in () at /lib64/libc.so.6 #4 0x00007ffff1ce2dc9 in SfxItemPool::GetDefaultItem(unsigned short) const (this=0x1b147a0, nWhich=nWhich@entry=10023) at /home/caolan/LibreOffice/core/svl/source/items/itempool.cxx:817 #5 0x00007ffff1ce2da5 in SfxItemPool::GetDefaultItem(unsigned short) const (this=0x1b0eb30, nWhich=nWhich@entry=10023) at /home/caolan/LibreOffice/core/svl/source/items/itempool.cxx:816 #6 0x00007ffff1ce2da5 in SfxItemPool::GetDefaultItem(unsigned short) const (this=0x1b0dbe0, nWhich=nWhich@entry=10023) at /home/caolan/LibreOffice/core/svl/source/items/itempool.cxx:816 #7 0x00007ffff1d00ba8 in SfxItemSet::MergeValues(SfxItemSet const&) (this=this@entry=0x7fffffffd4d0, rSet=SfxItemSet of pool 0x1b0dbe0 with parent 0x0 and Which ranges: [(105, 105), (10023, 10023)] = {...}) at /home/caolan/LibreOffice/core/svl/source/items/itemset.cxx:1100 #8 0x00007fffa9118372 in SwEditShell::GetPaMAttr(SwPaM*, SfxItemSet&, bool) const (this=this@entry= 0x1be06c0, pPaM=<optimized out>, rSet=SfxItemSet of pool 0x1b0dbe0 with parent 0x0 and Which ranges: [(105, 105), (10023, 10023)] = {...}, bMergeIndentValuesOfNumRule=bMergeIndentValuesOfNumRule@entry=false) at /home/caolan/LibreOffice/core/sw/source/core/edit/edattr.cxx:158 #9 0x00007fffa911846f in SwEditShell::GetCurAttr(SfxItemSet&, bool) const (this=this@entry=0x1be06c0, rSet=SfxItemSet of pool 0x1b0dbe0 with parent 0x0 and Which ranges: [(105, 105), (10023, 10023)] = {...}, bMergeIndentValuesOfNumRule=bMergeIndentValuesOfNumRule@entry=false) at /home/caolan/LibreOffice/core/sw/source/core/edit/edattr.cxx:174 #10 0x00007fffa986caa5 in SwView::StateTabWin(SfxItemSet&) (this=0x1bd4120, this@entry=<error reading variable: value has been optimized out>, rSet=SfxItemSet of pool 0x1b0dbe0 with parent 0x0 and Which ranges: [(68, 68), (10042, 10042), (10080, 10080), (10082, 10082), (10084, 10084), (10284, 10285), (10415, 10415), (10935, 10935), (10946, 10948), (10952, 10952), (10992, 10993), (11145, 11146)] = {...}, rSet@entry=<error reading variable: value has been optimized out>) at /home/caolan/LibreOffice/core/sw/source/uibase/uiview/viewtab.cxx:1596 Change-Id: I460e004e6dfa8fa6460c167c6483f2b24502b775
-rw-r--r--sw/source/uibase/uiview/viewtab.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index 7647baa9c4ad..43fd2ebcd5e9 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -1590,9 +1590,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
}
//add the border distance of the paragraph
- SfxItemSet aCoreSetTmp( GetPool(),
- RES_BOX, RES_BOX,
- SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, 0 );
+ SfxItemSet aCoreSetTmp( GetPool(), RES_BOX, RES_BOX );
rSh.GetCurAttr( aCoreSetTmp );
const SvxBoxItem& rParaBox = static_cast<const SvxBoxItem&>(aCoreSetTmp.Get(RES_BOX));
aDistLR.SetLeft(aDistLR.GetLeft() + rParaBox.GetDistance(SvxBoxItemLine::LEFT));