diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 13:31:39 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 13:31:39 +0100 |
commit | 456df3133a0dd9664ddb8022b3279180900eff46 (patch) | |
tree | ae1a96193d0897ffc472cc5be118bb2f3cc8c7e2 /svx/source | |
parent | a1b970a10e00b34ab6d8608cb02247b8f0195573 (diff) |
Remove ByteString
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 134d0b9b00d4..0de996f72448 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -951,7 +951,7 @@ void ImpSdrGDIMetaFileImport::MapScaling() void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pMtf ) { - ByteString aSkipComment; + bool aSkipComment = false; if (rAct.GetComment().equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN"))) { @@ -1006,17 +1006,17 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pM } } - aSkipComment = "XGRAD_SEQ_END"; + aSkipComment = true; } } - if(aSkipComment.Len()) + if(aSkipComment) { MetaAction* pSkipAct = pMtf->NextAction(); while( pSkipAct && ((pSkipAct->GetType() != META_COMMENT_ACTION ) - || !(((MetaCommentAction*)pSkipAct)->GetComment().equalsIgnoreAsciiCase(aSkipComment)))) + || !(((MetaCommentAction*)pSkipAct)->GetComment().equalsIgnoreAsciiCase("XGRAD_SEQ_END")))) { pSkipAct = pMtf->NextAction(); } |