diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-06-11 15:24:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-11 15:45:23 +0200 |
commit | a1762795e7c758bc55cfba039e280273a4f26cc5 (patch) | |
tree | bd04706bc759c397100dde8e9d304ea8bd3966a1 /sw/source/ui/frmdlg/frmpage.src | |
parent | eb5e3e3a4e82a55abfb1894dead6a1fb3c10bb41 (diff) |
abi#3241 fix crash on RTF import
The problem was that SwTxtFmtColl::IsAssignedToListLevelOfOutlineStyle()
returned true, because the style name started with "header". However,
there were no real assignment, so
SwTxtFmtColl::GetAssignedOutlineStyleLevel() returned -1 later, which
resulted in a (valid) assertion failure.
Fix this by handling -1 outline level as not assigned.
Change-Id: I522f75002cf064ce7bc4da949683ac4e5ff4ec72
Diffstat (limited to 'sw/source/ui/frmdlg/frmpage.src')
0 files changed, 0 insertions, 0 deletions