diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 16:36:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 16:38:28 +0200 |
commit | d45483489513692be77a61cf343663e839483204 (patch) | |
tree | 85d3a47fa95a529e4f6d2d12b375a438513c3e9d /cppcanvas/source | |
parent | fa604beee3e8ca26bba7c1d681bf83a44638b835 (diff) |
Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295.
I mistakenly converted OUString::equalsL calls to OUString::startsWith
calls.
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 1b59ff2f7806..a8145bb9d2f6 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -1653,7 +1653,7 @@ namespace cppcanvas // XPATHSTROKE_SEQ_BEGIN comment // Handle drawing layer fills - else if( pAct->GetComment().startsWith("XPATHFILL_SEQ_BEGIN") ) + else if( pAct->GetComment().equalsL(RTL_CONSTASCII_STRINGPARAM("XPATHFILL_SEQ_BEGIN")) ) { const sal_uInt8* pData = pAct->GetData(); if ( pData ) @@ -1769,7 +1769,7 @@ namespace cppcanvas } } // Handle drawing layer fills - else if( pAct->GetComment().startsWith("EMF_PLUS") ) { + else if( pAct->GetComment().equalsL(RTL_CONSTASCII_STRINGPARAM("EMF_PLUS")) ) { static int count = -1, limit = 0x7fffffff; if (count == -1) { count = 0; @@ -1782,7 +1782,7 @@ namespace cppcanvas if (count < limit) processEMFPlus( pAct, rFactoryParms, rStates.getState(), rCanvas ); count ++; - } else if( pAct->GetComment().startsWith("EMF_PLUS_HEADER_INFO") ) { + } else if( pAct->GetComment().equalsL(RTL_CONSTASCII_STRINGPARAM("EMF_PLUS_HEADER_INFO")) ) { SAL_INFO ("cppcanvas.emf", "EMF+ passed to canvas mtf renderer - header info, size: " << pAct->GetDataSize ()); SvMemoryStream rMF ((void*) pAct->GetData (), pAct->GetDataSize (), STREAM_READ); |