You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2013/04/10 18:27:29 UTC

svn commit: r1466549 - in /openoffice/trunk/main/sw/source/ui/shells: drawsh.cxx drwbassh.cxx drwtxtsh.cxx

Author: paveljanik
Date: Wed Apr 10 16:27:29 2013
New Revision: 1466549

URL: http://svn.apache.org/r1466549
Log:
Remove unused variables to prevent WaE issues.

Modified:
    openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx
    openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx
    openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx

Modified: openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx?rev=1466549&r1=1466548&r2=1466549&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx Wed Apr 10 16:27:29 2013
@@ -413,7 +413,6 @@ void SwDrawShell::ExecFormText(SfxReques
 	if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() )
 	{
 		const SfxItemSet& rSet = *rReq.GetArgs();
-		const SfxPoolItem* pItem;
 
 		if ( pDrView->IsTextEdit() )
 		{

Modified: openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx?rev=1466549&r1=1466548&r2=1466549&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx Wed Apr 10 16:27:29 2013
@@ -782,7 +782,7 @@ void SwDrawBaseShell::GetDrawAttrStateFo
  	const SdrMarkList& rMarkList = pSdrView->GetMarkedObjectList();
  	if( rMarkList.GetMark(0) != 0 )
  	{
- 		SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();//OST_IFBX@WL2
+		// SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();//OST_IFBX@WL2
  		SfxItemSet aNewAttr(pSdrView->GetGeoAttrFromMarked());
  		rSet.Put(aNewAttr,false);
  	}

Modified: openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx?rev=1466549&r1=1466548&r2=1466549&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx Wed Apr 10 16:27:29 2013
@@ -292,10 +292,9 @@ void SwDrawTextShell::ExecFormText(SfxRe
 	if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() )
 	{
 		const SfxItemSet& rSet = *rReq.GetArgs();
-		const SfxPoolItem* pItem;
 
         //ask for the ViewFrame here - "this" may not be valid any longer!
-        SfxViewFrame* pVFrame = GetView().GetViewFrame();
+	// SfxViewFrame* pVFrame = GetView().GetViewFrame();
         if ( pDrView->IsTextEdit() )
 		{
             //#111733# Sometimes SdrEndTextEdit() initiates the change in selection and