summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-05 22:42:19 +0900
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 17:11:00 +0000
commit4ef564882dd85750576aea92524236f96ab720f6 (patch)
treed07ecbf7122d01f5dae2d25448644e019343fc20 /sd/source/ui/func
parentb4106d0526e1a1978cbc8f916da05f1a1c976715 (diff)
Remove dead codes from sd
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/fuconstr.cxx4
-rw-r--r--sd/source/ui/func/fuinsert.cxx4
2 files changed, 0 insertions, 8 deletions
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx
index 0a74bbdac3a3..a89e4b28f653 100644
--- a/sd/source/ui/func/fuconstr.cxx
+++ b/sd/source/ui/func/fuconstr.cxx
@@ -93,10 +93,6 @@ BOOL FuConstruct::MouseButtonDown(const MouseEvent& rMEvt)
if ( mpView->IsAction() )
{
- // #90235# this extra triggering is an error and leads to
- // erasing the last two points when creating a polygon.
- // if ( rMEvt.IsRight() )
- // mpView->BckAction();
return TRUE;
}
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index 8047da661951..a27dacfabba4 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -394,7 +394,6 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
pOleObj->SetProgName( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "StarMath" ) ) );
}
- //HMHmpView->HideMarkHdl();
pOleObj->SetLogicRect(aRect);
Size aTmp( OutputDevice::LogicToLogic( aRect.GetSize(), MAP_100TH_MM, aUnit ) );
awt::Size aVisualSize;
@@ -599,8 +598,6 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
( (SdrOle2Obj*) pObj)->SetAspect(nAspect);
Rectangle aRect = ( (SdrOle2Obj*) pObj)->GetLogicRect();
- //HMHmpView->HideMarkHdl();
-
if ( nAspect == embed::Aspects::MSOLE_ICON )
{
if( xIconMetaFile.is() )
@@ -666,7 +663,6 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
if (bCreateNew)
{
- //HMHmpView->HideMarkHdl();
pObj->SetLogicRect(aRect);
if ( nAspect != embed::Aspects::MSOLE_ICON )