avoid implicit cast

This commit is contained in:
Caolán McNamara 2011-03-01 14:55:25 +00:00
parent 67baa5e71a
commit 404e1ced4f
2 changed files with 2 additions and 2 deletions

View file

@ -2874,7 +2874,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
mpPptEscherEx->AddAtom( 4, EPP_TextHeaderAtom );
*mpStrm << (sal_uInt32)EPP_TEXTTYPE_Title;
mpPptEscherEx->AddAtom( mnTextSize << 1, EPP_TextCharsAtom );
const sal_Unicode* pString = aUString;
const sal_Unicode* pString = aUString.getStr();
for ( sal_uInt32 i = 0; i < mnTextSize; i++ )
{
nChar = pString[ i ]; // 0xa -> 0xb weicher Zeilenumbruch

View file

@ -493,7 +493,7 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( uno::Refere
sal_Int32* pConvertPara = new sal_Int32[nTextLen+2];
int ndbg = 0;
const sal_Unicode* pText = aText;
const sal_Unicode* pText = aText.getStr();
sal_Int32* pPos = pConvertPos;
sal_Int32* pPara = pConvertPara;