diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-10-07 12:18:02 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-10-07 12:18:02 +0200 |
commit | 9b52ce7d88ae613927f33816e4f994d21dc4ded8 (patch) | |
tree | ff0e354f6bb14797a2633c50049d0c1bf8445d24 | |
parent | error: comparison between pointer and integer (diff) | |
download | core-private/llunak/mailmerge.tar.gz core-private/llunak/mailmerge.zip |
use -> with pointers
private/llunak/mailmerge
Change-Id: I0df4775931e8e0b289a63afd501efaaf079302fe
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 10 |
1 files 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 ); |