summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-03 11:44:06 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-03 11:44:44 -0400
commit2c4e811049e9f2cad823e372a01a5afc09ead25c (patch)
tree0254f0e5e5c447688e56926598feaae7fde1e59d /editeng
parentget rid of the annoying space in Read Me.odt file name (diff)
downloadcore-2c4e811049e9f2cad823e372a01a5afc09ead25c.tar.gz
core-2c4e811049e9f2cad823e372a01a5afc09ead25c.zip
Fix the dbgutil build.
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdbg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx
index 48f6e0005b1d..9142ec13c8cd 100644
--- a/editeng/source/editeng/editdbg.cxx
+++ b/editeng/source/editeng/editdbg.cxx
@@ -384,7 +384,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox )
sal_uLong n = 0;
for ( z = 0; z < nTextPortions; z++ )
{
- TextPortion* pPortion = pPPortion->GetTextPortions().GetObject( z );
+ TextPortion* pPortion = pPPortion->GetTextPortions()[z];
aPortionStr.append(' ');
aPortionStr.append(static_cast<sal_Int32>(pPortion->GetLen()));
aPortionStr.append('(');
@@ -409,7 +409,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox )
sal_uInt16 nLine;
for ( nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ )
{
- EditLine* pLine = pPPortion->GetLines().GetObject( nLine );
+ EditLine* pLine = pPPortion->GetLines()[nLine];
rtl::OString aLine(rtl::OUStringToOString(pPPortion->GetNode()->Copy(pLine->GetStart(), pLine->GetEnd() - pLine->GetStart()), RTL_TEXTENCODING_ASCII_US));
fprintf( fp, "\nLine %i\t>%s<", nLine, aLine.getStr() );
@@ -417,7 +417,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox )
// then the internal data ...
for ( nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ )
{
- EditLine* pLine = pPPortion->GetLines().GetObject( nLine );
+ EditLine* pLine = pPPortion->GetLines()[nLine];
fprintf( fp, "\nZeile %i:\tStart: %i,\tEnd: %i", nLine, pLine->GetStart(), pLine->GetEnd() );
fprintf( fp, "\t\tPortions: %i - %i.\tHight: %i, Ascent=%i", pLine->GetStartPortion(), pLine->GetEndPortion(), pLine->GetHeight(), pLine->GetMaxAscent() );
}