diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-19 17:03:39 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-19 17:04:54 +0200 |
commit | ee7dacf6f0900b3a62e489e8d7bad315711a704d (patch) | |
tree | 96a9dcad2b44b763fc84cf1a070cd5e695714f07 | |
parent | a34f98bdacac4bffe8cfdcd6e6459617d204cfd2 (diff) |
remove unused variables
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconcustomshape.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconrec.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconuno.cxx | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 72a10141cd1f..531a5c5180c0 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3162,8 +3162,6 @@ void ScXMLExport::WriteShapes(const ScMyCell& rMyCell) aPoint.X = 2 * aItr->xShape->getPosition().X + aItr->xShape->getSize().Width - aPoint.X; if ( !aItr->xShape->getShapeType().equals(sCaptionShape) ) { - Rectangle aEndRec(pDoc->GetMMRect(aItr->aEndAddress.Col(), aItr->aEndAddress.Row(), - aItr->aEndAddress.Col(), aItr->aEndAddress.Row(), aItr->aEndAddress.Tab())); rtl::OUString sEndAddress; ScRangeStringConverter::GetStringFromAddress(sEndAddress, aItr->aEndAddress, pDoc, FormulaGrammar::CONV_OOO); AddAttribute(XML_NAMESPACE_TABLE, XML_END_CELL_ADDRESS, sEndAddress); diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx index d86507ed931b..a518e629ec18 100644 --- a/sc/source/ui/drawfunc/fuconcustomshape.cxx +++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx @@ -128,7 +128,6 @@ sal_Bool FuConstCustomShape::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); pView->EndCreateObj(SDRCREATE_FORCEEND); bReturn = sal_True; } diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx index f50bed12c1f1..8ef1ce7ab1ef 100644 --- a/sc/source/ui/drawfunc/fuconrec.cxx +++ b/sc/source/ui/drawfunc/fuconrec.cxx @@ -125,7 +125,6 @@ sal_Bool FuConstRectangle::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); pView->EndCreateObj(SDRCREATE_FORCEEND); if (aSfxRequest.GetSlot() == SID_DRAW_CAPTION_VERTICAL) diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx index f1098c6a3a88..924ab3e60aad 100644 --- a/sc/source/ui/drawfunc/fuconuno.cxx +++ b/sc/source/ui/drawfunc/fuconuno.cxx @@ -109,7 +109,6 @@ sal_Bool FuConstUnoControl::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); pView->EndCreateObj(SDRCREATE_FORCEEND); bReturn = sal_True; } |