[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Mon Feb 16 09:32:39 PST 2015


 sw/source/core/txtnode/thints.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 28474dcd834b04b851f25f8ec5840d0e72de3c71
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 16 17:31:50 2015 +0000

    remove debugging spew
    
    Change-Id: I8652e7fb41bce932afa418cedfab308f03379040

diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 0f55043..343eb64 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1257,8 +1257,6 @@ bool SwTxtNode::InsertHint( SwTxtAttr * const pAttr, const SetAttrMode nMode )
     OSL_ENSURE( pAttr && pAttr->GetStart() <= Len(), "StartIdx out of bounds!" );
     OSL_ENSURE( !pAttr->GetEnd() || (*pAttr->GetEnd() <= Len()),
             "EndIdx out of bounds!" );
-    if (pAttr->GetEnd() && (*pAttr->GetEnd() > Len()))
-        fprintf(stderr, "debug here\n");
 
     // translate from SetAttrMode to InsertMode (for hints with CH_TXTATR)
     const enum IDocumentContentOperations::InsertFlags nInsertFlags =


More information about the Libreoffice-commits mailing list