diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-05-10 17:13:21 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-05-10 17:16:05 +0200 |
commit | 12444c5e390326a8c2ba3cbfcc1430ef7c6c0409 (patch) | |
tree | b70967d2c5e3113373a32b76be8ebdd5a28a311f /editeng | |
parent | 3773fc1e3e1f71b128ddabe5f894af598db0b353 (diff) |
editeng: fix 32bit -Werror=format
Change-Id: Ibc60b487fc769f152d231d962d984e3c8f6dce50
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdbg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx index e08821569541..4006918917f7 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -326,7 +326,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) for ( sal_Int32 nPortion = 0; nPortion < pEE->pImpEditEngine->GetParaPortions().Count(); nPortion++) { ParaPortion* pPPortion = pEE->pImpEditEngine->GetParaPortions()[nPortion]; - fprintf( fp, "\nParagraph %i: Length = %i, Invalid = %i\nText = '%s'", + fprintf( fp, "\nParagraph %" SAL_PRIdINT32 ": Length = %i, Invalid = %i\nText = '%s'", nPortion, pPPortion->GetNode()->Len(), pPPortion->IsInvalid(), OUStringToOString(pPPortion->GetNode()->GetString(), RTL_TEXTENCODING_UTF8).getStr() ); fprintf( fp, "\nVorlage:" ); @@ -463,7 +463,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) aR = pV->GetVisArea(); fprintf( fp, "\n VisArea: nX=%li, nY=%li, dX=%li, dY=%li", aR.TopLeft().X(), aR.TopLeft().Y(), aR.GetSize().Width(), aR.GetSize().Height() ); ESelection aSel = pV->GetSelection(); - fprintf( fp, "\n Selection: Start=%d,%u, End=%d,%u", aSel.nStartPara, aSel.nStartPos, aSel.nEndPara, aSel.nEndPos ); + fprintf( fp, "\n Selection: Start=%" SAL_PRIdINT32 ",%u, End=%" SAL_PRIdINT32 ",%u", aSel.nStartPara, aSel.nStartPos, aSel.nEndPara, aSel.nEndPos ); } if ( pEE->GetActiveView() ) { |