[Libreoffice-commits] .: sc/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Thu Feb 10 06:30:22 PST 2011
sc/source/ui/drawfunc/chartsh.cxx | 1 -
sc/source/ui/drawfunc/drawsh5.cxx | 1 -
sc/source/ui/drawfunc/fuconrec.cxx | 6 ------
sc/source/ui/drawfunc/fudraw.cxx | 1 -
4 files changed, 9 deletions(-)
New commits:
commit 34737fa7c95f1d09cd1405f0e1731c8a76cc05c4
Author: Bálint Dózsa <dozsabalint at gmail.com>
Date: Thu Feb 10 09:17:29 2011 +0100
Remove some dead code
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index ce71b1b..f1b8e71 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -62,7 +62,6 @@ SFX_IMPL_INTERFACE(ScChartShell, ScDrawShell, ScResId(SCSTR_CHARTSHELL) )
SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER,
ScResId(RID_DRAW_OBJECTBAR) );
SFX_POPUPMENU_REGISTRATION( ScResId(RID_POPUP_CHART) );
- //SFX_OBJECTMENU_REGISTRATION( SID_OBJECTMENU0, ScResId(RID_OBJECTMENU_DRAW) );
}
TYPEINIT1( ScChartShell, ScDrawShell );
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx
index 1466ba4..8d474a4 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -377,7 +377,6 @@ void ScDrawShell::ExecDrawFunc( SfxRequest& rReq )
case SID_PASTE:
DBG_ERROR( "SdrView::PasteClipboard not supported anymore" );
- // pView->PasteClipboard( pWin );
break;
case SID_SELECTALL:
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index 36348ed..1d0d3c1 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -229,12 +229,6 @@ void FuConstRectangle::Deactivate()
// #98185# Create default drawing objects via keyboard
SdrObject* FuConstRectangle::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle)
{
- // case SID_DRAW_LINE:
- // case SID_DRAW_RECT:
- // case SID_DRAW_ELLIPSE:
- // case SID_DRAW_CAPTION:
- // case SID_DRAW_CAPTION_VERTICAL:
-
SdrObject* pObj = SdrObjFactory::MakeNewObject(
pView->GetCurrentObjInventor(), pView->GetCurrentObjIdentifier(),
0L, pDrDoc);
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index ce18ce1..8679dc5 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -282,7 +282,6 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt)
SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
if( pObj && pObj->ISA( SdrOle2Obj ) && !bOle )
{
- //HMHpView->HideMarkHdl();
pViewShell->ActivateObject( static_cast< SdrOle2Obj* >( pObj ), 0 );
// consumed
More information about the Libreoffice-commits
mailing list