diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-13 10:12:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-13 10:16:25 +0000 |
commit | 2bd04e21a68d5c845d5b9124f20b58552ac5fea4 (patch) | |
tree | b5b692f30947fbda90929fdb95324748829384e2 /sw | |
parent | 7340bec4720340e5d43d495577db7ac19937f84a (diff) |
fix debug stl assert about unsorted range on loading ooo42586-1.sxw
Change-Id: Ib97dc719c438aed96c2e24bd34fc38726b90f097
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/fly.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 3743a339261d..b8b942b456b9 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -2112,6 +2112,9 @@ void SwFrm::AppendDrawObj( SwAnchoredObject& _rNewObj ) { _rNewObj.DrawObj()->SetLayer(aControlLayerID); } + //The layer is part of the key used to sort the obj, so update + //its position if the layer changed. + mpDrawObjs->Update(_rNewObj); } } |