diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-10 00:56:06 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-10 00:56:06 +0900 |
commit | 2ac4d8bf32ef72e22b1feaef300b604a50cdc6d2 (patch) | |
tree | f0d087fa3185cb8a7b8a7be3eb5a2268ae67f9f2 /sd/source | |
parent | cfe98a1305202419f224a31e54cd37e64401fa4f (diff) |
nuke dead code
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/annotations/annotationtag.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/dlg/diactrl.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/gluectrl.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/func/smarttag.cxx | 16 | ||||
-rw-r--r-- | sd/source/ui/inc/prntopts.hxx | 9 | ||||
-rw-r--r-- | sd/source/ui/inc/tbx_ww.hxx | 36 | ||||
-rw-r--r-- | sd/source/ui/toolpanel/TitledControl.cxx | 5 | ||||
-rw-r--r-- | sd/source/ui/unoidl/SdUnoSlideView.cxx | 39 |
8 files changed, 0 insertions, 121 deletions
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx index b8381c52539c..9c53d4909694 100644 --- a/sd/source/ui/annotations/annotationtag.cxx +++ b/sd/source/ui/annotations/annotationtag.cxx @@ -248,12 +248,6 @@ void AnnotationHdl::CreateB2dIAObject() const sal_uInt32 nBlinkTime = sal::static_int_cast<sal_uInt32>(rStyleSettings.GetCursorBlinkTime()); pOverlayObject = new ::sdr::overlay::OverlayAnimatedBitmapEx(aPosition, aBitmapEx, aBitmapEx2, nBlinkTime, 0, 0, 0, 0 ); -/* - (sal_uInt16)(aBitmapEx.GetSizePixel().Width() - 1) >> 1, - (sal_uInt16)(aBitmapEx.GetSizePixel().Height() - 1) >> 1, - (sal_uInt16)(aBitmapEx2.GetSizePixel().Width() - 1) >> 1, - (sal_uInt16)(aBitmapEx2.GetSizePixel().Height() - 1) >> 1); -*/ } else { diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx index a8e98cafcee0..55cd02bca19f 100644 --- a/sd/source/ui/dlg/diactrl.cxx +++ b/sd/source/ui/dlg/diactrl.cxx @@ -116,10 +116,6 @@ void SdPagesField::Modify() SfxToolBoxControl::Dispatch( ::uno::Reference< ::frame::XDispatchProvider >( m_xFrame->getController(), ::uno::UNO_QUERY ), ".uno:PagesPerRow", aArgs ); -/* - rBindings.GetDispatcher()->Execute( - SID_PAGES_PER_ROW, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, &aItem, 0L, 0L ); -*/ } /************************************************************************* diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx index 70f757106e83..8eb2399850fc 100644 --- a/sd/source/ui/dlg/gluectrl.cxx +++ b/sd/source/ui/dlg/gluectrl.cxx @@ -79,10 +79,8 @@ GlueEscDirLB::GlueEscDirLB( Window* pParent, const Reference< XFrame >& rFrame ) { String aStr; aStr += sal_Unicode('X'); Size aXSize( GetTextWidth( aStr ), GetTextHeight() ); - //SetPosPixel( Point( aSize.Width(), 0 ) ); SetSizePixel( Size( aXSize.Width() * 12, aXSize.Height() * 10 ) ); Fill(); - //SelectEntryPos( 0 ); Show(); } @@ -118,10 +116,6 @@ void GlueEscDirLB::Select() ".uno:GlueEscapeDirection", aArgs ); } -/* - SfxViewFrame::Current()->GetDispatcher()->Execute( SID_GLUE_ESCDIR, SFX_CALLMODE_ASYNCHRON | - SFX_CALLMODE_RECORD, &aItem, (void*) NULL, 0L ); -*/ } /************************************************************************* diff --git a/sd/source/ui/func/smarttag.cxx b/sd/source/ui/func/smarttag.cxx index 2f6e3cd79b22..e57c982caa35 100644 --- a/sd/source/ui/func/smarttag.cxx +++ b/sd/source/ui/func/smarttag.cxx @@ -458,22 +458,6 @@ bool SmartHdl::isMarkable() const return false; } -// ==================================================================== - -/* -SmartProxyHdl::SmartProxyHdl( const SmartTagReference& xTag, SdrHdl* pProxyHdl ) -: SmartHdl( xTag, pProxyHdl->GetPos(), pProxyHdl->GetKind() ) -, mpProxyHdl( pProxyHdl ) -{ -} - -// -------------------------------------------------------------------- - -SmartProxyHdl::~SmartProxyHdl() -{ - delete mpProxyHdl; -} -*/ } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx index 6526d4bd961e..49808fe59d34 100644 --- a/sd/source/ui/inc/prntopts.hxx +++ b/sd/source/ui/inc/prntopts.hxx @@ -35,15 +35,6 @@ #include <sfx2/tabdlg.hxx> #include <vcl/fixed.hxx> -/* -enum PrintType -{ - PT_DRAWING, - PT_NOTES, - PT_HANDOUT, - PT_OUTLINE -}; -*/ class SdModule; class SdPrintOptions : public SfxTabPage { diff --git a/sd/source/ui/inc/tbx_ww.hxx b/sd/source/ui/inc/tbx_ww.hxx index 357ce5982bd2..33dfcebab99a 100644 --- a/sd/source/ui/inc/tbx_ww.hxx +++ b/sd/source/ui/inc/tbx_ww.hxx @@ -33,42 +33,6 @@ #include <sdresid.hxx> #include <sfx2/tbxctrl.hxx> -//------------------------------------------------------------------------ - -/* -class SdPopupWindowTbx : public SfxPopupWindow -{ -private: - SfxToolBoxManager aTbx; - SdResId aSdResIdWin; - SdResId aSdResIdTbx; - WindowAlign eTbxAlign; - Link aSelectLink; - - DECL_LINK( TbxSelectHdl, ToolBox * ); - -public: - SdPopupWindowTbx( sal_uInt16 nId, WindowAlign eAlign, - SdResId aRIdWin, SdResId aRIdTbx, SfxBindings& rBindings ); - ~SdPopupWindowTbx(); - - virtual SfxPopupWindow* Clone() const; - - virtual void PopupModeEnd(); - - void StartSelection() { aTbx.GetToolBox().StartSelection(); } - void Update(); - -private: - - // Adapt the toolbox to whether CTL is active or not. If CTL is not - // active then all toolbox items that describe CTL specific shapes are - // deleted from it and its size is re-calculated. - void AdaptToCTL (void); -}; -*/ -//------------------------------------------------------------------------ - class SdTbxControl : public SfxToolBoxControl { private: diff --git a/sd/source/ui/toolpanel/TitledControl.cxx b/sd/source/ui/toolpanel/TitledControl.cxx index eaafff8bb7b0..4f83cef46bff 100644 --- a/sd/source/ui/toolpanel/TitledControl.cxx +++ b/sd/source/ui/toolpanel/TitledControl.cxx @@ -297,11 +297,6 @@ void TitledControl::SetEnabledState(bool bFlag) } else { -/* - GetParentNode()->GetControlContainer().SetExpansionState ( - this, - ControlContainer::ES_EXPAND); -*/ Enable(); } diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx index 99ef0b022697..041398a9fd4e 100644 --- a/sd/source/ui/unoidl/SdUnoSlideView.cxx +++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx @@ -241,45 +241,6 @@ Sequence< OUString > SAL_CALL SdUnoSlideView::getSupportedServiceNames( ) throw return aSeq; } - -/* -void SdUnoSlideView::FillPropertyTable ( - ::std::vector< ::com::sun::star::beans::Property>& ) -{ -} - - - - -sal_Bool SAL_CALL SdUnoSlideView::convertFastPropertyValue( - ::com::sun::star::uno::Any & , - ::com::sun::star::uno::Any & , - sal_Int32 , - const ::com::sun::star::uno::Any& ) - throw (::com::sun::star::lang::IllegalArgumentException) -{ - return sal_False; -} - - - - -void SAL_CALL SdUnoSlideView::setFastPropertyValue_NoBroadcast( - sal_Int32 , - const ::com::sun::star::uno::Any& ) - throw (::com::sun::star::uno::Exception) -{ -} - - - - -void SAL_CALL SdUnoSlideView::getFastPropertyValue( ::com::sun::star::uno::Any&, sal_Int32 ) const -{ -} - -*/ - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |