From 9b52ce7d88ae613927f33816e4f994d21dc4ded8 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 7 Oct 2014 12:18:02 +0200 Subject: use -> with pointers Change-Id: I0df4775931e8e0b289a63afd501efaaf079302fe --- sw/source/core/doc/docnew.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 283e35e0200a..bf5f21637940 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -1235,11 +1235,11 @@ void SwDoc::Append( const SwDoc& rSource, sal_uInt16 nStartPageNumber, SwPaM aInsertPam( aTargetIdx ); #ifdef DBG_UTIL - SAL_INFO( "sw.docappend", "Pam-Nd: " << aCpyPam.GetNode( true ).GetIndex() - aCpyPam.GetNode( false ).GetIndex() + 1 - << " (0x" << std::hex << (int) aCpyPam.GetNode( false ).GetNodeType() << std::dec - << " " << aCpyPam.GetNode( false ).GetIndex() - << " - 0x" << std::hex << (int) aCpyPam.GetNode( true ).GetNodeType() << std::dec - << " " << aCpyPam.GetNode( true ).GetIndex() << ")" ); + SAL_INFO( "sw.docappend", "Pam-Nd: " << aCpyPam.GetNode( true )->GetIndex() - aCpyPam.GetNode( false )->GetIndex() + 1 + << " (0x" << std::hex << (int) aCpyPam.GetNode( false )->GetNodeType() << std::dec + << " " << aCpyPam.GetNode( false )->GetIndex() + << " - 0x" << std::hex << (int) aCpyPam.GetNode( true )->GetNodeType() << std::dec + << " " << aCpyPam.GetNode( true )->GetIndex() << ")" ); #endif this->GetIDocumentUndoRedo().StartUndo( UNDO_INSGLOSSARY, NULL ); -- cgit