diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-02-27 11:23:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 11:23:51 +0000 |
commit | 2b179ca1744d12630488619f948e5eb860e1fb41 (patch) | |
tree | ea71499aee7ec222439a731578cd409c1efda571 /svx | |
parent | c58882fda80b63baac3360001b0fdf251d96e0eb (diff) |
Removed unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/chrtitem.hxx | 4 | ||||
-rw-r--r-- | svx/inc/svx/colrctrl.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/dlgctl3d.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/imapdlg.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/langbox.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/pfiledlg.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/relfld.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/unopage.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/unoshape.hxx | 1 | ||||
-rw-r--r-- | svx/source/accessibility/svxrectctaccessiblecontext.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 25 | ||||
-rw-r--r-- | svx/source/dialog/imapdlg.cxx | 5 | ||||
-rw-r--r-- | svx/source/dialog/langbox.cxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/pfiledlg.cxx | 56 | ||||
-rw-r--r-- | svx/source/dialog/relfld.cxx | 14 | ||||
-rw-r--r-- | svx/source/inc/svxrectctaccessiblecontext.hxx | 3 | ||||
-rw-r--r-- | svx/source/items/chrtitem.cxx | 16 | ||||
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 14 | ||||
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 7 | ||||
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 12 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 6 |
21 files changed, 0 insertions, 185 deletions
diff --git a/svx/inc/svx/chrtitem.hxx b/svx/inc/svx/chrtitem.hxx index 194d43133931..11bc06dbaa6c 100644 --- a/svx/inc/svx/chrtitem.hxx +++ b/svx/inc/svx/chrtitem.hxx @@ -214,8 +214,6 @@ class SVX_DLLPUBLIC SvxChartDataDescrItem : public SfxEnumItem { public: TYPEINFO(); - SvxChartDataDescrItem(SvxChartDataDescr eDataDescr /*= CHDESCR_NONE*/, - sal_uInt16 nId ); SvxChartDataDescrItem(SvStream& rIn, sal_uInt16 nId ); @@ -255,8 +253,6 @@ class SVX_DLLPUBLIC SvxChartTextOrientItem : public SfxEnumItem { public: TYPEINFO(); - SvxChartTextOrientItem(SvxChartTextOrient /*eOrient = CHTXTORIENT_STANDARD*/, - sal_uInt16 nId ); SvxChartTextOrientItem(SvStream& rIn, sal_uInt16 nId ); diff --git a/svx/inc/svx/colrctrl.hxx b/svx/inc/svx/colrctrl.hxx index 39ebc0520023..7aac1961f89c 100644 --- a/svx/inc/svx/colrctrl.hxx +++ b/svx/inc/svx/colrctrl.hxx @@ -68,7 +68,6 @@ protected: DECL_STATIC_LINK(SvxColorValueSet, ExecDragHdl, void*); public: - SvxColorValueSet( Window* pParent, WinBits nWinStyle = WB_ITEMBORDER ); SvxColorValueSet( Window* pParent, const ResId& rResId ); sal_Bool IsLeftButton() const { return bLeft; } diff --git a/svx/inc/svx/dlgctl3d.hxx b/svx/inc/svx/dlgctl3d.hxx index 63161b1b72c8..6d2f1990f20b 100644 --- a/svx/inc/svx/dlgctl3d.hxx +++ b/svx/inc/svx/dlgctl3d.hxx @@ -120,7 +120,6 @@ class SVX_DLLPUBLIC Svx3DLightControl : public Svx3DPreviewControl void TrySelection(Point aPosPixel); public: - Svx3DLightControl(Window* pParent, const ResId& rResId); Svx3DLightControl(Window* pParent, WinBits nStyle = 0); ~Svx3DLightControl(); diff --git a/svx/inc/svx/imapdlg.hxx b/svx/inc/svx/imapdlg.hxx index 0c3ea0489153..3a6703aa6cdd 100644 --- a/svx/inc/svx/imapdlg.hxx +++ b/svx/inc/svx/imapdlg.hxx @@ -173,7 +173,6 @@ public: const ImageMap& GetImageMap() const; void SetTargetList( const TargetList& rTargetList ); - const TargetList& GetTargetList() const; void Update( const Graphic& rGraphic, const ImageMap* pImageMap = NULL, const TargetList* pTargetList = NULL, void* pEditingObj = NULL ); diff --git a/svx/inc/svx/langbox.hxx b/svx/inc/svx/langbox.hxx index 1a8f6ef0776c..7baf253e01f6 100644 --- a/svx/inc/svx/langbox.hxx +++ b/svx/inc/svx/langbox.hxx @@ -80,7 +80,6 @@ private: SVX_DLLPRIVATE sal_uInt16 ImplInsertLanguage(LanguageType, sal_uInt16, sal_Int16 ); public: - SvxLanguageBox( Window* pParent, WinBits nWinStyle, sal_Bool bCheck = sal_False); SvxLanguageBox( Window* pParent, const ResId& rResId, sal_Bool bCheck = sal_False); ~SvxLanguageBox(); diff --git a/svx/inc/svx/pfiledlg.hxx b/svx/inc/svx/pfiledlg.hxx index 6c62149ea4eb..459187696b66 100644 --- a/svx/inc/svx/pfiledlg.hxx +++ b/svx/inc/svx/pfiledlg.hxx @@ -53,8 +53,6 @@ public: ErrCode Execute(); String GetPath() const; - static bool IsAvailable (sal_uInt16 nKind); - void SetContext( sfx2::FileDialogHelper::Context eNewContext ); }; diff --git a/svx/inc/svx/relfld.hxx b/svx/inc/svx/relfld.hxx index 2dd554cbbbab..8966b9a88db3 100644 --- a/svx/inc/svx/relfld.hxx +++ b/svx/inc/svx/relfld.hxx @@ -50,7 +50,6 @@ protected: void Modify(); public: - SvxRelativeField( Window* pParent, WinBits nWinStyle = 0 ); SvxRelativeField( Window* pParent, const ResId& rResId ); void EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax = 150, diff --git a/svx/inc/svx/unopage.hxx b/svx/inc/svx/unopage.hxx index d35ccfc04028..5b82b4901cc9 100644 --- a/svx/inc/svx/unopage.hxx +++ b/svx/inc/svx/unopage.hxx @@ -91,7 +91,6 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper5< ::com::sun: public: SvxDrawPage( SdrPage* pPage ) throw(); - SvxDrawPage() throw(); virtual ~SvxDrawPage() throw(); // Internals diff --git a/svx/inc/svx/unoshape.hxx b/svx/inc/svx/unoshape.hxx index f22468f0f8c9..b64ad7c66ca4 100644 --- a/svx/inc/svx/unoshape.hxx +++ b/svx/inc/svx/unoshape.hxx @@ -338,7 +338,6 @@ protected: virtual bool setPropertyToDefaultImpl( const SfxItemPropertySimpleEntry* pProperty ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); public: - SvxShapeText() throw (); SvxShapeText( SdrObject* pObj ) throw (); SvxShapeText( SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet ) throw (); virtual ~SvxShapeText() throw (); diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 703cc770364b..ab5c4bb8d9c2 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -672,12 +672,6 @@ void SvxRectCtlAccessibleContext::selectChild( RECT_POINT eButton ) selectChild( PointToIndex( eButton, mbAngleMode ) ); } -void SvxRectCtlAccessibleContext::CommitChange( const AccessibleEventObject& rEvent ) -{ - if (mnClientId) - comphelper::AccessibleEventNotifier::addEvent( mnClientId, rEvent ); -} - void SAL_CALL SvxRectCtlAccessibleContext::disposing() { if( !rBHelper.bDisposed ) diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 6be2e96ce214..c5462aa7a2a3 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -257,31 +257,6 @@ void Svx3DPreviewControl::Set3DAttributes( const SfxItemSet& rAttr ) #define NO_LIGHT_SELECTED (0xffffffff) #define MAX_NUMBER_LIGHTS (8) -Svx3DLightControl::Svx3DLightControl(Window* pParent, const ResId& rResId) -: Svx3DPreviewControl(pParent, rResId), - maUserInteractiveChangeCallback(), - maUserSelectionChangeCallback(), - maChangeCallback(), - maSelectionChangeCallback(), - maSelectedLight(NO_LIGHT_SELECTED), - mpExpansionObject(0), - mpLampBottomObject(0), - mpLampShaftObject(0), - maLightObjects(MAX_NUMBER_LIGHTS, (E3dObject*)0), - mfRotateX(-20.0), - mfRotateY(45.0), - mfRotateZ(0.0), - maActionStartPoint(), - mnInteractionStartDistance(5 * 5 * 2), - mfSaveActionStartHor(0.0), - mfSaveActionStartVer(0.0), - mfSaveActionStartRotZ(0.0), - mbMouseMoved(false), - mbGeometrySelected(false) -{ - Construct2(); -} - Svx3DLightControl::Svx3DLightControl(Window* pParent, WinBits nStyle) : Svx3DPreviewControl(pParent, nStyle), maUserInteractiveChangeCallback(), diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index 0aff9136cd91..ac21958fe048 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -306,11 +306,6 @@ void SvxIMapDlg::SetTargetList( const TargetList& rTargetList ) maCbbTarget.InsertEntry( *aNewList[ i ] ); } -const TargetList& SvxIMapDlg::GetTargetList() const -{ - return pIMapWnd->GetTargetList(); -} - void SvxIMapDlg::Update( const Graphic& rGraphic, const ImageMap* pImageMap, const TargetList* pTargetList, void* pEditingObj ) { diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 98b205e30d00..9c14c0066735 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -132,14 +132,6 @@ sal_uInt16 TypeToPos_Impl( LanguageType eType, const ListBox& rLb ) return nPos; } -//----------------------------------------------------------------------- -SvxLanguageBox::SvxLanguageBox( Window* pParent, WinBits nWinStyle, sal_Bool bCheck ) : - ListBox( pParent, nWinStyle ), - m_pSpellUsedLang( NULL ), - m_bWithCheckmark( bCheck ) -{ - Init(); -} //------------------------------------------------------------------------ SvxLanguageBox::SvxLanguageBox( Window* pParent, const ResId& rResId, sal_Bool bCheck ) : ListBox( pParent, rResId ), diff --git a/svx/source/dialog/pfiledlg.cxx b/svx/source/dialog/pfiledlg.cxx index c57c016a572a..5ce7b8f54bc7 100644 --- a/svx/source/dialog/pfiledlg.cxx +++ b/svx/source/dialog/pfiledlg.cxx @@ -208,62 +208,6 @@ SvxPluginFileDlg::~SvxPluginFileDlg() #define PFDLG_FOUND_SOUND 0x0004 #define PFDLG_FOUND_VIDEO 0x0008 -bool SvxPluginFileDlg::IsAvailable (sal_uInt16 nKind) -{ - static sal_uInt16 nCheck = 0; - - if ( nKind == SID_INSERT_SOUND && ( nCheck & PFDLG_CHECKED_SOUND ) ) - return (nCheck & PFDLG_FOUND_SOUND) != 0; - if ( nKind == SID_INSERT_VIDEO && ( nCheck & PFDLG_CHECKED_VIDEO ) ) - return (nCheck & PFDLG_FOUND_VIDEO) != 0; - - bool bFound = false; - uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); - - if( xMgr.is() ) - { - uno::Reference< plugin::XPluginManager > rPluginManager = uno::Reference< plugin::XPluginManager > ( xMgr->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.plugin.PluginManager")) ), uno::UNO_QUERY ); - if( rPluginManager.is() ) - { - const uno::Sequence<plugin::PluginDescription > aSeq( rPluginManager->getPluginDescriptions() ); - const plugin::PluginDescription* pDescription = aSeq.getConstArray(); - sal_Int32 nAnzahlPlugins = rPluginManager->getPluginDescriptions().getLength(); - - for ( sal_uInt16 i = 0; i < nAnzahlPlugins && !bFound; ++i ) - { - String aStrPlugMIMEType( pDescription[i].Mimetype ); - switch (nKind) - { - case SID_INSERT_SOUND : - { - nCheck |= PFDLG_CHECKED_SOUND; - - if( aStrPlugMIMEType.SearchAscii( sAudio ) == 0 ) - { - bFound = true; - nCheck |= PFDLG_FOUND_SOUND; - } - } - break; - case SID_INSERT_VIDEO : - { - nCheck |= PFDLG_CHECKED_VIDEO; - - if (aStrPlugMIMEType.SearchAscii( sVideo ) == 0) - { - bFound = true; - nCheck |= PFDLG_FOUND_VIDEO; - } - } - break; - } - } - } - } - - return bFound; -} - void SvxPluginFileDlg::SetContext( sfx2::FileDialogHelper::Context _eNewContext ) { maFileDlg.SetContext( _eNewContext ); diff --git a/svx/source/dialog/relfld.cxx b/svx/source/dialog/relfld.cxx index 0c327c981370..cfe0a2f195d1 100644 --- a/svx/source/dialog/relfld.cxx +++ b/svx/source/dialog/relfld.cxx @@ -33,20 +33,6 @@ // ----------------------------------------------------------------------- -SvxRelativeField::SvxRelativeField( Window* pParent, WinBits nWinSize ) : - MetricField( pParent, nWinSize ) -{ - bNegativeEnabled = sal_False; - bRelativeMode = sal_False; - bRelative = sal_False; - - SetDecimalDigits( 2 ); - SetMin( 0 ); - SetMax( 9999 ); -} - -// ----------------------------------------------------------------------- - SvxRelativeField::SvxRelativeField( Window* pParent, const ResId& rResId ) : MetricField( pParent, rResId ) { diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx index cee795b49d0d..ff55a84206df 100644 --- a/svx/source/inc/svxrectctaccessiblecontext.hxx +++ b/svx/source/inc/svxrectctaccessiblecontext.hxx @@ -275,9 +275,6 @@ protected: /// @Return the object's current bounding box relative to the parent object. virtual Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException ); - /// Calls all Listener to tell they the change. - void CommitChange( const com::sun::star::accessibility::AccessibleEventObject& rEvent ); - virtual void SAL_CALL disposing(); /// @returns true if it's disposed or in disposing diff --git a/svx/source/items/chrtitem.cxx b/svx/source/items/chrtitem.cxx index 1f1a2de13357..74929869a980 100644 --- a/svx/source/items/chrtitem.cxx +++ b/svx/source/items/chrtitem.cxx @@ -94,14 +94,6 @@ SfxPoolItem* SvxChartStyleItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const |* *************************************************************************/ -SvxChartDataDescrItem::SvxChartDataDescrItem(SvxChartDataDescr eDataDescr, - sal_uInt16 nId) : - SfxEnumItem(nId, (sal_uInt16)eDataDescr) -{ -} - -// ----------------------------------------------------------------------- - SvxChartDataDescrItem::SvxChartDataDescrItem(SvStream& rIn, sal_uInt16 nId) : SfxEnumItem(nId, rIn) { @@ -221,14 +213,6 @@ bool SvxChartTextOrderItem::PutValue( const ::com::sun::star::uno::Any& rVal, sa |* *************************************************************************/ -SvxChartTextOrientItem::SvxChartTextOrientItem(SvxChartTextOrient eOrient, - sal_uInt16 nId) : - SfxEnumItem(nId, (sal_uInt16)eOrient) -{ -} - -// ----------------------------------------------------------------------- - SvxChartTextOrientItem::SvxChartTextOrientItem(SvStream& rIn, sal_uInt16 nId) : SfxEnumItem(nId, rIn) { diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index 369ccc9e2fd3..ddf01f7bbe29 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -105,20 +105,6 @@ sal_Bool SvxColorValueSetData::WriteObject( SotStorageStreamRef& rxOStm, void*, |* \************************************************************************/ -SvxColorValueSet::SvxColorValueSet( Window* _pParent, WinBits nWinStyle ) : - ValueSet( _pParent, nWinStyle ), - DragSourceHelper( this ), - bLeft (sal_True) -{ - SetAccessibleName(String( SVX_RES( STR_COLORTABLE ) ) ); -} - -/************************************************************************* -|* -|* SvxColorValueSet: Ctor -|* -\************************************************************************/ - SvxColorValueSet::SvxColorValueSet( Window* _pParent, const ResId& rResId ) : ValueSet( _pParent, rResId ), DragSourceHelper( this ), diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index d281d5cf1338..2d95a08ae2ca 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -89,7 +89,6 @@ public: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); - void StartSelection(); inline ListBox & GetListBox() { return *pListBox; } sal_Bool IsUserSelected() const { return bUserSel; } @@ -149,12 +148,6 @@ void SvxPopupWindowListBox::StateChanged( SfxPopupWindow::StateChanged( nSID, eState, pState ); } - -void SvxPopupWindowListBox::StartSelection() -{ - rToolBox.StartSelection(); -} - Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow() { // allows forwarding key events in the correct window diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 0f8197cabe9d..07b29c37e2c5 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -95,18 +95,6 @@ SvxDrawPage::SvxDrawPage( SdrPage* pInPage ) throw() } //---------------------------------------------------------------------- -// Ctor fuer SvxDrawPage_NewInstance() -//---------------------------------------------------------------------- -SvxDrawPage::SvxDrawPage() throw() -: mrBHelper( getMutex() ) -, mpPage( NULL ) -, mpModel( NULL ) -, mpView( NULL ) -{ - DBG_CTOR(SvxDrawPage,NULL); -} - -//---------------------------------------------------------------------- SvxDrawPage::~SvxDrawPage() throw() { DBG_ASSERT( mrBHelper.bDisposed, "SvxDrawPage must be disposed!" ); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index f1a3c37b4c4a..988b076344f5 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -3994,12 +3994,6 @@ void SvxShape::updateShapeKind() /*********************************************************************** * class SvxShapeText * ***********************************************************************/ -SvxShapeText::SvxShapeText() throw () -: SvxShape(NULL, getSvxMapProvider().GetMap(SVXMAP_TEXT), getSvxMapProvider().GetPropertySet(SVXMAP_TEXT, SdrObject::GetGlobalDrawObjectItemPool()) ), SvxUnoTextBase( ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() ) -{ -} - -//---------------------------------------------------------------------- SvxShapeText::SvxShapeText( SdrObject* pObject ) throw () : SvxShape( pObject, getSvxMapProvider().GetMap(SVXMAP_TEXT), getSvxMapProvider().GetPropertySet(SVXMAP_TEXT, SdrObject::GetGlobalDrawObjectItemPool()) ), SvxUnoTextBase( ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() ) { |