You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2014/03/10 14:01:47 UTC

svn commit: r1575931 - /openoffice/trunk/main/sc/source/core/tool/rangelst.cxx

Author: af
Date: Mon Mar 10 13:01:46 2014
New Revision: 1575931

URL: http://svn.apache.org/r1575931
Log:
i124361: Removed unreachable code to avoid warnings.

Modified:
    openoffice/trunk/main/sc/source/core/tool/rangelst.cxx

Modified: openoffice/trunk/main/sc/source/core/tool/rangelst.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/rangelst.cxx?rev=1575931&r1=1575930&r2=1575931&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/rangelst.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/rangelst.cxx Mon Mar 10 13:01:46 2014
@@ -611,10 +611,8 @@ ScRangePairList_QsortNameCompare( const 
 	{
 		case COMPARE_LESS:
 			return -1;
-        //break;
 		case COMPARE_GREATER:
 			return 1;
-        //break;
 		default:
 			// gleiche Tabs
 			if ( rStartPos1.Col() < rStartPos2.Col() )
@@ -642,10 +640,8 @@ ScRangePairList_QsortNameCompare( const 
 				{
 					case COMPARE_LESS:
 						return -1;
-                    //break;
 					case COMPARE_GREATER:
 						return 1;
-                    //break;
 					default:
 						// gleiche Tabs
 						if ( rEndPos1.Col() < rEndPos2.Col() )
@@ -660,9 +656,7 @@ ScRangePairList_QsortNameCompare( const 
 						return 0;
 				}
 			}
-			return 0;
 	}
-	return 0; // just in case
 }