diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-31 15:55:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-08-31 16:10:44 +0200 |
commit | 0e1e59057d005c9333a49ce7b2ae949a3121c55e (patch) | |
tree | 2fa0c30a67ba2ff9add85f3d73bc19f1b2d6df56 /sc | |
parent | Don't fail configure with older gstreamer-plugins-base-0.10 (diff) | |
download | core-0e1e59057d005c9333a49ce7b2ae949a3121c55e.tar.gz core-0e1e59057d005c9333a49ce7b2ae949a3121c55e.zip |
remove debug output
Change-Id: If6a58b2cf022c704603a3fb01b3ed75d1881f918
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/rangelst.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx index 14cf8b4c8771..f9e57b720599 100644 --- a/sc/source/core/tool/rangelst.cxx +++ b/sc/source/core/tool/rangelst.cxx @@ -39,8 +39,6 @@ #include "compiler.hxx" #include "stlalgorithm.hxx" -#include <iostream> - using ::std::vector; using ::std::advance; using ::std::find_if; @@ -739,12 +737,12 @@ void ScRangeList::DeleteArea( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, // r.aStart.X() <= p.aStart.X() && r.aEnd.X() >= p.aEnd.X() // && ( r.aStart.Y() <= p.aStart.Y() || r.aEnd.Y() >= r.aEnd.Y() ) if(handleOneRange( aRange, *itr )) - std::cout << "handled 1 Range case" << std::endl; + continue; // getting two ranges // r.aStart.X() else if(handleTwoRanges( aRange, *itr, aNewRanges )) - std::cout << "handled 2 Ranges " << std::endl; + continue; // getting 3 ranges // r.aStart.X() > p.aStart.X() && r.aEnd.X() >= p.aEnd.X() @@ -753,13 +751,13 @@ void ScRangeList::DeleteArea( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, // r.aStart.X() <= p.aStart.X() && r.aEnd.X() < p.aEnd.X() // && r.aStart.Y() > p.aStart.Y() && r.aEnd.Y() < p.aEnd.Y() else if(handleThreeRanges( aRange, *itr, aNewRanges )) - std::cout << "handled 3 Ranges" << std::endl; + continue; // getting 4 ranges // r.aStart.X() > p.aStart.X() && r.aEnd().X() < p.aEnd.X() // && r.aStart.Y() > p.aStart.Y() && r.aEnd().Y() < p.aEnd.Y() else if(handleFourRanges( aRange, *itr, aNewRanges )) - std::cout << "handle 4 Ranges" << std::endl; + continue; } for(vector<ScRange>::iterator itr = aNewRanges.begin(); itr != aNewRanges.end(); ++itr) Join( *itr, false); |