diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 14:44:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 14:44:19 +0100 |
commit | 8b378dac00de37655b61d13efd8fbf312472391d (patch) | |
tree | cb4f5ce921bb29cb538dd9950bbf475f1c904dd5 /editeng | |
parent | 08d8fd9dd82d8c1ca2b364b96c3aed600fd1e1c4 (diff) |
-Werror,-Wformat (clang-cl)
Change-Id: I7a3f58e5967a31999f45ce15086f048fb39650c7
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 a1bd2c83785d..7a8190258bc6 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -411,13 +411,13 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, bool bInfoBox ) EditLine& rLine = pPPortion->GetLines()[nLine]; OString aLine(OUStringToOString(pPPortion->GetNode()->Copy(rLine.GetStart(), rLine.GetEnd() - rLine.GetStart()), RTL_TEXTENCODING_ASCII_US)); - fprintf( fp, "\nLine %i\t>%s<", nLine, aLine.getStr() ); + fprintf( fp, "\nLine %" SAL_PRIdINT32 "\t>%s<", nLine, aLine.getStr() ); } // then the internal data ... for ( sal_Int32 nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ ) { EditLine& rLine = pPPortion->GetLines()[nLine]; - fprintf( fp, "\nZeile %i:\tStart: %" SAL_PRIdINT32 ",\tEnd: %" SAL_PRIdINT32, nLine, rLine.GetStart(), rLine.GetEnd() ); + fprintf( fp, "\nZeile %" SAL_PRIdINT32 ":\tStart: %" SAL_PRIdINT32 ",\tEnd: %" SAL_PRIdINT32, nLine, rLine.GetStart(), rLine.GetEnd() ); fprintf( fp, "\t\tPortions: %" SAL_PRIdINT32 " - %" SAL_PRIdINT32 ".\tHight: %i, Ascent=%i", rLine.GetStartPortion(), rLine.GetEndPortion(), rLine.GetHeight(), rLine.GetMaxAscent() ); } |