summaryrefslogtreecommitdiff
path: root/editeng/source/rtf
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@openoffice.org>2010-09-26 20:54:30 +0200
committerBartosz Kosiorek <gang65@openoffice.org>2010-09-26 20:54:30 +0200
commitc308fb2f18c0c09bdb821d8ef7f393c3505b2c3a (patch)
tree8b45a8bae039c3a81feba9846f1a8b5543f9e2f9 /editeng/source/rtf
parent6b012adb2dea1d85d1277fdeead554fd1ac1a76d (diff)
svarray: #i112395#: small upgrade
Diffstat (limited to 'editeng/source/rtf')
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 6ba1059d6fb2..14b17807a0ea 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -816,7 +816,7 @@ void SvxRTFParser::ReadInfo( const sal_Char* pChkForVerNo )
void SvxRTFParser::ClearColorTbl()
{
- for( size_t n = 0; n < aColorTbl.size(); n++ )
+ while ( !aColorTbl.empty() )
{
delete aColorTbl.back();
aColorTbl.pop_back();