[Libreoffice-commits] core.git: editeng/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 14 13:45:06 UTC 2017
editeng/source/editeng/editdbg.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8b378dac00de37655b61d13efd8fbf312472391d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 14 14:44:19 2017 +0100
-Werror,-Wformat (clang-cl)
Change-Id: I7a3f58e5967a31999f45ce15086f048fb39650c7
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx
index a1bd2c8..7a81902 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() );
}
More information about the Libreoffice-commits
mailing list