diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-05-08 16:07:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-09 08:52:54 +0200 |
commit | 2539460018fb13ab71e985fd1e969d7d6eb5fc52 (patch) | |
tree | d9ffc763d103d61aaa5b7ff6782cb6c512bd8da8 /sw/source/filter/html/htmltab.cxx | |
parent | 07350085eb3a9707b03e7ba1815354093fd3afef (diff) |
also convert assertions in previous commit
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 9b4f6e5d997d..d2187607a72e 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -3113,10 +3113,9 @@ void _SectionSaveStruct::Restore( SwHTMLParser& rParser ) rParser.nFontStMin = nFontStMinSave; rParser.nFontStHeadStart = nFontStHeadStartSave; - // Der Kontext-Stack muss schon aufgeraeumt sein! - OSL_ENSURE( rParser.aContexts.Count() == rParser.nContextStMin && - rParser.aContexts.Count() == rParser.nContextStAttrMin, - "Der Kontext-Stack wurde nicht aufgeraeumt" ); + OSL_ENSURE( rParser.aContexts.size() == rParser.nContextStMin && + rParser.aContexts.size() == rParser.nContextStAttrMin, + "The Context Stack was not cleaned up" ); rParser.nContextStMin = nContextStMinSave; rParser.nContextStAttrMin = nContextStAttrMinSave; |