diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 09:07:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 23:42:26 +0000 |
commit | 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch) | |
tree | f8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /include | |
parent | 20deac4903fc0697477e855feeff482b3da234f9 (diff) |
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...
commit b44cbb26efe1d0b0950b1e1613e131b506dc3876
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jan 20 12:38:10 2015 +0200
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.
In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.
Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'include')
31 files changed, 0 insertions, 236 deletions
diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx index e6240ddbd58a..b9c86e302239 100644 --- a/include/basic/sbxobj.hxx +++ b/include/basic/sbxobj.hxx @@ -69,7 +69,6 @@ public: // Manage elements bool GetAll( SbxClassType ) { return true; } SbxVariable* Make( const OUString&, SbxClassType, SbxDataType, bool bIsRuntimeFunction = false ); - SbxObject* MakeObject( const OUString&, const OUString& ); virtual void Insert( SbxVariable* ); // AB 23.4.1997, Optimization, Insertion without check for duplicate Entries and // without Broadcasts, only used in SO2/auto.cxx @@ -77,9 +76,6 @@ public: void Remove( const OUString&, SbxClassType ); virtual void Remove( SbxVariable* ); - // Macro-Recording - OUString GenerateSource( const OUString &rLinePrefix, - const SbxObject *pRelativeTo ); // Direct access on arrays SbxArray* GetMethods() { return pMethods; } SbxArray* GetProperties() { return pProps; } diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index fa78d5abfd07..909081153b81 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -93,9 +93,6 @@ namespace accessibility virtual sal_Bool SAL_CALL supportsService (const OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XServiceName - OUString SAL_CALL getServiceName (void) throw (::com::sun::star::uno::RuntimeException); - /** Set the current index in the accessibility parent @attention This method does not lock the SolarMutex, diff --git a/include/editeng/AccessibleStaticTextBase.hxx b/include/editeng/AccessibleStaticTextBase.hxx index 3ce0c4bb8f78..a6c84404e46f 100644 --- a/include/editeng/AccessibleStaticTextBase.hxx +++ b/include/editeng/AccessibleStaticTextBase.hxx @@ -113,15 +113,6 @@ namespace accessibility EDITENG_DLLPRIVATE AccessibleStaticTextBase& operator= ( const AccessibleStaticTextBase& ); public: - /** Query the current edit source - - @attention This method returns by reference, so you are - responsible for serialization (typically, you acquired the - solar mutex when calling this method). Thus, the method - should only be called from the main office thread. - - */ - const SvxEditSource& GetEditSource() const; /** Set the current edit source @@ -164,13 +155,6 @@ namespace accessibility */ void SetEventSource( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rInterface ); - /** Get the event source - - @return the interface that is set as the source for - accessibility events sent by this object. - */ - ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetEventSource() const; - /** Set offset of EditEngine from parent @attention You are required to have the solar mutex @@ -186,30 +170,6 @@ namespace accessibility */ void SetOffset( const Point& rPoint ); - /** Query offset of EditEngine from parent - - @return the offset in screen coordinates (i.e. pixel) - */ - Point GetOffset() const; - - /** Update the visible children - - As this class currently does not represent any content - using children, this does nothing at the moment. - - @attention You are required to have the solar mutex - locked, when calling this method. Thus, the method should - only be called from the main office thread. - - This method reevaluates the visibility of all - children. Call this method if your visibility state has - changed somehow, e.g. if the visible area has changed and - the AccessibleStaticTextHelper isn't notified - internally. Normally, there should not be a need to call - this method. - */ - void UpdateChildren(); - /** Drop all references and enter disposed state This method drops all references to external objects (also diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx index b09bff62ee58..18547e96c6ac 100644 --- a/include/editeng/splwrap.hxx +++ b/include/editeng/splwrap.hxx @@ -125,7 +125,6 @@ protected: virtual bool SpellContinue(); // Check Areas // Result available through GetLast virtual void ReplaceAll( const OUString &rNewText, sal_Int16 nLanguage ); //Replace word from the replace list - void StartThesaurus( const OUString &rWord, sal_uInt16 nLang ); ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > GetAllRightDic() const; @@ -135,7 +134,6 @@ protected: virtual void ChangeWord( const OUString& rNewWord, const sal_uInt16 nLang ); // Wort via Thesaurus ersetzen virtual void ChangeThesWord( const OUString& rNewWord ); - void SetLanguage( const sal_uInt16 nLang ); // Change Language virtual void AutoCorrect( const OUString& rAktStr, const OUString& rNewStr ); virtual void InsertHyphen( const sal_uInt16 nPos ); // Insert hyphen diff --git a/include/editeng/unopracc.hxx b/include/editeng/unopracc.hxx index 162c6131e752..ba0e79a5068d 100644 --- a/include/editeng/unopracc.hxx +++ b/include/editeng/unopracc.hxx @@ -42,8 +42,6 @@ public: // XTextRange virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // uno::XInterface - ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; virtual void SAL_CALL release() throw() SAL_OVERRIDE; diff --git a/include/oox/ppt/dgmimport.hxx b/include/oox/ppt/dgmimport.hxx index 0591f5e2aec3..83ec9608dd9a 100644 --- a/include/oox/ppt/dgmimport.hxx +++ b/include/oox/ppt/dgmimport.hxx @@ -44,7 +44,6 @@ public: virtual bool exportDocument() throw() SAL_OVERRIDE; virtual const ::oox::drawingml::Theme* getCurrentTheme() const SAL_OVERRIDE; - sal_Int32 getSchemeClr( sal_Int32 nColorSchemeToken ) const; virtual const oox::drawingml::table::TableStyleListPtr getTableStyles() SAL_OVERRIDE; virtual oox::vml::Drawing* getVmlDrawing() SAL_OVERRIDE; diff --git a/include/oox/ppt/dgmlayout.hxx b/include/oox/ppt/dgmlayout.hxx index 74c7186ff96c..8cc4802fe259 100644 --- a/include/oox/ppt/dgmlayout.hxx +++ b/include/oox/ppt/dgmlayout.hxx @@ -44,7 +44,6 @@ public: virtual bool exportDocument() throw() SAL_OVERRIDE; virtual const ::oox::drawingml::Theme* getCurrentTheme() const SAL_OVERRIDE; - sal_Int32 getSchemeClr( sal_Int32 nColorSchemeToken ) const; virtual const oox::drawingml::table::TableStyleListPtr getTableStyles() SAL_OVERRIDE; virtual ::oox::vml::Drawing* getVmlDrawing() SAL_OVERRIDE; diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index ddec48274d31..c41583bbf5bd 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -497,8 +497,6 @@ public: virtual SfxObjectShell* GetObjectShell() SAL_OVERRIDE; - SfxFrame* GetSmartSelf( SfxFrame* pSelf, SfxMedium& rMedium ); - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetModel() const; // Only temporarily for the applications! @@ -518,7 +516,6 @@ public: bool IsInPlaceActive(); bool IsUIActive(); virtual void InPlaceActivate( bool ); - void UIActivate( bool ); static bool CopyStoragesOfUnknownMediaType( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xSource, diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx index a56376304d84..9db1a356685a 100644 --- a/include/sfx2/templdlg.hxx +++ b/include/sfx2/templdlg.hxx @@ -45,10 +45,8 @@ public: SfxTemplatePanelControl (SfxBindings* pBindings, vcl::Window* pParentWindow); virtual ~SfxTemplatePanelControl(); - void Update(); virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; - SfxChildAlignment CheckAlignment( SfxChildAlignment, SfxChildAlignment ); virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; void FreeResource (void); diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index 18a3158158dd..6dfe638298c0 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -119,7 +119,6 @@ public: SfxBindings& GetBindings() { return *pBindings; } const SfxBindings& GetBindings() const { return *pBindings; } vcl::Window& GetWindow() const; - void SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY ); SfxProgress* GetProgress() const; @@ -140,16 +139,6 @@ public: virtual void Activate( bool bUI ) SAL_OVERRIDE; virtual void Deactivate( bool bUI ) SAL_OVERRIDE; - // DDE-Interface - long DdeExecute( const OUString& rCmd ); - bool DdeGetData( const OUString& rItem, - const OUString& rMimeType, - ::com::sun::star::uno::Any & rValue ); - bool DdeSetData( const OUString& rItem, - const OUString& rMimeType, - const ::com::sun::star::uno::Any & rValue ); - ::sfx2::SvLinkSource* DdeCreateLinkSource( const OUString& rItem ); - void UpdateTitle(); static void ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const OUString& i_rPanelURL ); diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 39bebeec25d8..31e2d6884a13 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -256,7 +256,6 @@ public: const Size& GetMargin() const; void SetMargin( const Size& ); void DisconnectAllClients(); - SfxFrame* GetSmartSelf( SfxFrame* pSelf, SfxMedium& rMedium ); bool NewWindowAllowed() const { return !bNoNewWindow; } void SetNewWindowAllowed( bool bSet ) { bNoNewWindow = !bSet; } diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx index 078a32be6ffc..75ab09ab9902 100644 --- a/include/sot/factory.hxx +++ b/include/sot/factory.hxx @@ -58,7 +58,6 @@ public: const OUString & rClassName, CreateInstanceType ); void PutSuperClass( const SotFactory * ); - void * CreateInstance( SotObject ** ppObj = NULL ) const; bool Is( const SotFactory * pSuperClass ) const; const SotFactory * GetSuper( sal_uInt16 nPos ) const diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index 830faf8a36fc..b25345f61050 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -76,7 +76,6 @@ public: sal_uInt32 GetSize() const; bool CopyTo( SotStorageStream * pDestStm ); bool Commit(); - bool Revert(); bool SetProperty( const OUString& rName, const ::com::sun::star::uno::Any& rValue ); virtual sal_uInt64 remainingSize() SAL_OVERRIDE; }; @@ -159,7 +158,6 @@ public: if( m_nError == SVSTREAM_OK ) m_nError = nErrorCode; } - void ResetError(); bool IsRoot() const { return m_bIsRoot; } void SignAsRoot( bool b = true ) { m_bIsRoot = b; } @@ -169,19 +167,14 @@ public: void SetClass( const SvGlobalName & rClass, sal_uLong bOriginalClipFormat, const OUString & rUserTypeName ); - void SetConvertClass( const SvGlobalName & rConvertClass, - sal_uLong bOriginalClipFormat, - const OUString & rUserTypeName ); SvGlobalName GetClassName(); // type of data in the storage sal_uLong GetFormat(); OUString GetUserName(); - bool ShouldConvert(); // list of all elements void FillInfoList( SvStorageInfoList * ) const; bool CopyTo( SotStorage * pDestStg ); bool Commit(); - bool Revert(); // create stream with connection to Storage, // more or less a Parent-Child relationship @@ -197,13 +190,8 @@ public: bool IsContained( const OUString & rEleName ) const; // remove element bool Remove( const OUString & rEleName ); - // change element's name - bool Rename( const OUString & rEleName, - const OUString & rNewName ); bool CopyTo( const OUString & rEleName, SotStorage * pDest, const OUString & rNewName ); - bool MoveTo( const OUString & rEleName, SotStorage * pDest, - const OUString & rNewName ); bool IsOLEStorage() const; static bool IsOLEStorage( const OUString & rFileName ); diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx index 29c9795818e2..710e5e43e897 100644 --- a/include/svl/cintitem.hxx +++ b/include/svl/cintitem.hxx @@ -63,12 +63,6 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE; - sal_uInt8 GetMin() const; - - sal_uInt8 GetMax() const; - - SfxFieldUnit GetUnit() const; - sal_uInt8 GetValue() const { return m_nValue; } inline void SetValue(sal_uInt8 nTheValue); @@ -122,12 +116,6 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE; - sal_uInt16 GetMin() const; - - sal_uInt16 GetMax() const; - - SfxFieldUnit GetUnit() const; - sal_uInt16 GetValue() const { return m_nValue; } inline void SetValue(sal_uInt16 nTheValue); @@ -181,12 +169,6 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE; - sal_Int32 GetMin() const; - - sal_Int32 GetMax() const; - - SfxFieldUnit GetUnit() const; - sal_Int32 GetValue() const { return m_nValue; } inline void SetValue(sal_Int32 nTheValue); @@ -240,12 +222,6 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE; - sal_uInt32 GetMin() const; - - sal_uInt32 GetMax() const; - - SfxFieldUnit GetUnit() const; - sal_uInt32 GetValue() const { return m_nValue; } inline void SetValue(sal_uInt32 nTheValue); diff --git a/include/svl/instrm.hxx b/include/svl/instrm.hxx index 6c4e4fb60d36..210c0eedc47d 100644 --- a/include/svl/instrm.hxx +++ b/include/svl/instrm.hxx @@ -60,10 +60,6 @@ public: rTheStream); virtual ~SvInputStream(); - - void AddMark(sal_uLong nPos); - - void RemoveMark(sal_uLong nPos); }; #endif // INCLUDED_SVL_INSTRM_HXX diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx index 70879b31d1fd..12536c4c9de7 100644 --- a/include/svl/intitem.hxx +++ b/include/svl/intitem.hxx @@ -80,12 +80,6 @@ public: virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE; - sal_Int16 GetMin() const; - - sal_Int16 GetMax() const; - - SfxFieldUnit GetUnit() const; - sal_Int16 GetValue() const { return m_nValue; } inline void SetValue(sal_Int16 nTheValue); diff --git a/include/svl/style.hxx b/include/svl/style.hxx index 75bef0d2875a..82091f14705c 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -116,9 +116,6 @@ public: If the display name is empty, this method returns the internal name. */ OUString GetDisplayName() const; - // sets the display name of this style - void SetDisplayName( const OUString& ); - virtual const OUString& GetParent() const; virtual bool SetParent( const OUString& ); virtual const OUString& GetFollow() const; @@ -146,7 +143,6 @@ public: virtual void SetHelpId( const OUString& r, sal_uLong nId ); virtual SfxItemSet& GetItemSet(); - sal_uInt16 GetVersion() const; }; /* Class to iterate and search on a SfxStyleSheetBasePool */ @@ -304,7 +300,6 @@ class SVL_DLLPUBLIC SfxStyleSheetPool: public SfxStyleSheetBasePool protected: using SfxStyleSheetBasePool::Create; virtual SfxStyleSheetBase* Create(const OUString&, SfxStyleFamily, sal_uInt16 mask) SAL_OVERRIDE; - SfxStyleSheetBase* Create(const SfxStyleSheet &); public: SfxStyleSheetPool( SfxItemPool const& ); diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx index 73d97f111808..85a1dda2461c 100644 --- a/include/svtools/accessibleruler.hxx +++ b/include/svtools/accessibleruler.hxx @@ -74,19 +74,6 @@ public: bool SAL_CALL isVisible() throw( ::com::sun::star::uno::RuntimeException ); - bool SAL_CALL - isFocusTraversable() throw( ::com::sun::star::uno::RuntimeException ); - - void SAL_CALL - addFocusListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) - throw( ::com::sun::star::uno::RuntimeException ); - - void SAL_CALL - removeFocusListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) - throw( ::com::sun::star::uno::RuntimeException ); - //===== XAccessible ===================================================== virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL @@ -115,8 +102,6 @@ public: virtual void SAL_CALL grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - ::com::sun::star::uno::Any SAL_CALL - getAccessibleKeyBinding() throw( ::com::sun::star::uno::RuntimeException ); virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index 84ec8d8748f8..402e946c84d4 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -322,7 +322,6 @@ public: bool HasBackground() const; bool HasFont() const; - bool HasFontTextColor() const; bool HasFontFillColor() const; void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; } diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index 807eef998675..b9239404ad21 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -225,7 +225,6 @@ public: virtual OUString GetAccessibleObjectDescription( ::svt::AccessibleBrowseBoxObjType _eType, sal_Int32 _nPos = -1 ) const SAL_OVERRIDE; virtual vcl::Window* GetWindowInstance() SAL_OVERRIDE; - using SvTreeListBox::FillAccessibleStateSet; virtual void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& _rStateSet, ::svt::AccessibleBrowseBoxObjType _eType ) const SAL_OVERRIDE; virtual void FillAccessibleStateSetForCell( ::utl::AccessibleStateSetHelper& _rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn ) const SAL_OVERRIDE; virtual void GrabTableFocus() SAL_OVERRIDE; diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 96c501d6ad8e..5f3401fa7515 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -489,9 +489,6 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; - /** Fills the StateSet with all states (except DEFUNC, done by the accessible object). */ - void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& rStateSet ) const; - /** Fills the StateSet of one entry. */ void FillAccessibleEntryStateSet( SvTreeListEntry* pEntry, ::utl::AccessibleStateSetHelper& rStateSet ) const; @@ -577,7 +574,6 @@ protected: virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; - void CursorMoved( SvTreeListEntry* pNewCursor ); virtual void PreparePaint( SvTreeListEntry* ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx index 08585d19015d..d114217b16c0 100644 --- a/include/svx/AccessibleTextHelper.hxx +++ b/include/svx/AccessibleTextHelper.hxx @@ -206,13 +206,6 @@ namespace accessibility */ void SetEventSource( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rInterface ); - /** Get the event source - - @return the interface that is set as the source for - accessibility events sent by this object. - */ - ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetEventSource() const; - /** Set offset of EditEngine/Outliner from parent If the origin of the underlying EditEngine/Outliner does @@ -229,12 +222,6 @@ namespace accessibility */ void SetOffset( const Point& rPoint ); - /** Query offset of EditEngine/Outliner from parent - - @return the offset in screen coordinates (i.e. pixel) - */ - Point GetOffset() const; - /** Set offset the object adds to all children's indices This can be used if the owner of this object has children @@ -338,23 +325,6 @@ namespace accessibility @attention Fires state change events, therefore, don't hold any mutex - @param nEventId - Id of the event to send, @see AccessibleEventId - - @param rNewValue - The value we've changed into - - @param rOldValue - The old value before the change - */ - void FireEvent( const sal_Int16 nEventId, - const ::com::sun::star::uno::Any& rNewValue = ::com::sun::star::uno::Any(), - const ::com::sun::star::uno::Any& rOldValue = ::com::sun::star::uno::Any() ) const; - - /** Call this method to invoke all event listeners with the given event - - @attention Fires state change events, therefore, don't hold any mutex - @param rEvent The event to send, @see AccessibleEventObject @@ -362,15 +332,6 @@ namespace accessibility // TODO: make that virtual next time void FireEvent( const ::com::sun::star::accessibility::AccessibleEventObject& rEvent ) const; - /** Query select state of the text managed by this object - - @attention Don't call with locked mutexes. You may hold - the solar mutex, but this method acquires it anyway. - - @return sal_True, if the text or parts of it are currently selected - */ - bool IsSelected() const; - // XAccessibleContext child handling methods /** Implements getAccessibleChildCount diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 3371a15e2a07..9a19a18807e7 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -323,11 +323,6 @@ public: virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVersion) const SAL_OVERRIDE; virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const SAL_OVERRIDE; - double GetMin() const; - double GetMax() const; - - SfxFieldUnit GetUnit() const; - double GetValue() const { return fVal; } void SetValue(double fNewVal) { fVal = fNewVal; } }; diff --git a/include/svx/e3dundo.hxx b/include/svx/e3dundo.hxx index 0d87726917d7..40a22fa17b1b 100644 --- a/include/svx/e3dundo.hxx +++ b/include/svx/e3dundo.hxx @@ -104,7 +104,6 @@ class SVX_DLLPUBLIC E3dAttributesUndoAction : public SdrUndoAction virtual bool CanRepeat(SfxRepeatTarget& rView) const SAL_OVERRIDE; virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; - void Repeat(); }; #endif // INCLUDED_SVX_E3DUNDO_HXX diff --git a/include/svx/sdr/contact/viewcontactoftextobj.hxx b/include/svx/sdr/contact/viewcontactoftextobj.hxx index 56c472285938..418ce1679f66 100644 --- a/include/svx/sdr/contact/viewcontactoftextobj.hxx +++ b/include/svx/sdr/contact/viewcontactoftextobj.hxx @@ -28,10 +28,6 @@ namespace sdr { namespace contact { class ViewContactOfTextObj : public ViewContactOfSdrObj { -protected: - // internal access to SdrTextObj - const SdrTextObj& GetTextObj() const; - public: // basic constructor, used from SdrObject. explicit ViewContactOfTextObj(SdrTextObj& rTextObj); diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index 3f2cc06d1190..c05a5b80f4c0 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -150,7 +150,6 @@ public: virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, size_t nObjNum); virtual SdrObject* ReplaceObject(SdrObject* pNewObj, size_t nObjNum); /// Modify ZOrder of an SdrObject - SdrObject* NbcSetObjectOrdNum(size_t nOldObjNum, size_t nNewObjNum); virtual SdrObject* SetObjectOrdNum(size_t nOldObjNum, size_t nNewObjNum); void SetRectsDirty(); diff --git a/include/toolkit/awt/vclxgraphics.hxx b/include/toolkit/awt/vclxgraphics.hxx index a180a92b20bc..627b6759f43b 100644 --- a/include/toolkit/awt/vclxgraphics.hxx +++ b/include/toolkit/awt/vclxgraphics.hxx @@ -94,17 +94,11 @@ public: // ::com::sun::star::awt::XGraphics Attributes virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > SAL_CALL getDevice() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::sal_Int32 getTextColor() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTextColor( ::sal_Int32 _textcolor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::sal_Int32 getTextFillColor() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTextFillColor( ::sal_Int32 _textfillcolor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::sal_Int32 getLineColor() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setLineColor( ::sal_Int32 _linecolor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::sal_Int32 getFillColor() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFillColor( ::sal_Int32 _fillcolor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::com::sun::star::awt::RasterOperation getRasterOp() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setRasterOp( ::com::sun::star::awt::RasterOperation _rasterop ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont > getFont() throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFont( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont >& _font ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::awt::SimpleFontMetric SAL_CALL getFontMetric() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/controls/accessiblecontrolcontext.hxx b/include/toolkit/controls/accessiblecontrolcontext.hxx index f882b3f707c6..78fdfe7cc4d8 100644 --- a/include/toolkit/controls/accessiblecontrolcontext.hxx +++ b/include/toolkit/controls/accessiblecontrolcontext.hxx @@ -100,7 +100,6 @@ namespace toolkit // XAccessibleComponent virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding( ) throw (::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx index 2e1911f86e57..020e16a2e13c 100644 --- a/include/tools/inetmime.hxx +++ b/include/tools/inetmime.hxx @@ -718,19 +718,6 @@ protected: /** Write a sequence of octets. - @descr The supplied sequence of UCS-4 characters is interpreted as a - sequence of octets. It is an error if any of the elements of the - sequence has a numerical value greater than 255. - - @param pBegin Points to the start of the sequence, must not be null. - - @param pEnd Points past the end of the sequence, must be >= pBegin. - */ - void writeSequence(const sal_uInt32 * pBegin, - const sal_uInt32 * pEnd); - - /** Write a sequence of octets. - @descr The supplied sequence of Unicode characters is interpreted as a sequence of octets. It is an error if any of the elements of the sequence has a numerical value greater than 255. @@ -782,18 +769,6 @@ public: /** Write a sequence of octets. - @descr The supplied sequence of UCS-4 characters is interpreted as a - sequence of octets. It is an error if any of the elements of the - sequence has a numerical value greater than 255. - - @param pBegin Points to the start of the sequence, must not be null. - - @param pEnd Points past the end of the sequence, must be >= pBegin. - */ - inline void write(const sal_uInt32 * pBegin, const sal_uInt32 * pEnd); - - /** Write a sequence of octets. - @descr The supplied sequence of Unicode characters is interpreted as a sequence of octets. It is an error if any of the elements of the sequence has a numerical value greater than 255. @@ -879,13 +854,6 @@ inline void INetMIMEOutputSink::write(const sal_Char * pBegin, m_nColumn += pEnd - pBegin; } -inline void INetMIMEOutputSink::write(const sal_uInt32 * pBegin, - const sal_uInt32 * pEnd) -{ - writeSequence(pBegin, pEnd); - m_nColumn += pEnd - pBegin; -} - inline void INetMIMEOutputSink::write(const sal_Unicode * pBegin, const sal_Unicode * pEnd) { diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx index c761429ea126..97e68d15e47c 100644 --- a/include/vcl/printerinfomanager.hxx +++ b/include/vcl/printerinfomanager.hxx @@ -180,9 +180,6 @@ public: // returns the printer queue names const std::list< SystemPrintQueue >& getSystemPrintQueues(); - // similar but returnse whole commandlines - void getSystemPrintCommands( std::list< OUString >& rCommands ); - // abstract print command // returns a stdio FILE* that a postscript file may be written to // this may either be a regular file or the result of popen() diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 72fc3cc72bc2..e9c272d29588 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -704,7 +704,6 @@ public: virtual void Erase() SAL_OVERRIDE; virtual void Erase( const Rectangle& rRect ) SAL_OVERRIDE { ::OutputDevice::Erase( rRect ); } - void PostPaint(); virtual void Draw( ::OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); virtual void Move(); virtual void Resize(); |