incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1377459 - /incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx
Date Sun, 26 Aug 2012 17:09:37 GMT
Author: paveljanik
Date: Sun Aug 26 17:09:36 2012
New Revision: 1377459

URL: http://svn.apache.org/viewvc?rev=1377459&view=rev
Log:
Remove unused variables.
Reorder initializations to match prototype (to prevent WaE issues).

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx?rev=1377459&r1=1377458&r2=1377459&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww1/fltshell.cxx Sun Aug 26 17:09:36 2012
@@ -191,9 +191,8 @@ sal_Bool SwFltStackEntry::MakeRegion(SwD
 }
 
 SwFltControlStack::SwFltControlStack(SwDoc* pDo, sal_uLong nFieldFl)
-	: nFieldFlags(nFieldFl), pDoc(pDo), bIsEndStack(false)
-	//Modify for #119405 by chengjh, 2012-08-16
-	,bHasSdOD(true),bSdODChecked(false)
+  : nFieldFlags(nFieldFl), bHasSdOD(true)
+  ,bSdODChecked(false), pDoc(pDo), bIsEndStack(false)
 	//End
 
 {
@@ -679,8 +678,6 @@ void SwFltControlStack::SetAttrInDoc(con
 			if (pEntry->MakeRegion(pDoc, aRegion, sal_False))
 	        {
 				//Modify here for #119405, by easyfan, 2012-05-24			
-				sal_Int32 nStart = pEntry->GetStartCP();
-				sal_Int32 nEnd = pEntry->GetEndCP();
 				//Refined 2012-08-16
 				if (pEntry->IsParaEnd())
 				{



Mime
View raw message