diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-16 11:24:25 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 12:18:56 +0000 |
commit | 051e660b37549fec7cc42e4471ae65a4cefed495 (patch) | |
tree | 720c439d57664224ec579e14a72b5f4ccce391a5 /include/svx | |
parent | 1d852b32d7ad89b2317c04958060f366f8922ca4 (diff) |
loplugin:unusedmethods svx(part2)
Change-Id: I161360e2f3113c4814fe1c2c095e602b2c93dcd7
Reviewed-on: https://gerrit.libreoffice.org/17120
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx')
38 files changed, 0 insertions, 287 deletions
diff --git a/include/svx/IAccessibleViewForwarder.hxx b/include/svx/IAccessibleViewForwarder.hxx index 14be8b0499ac..d9f7ff9c2105 100644 --- a/include/svx/IAccessibleViewForwarder.hxx +++ b/include/svx/IAccessibleViewForwarder.hxx @@ -54,14 +54,6 @@ class IAccessibleViewForwarder public: virtual ~IAccessibleViewForwarder(){}; - /** This method informs you about the state of the forwarder. Do not - use it when the returned value is <false/>. - - @return - Return <true/> if the view forwarder is valid and <false/> else. - */ - virtual bool IsValid() const = 0; - /** Returns the area of the underlying document that is visible in the * corresponding window. @@ -95,28 +87,6 @@ public: */ virtual Size LogicToPixel (const Size& rSize) const = 0; - /** Transform the specified point from absolute screen coordinates to - internal coordinates (100th of mm). - - @param rPoint - Point in screen coordinates relative to the upper left corner of - the (current) screen. - - @return - The same point but in internal coordinates (100th of mm). - */ - virtual Point PixelToLogic (const Point& rPoint) const = 0; - - /** Transform the specified size from screen coordinates to internal - coordinates (100th of mm). - - @param rSize - Size in screen coordinates. - - @return - The same size but in internal coordinates (100th of mm). - */ - virtual Size PixelToLogic (const Size& rSize) const = 0; }; } // end of namespace accessibility diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx index 29c8209494da..7c041edba584 100644 --- a/include/svx/ShapeTypeHandler.hxx +++ b/include/svx/ShapeTypeHandler.hxx @@ -123,20 +123,6 @@ public: const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo) const; - /** Compatibility function. - */ - AccessibleShape* - CreateAccessibleObject ( - const ::com::sun::star::uno::Reference< - ::com::sun::star::drawing::XShape>& rxShape, - const ::com::sun::star::uno::Reference< - ::com::sun::star::accessibility::XAccessible>& rxParent, - const AccessibleShapeTreeInfo& rShapeTreeInfo) const - { - AccessibleShapeInfo aShapeInfo(rxShape, rxParent); - return CreateAccessibleObject (aShapeInfo, rShapeTreeInfo); - } - /** Add new shape types to the internal tables. Each new shape type is described by one shape type descriptor. See ShapeTypeDescriptor for more details. diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 6538ffd4c3a1..3615a2941af0 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -49,13 +49,9 @@ public: void SelectCharacter( sal_uInt32 cNew, bool bFocus = false ); sal_UCS4 GetSelectCharacter() const; - Link<> GetDoubleClickHdl() const { return aDoubleClkHdl; } void SetDoubleClickHdl( const Link<>& rLink ) { aDoubleClkHdl = rLink; } - Link<> GetSelectHdl() const { return aSelectHdl; } void SetSelectHdl( const Link<>& rHdl ) { aSelectHdl = rHdl; } - Link<> GetHighlightHdl() const { return aHighHdl; } void SetHighlightHdl( const Link<>& rHdl ) { aHighHdl = rHdl; } - Link<> GetPreSelectHdl() const { return aHighHdl; } void SetPreSelectHdl( const Link<>& rHdl ) { aPreSelectHdl = rHdl; } static sal_uInt32& getSelectedChar(); void SetFont( const vcl::Font& rFont ); diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 4d51b032776c..83350b3000fa 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -174,8 +174,6 @@ public: virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const SAL_OVERRIDE; sal_uInt16 GetValueCount() const SAL_OVERRIDE { return CHSTYLE_COUNT; } - SvxChartStyle GetValue() const - { return (SvxChartStyle)SfxEnumItem::GetValue(); } }; @@ -207,8 +205,6 @@ public: virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const SAL_OVERRIDE; sal_uInt16 GetValueCount() const SAL_OVERRIDE { return CHDESCR_COUNT; } - SvxChartDataDescr GetValue() const - { return (SvxChartDataDescr)SfxEnumItem::GetValue(); } }; class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxChartTextOrderItem : public SfxEnumItem @@ -242,8 +238,6 @@ public: virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const SAL_OVERRIDE; sal_uInt16 GetValueCount() const SAL_OVERRIDE { return CHTXTORDER_COUNT; } - SvxChartTextOrient GetValue() const - { return (SvxChartTextOrient)SfxEnumItem::GetValue(); } }; class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxChartKindErrorItem : public SfxEnumItem @@ -308,7 +302,6 @@ public: virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const SAL_OVERRIDE; double GetValue() const { return fVal; } - void SetValue(double fNewVal) { fVal = fNewVal; } }; #endif // INCLUDED_SVX_CHRTITEM_HXX diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx index cafb35358f1e..3f54aeba6263 100644 --- a/include/svx/colrctrl.hxx +++ b/include/svx/colrctrl.hxx @@ -108,9 +108,6 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; - void SetSlotIDs( sal_uInt16 nLeft, sal_uInt16 nRight ) - { nLeftSlot = nLeft; nRightSlot = nRight; } - virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; }; diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 6c3cb9161f0a..9a00f6f92801 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -163,7 +163,6 @@ public: virtual SvTreeListEntry* CreateEntry() const SAL_OVERRIDE; void SetColCompareHdl(const Link<>& rLink ) { aColCompareLink = rLink; } - const Link<>& GetColCompareHdl() const { return aColCompareLink; } }; /// Tabpage with the filter text entries etc. @@ -249,8 +248,6 @@ public: void SetFocusToRange(); // } Methods for Calc - void DisableRef(bool bFlag); - bool IsDate(); bool IsAuthor(); bool IsRange(); @@ -268,27 +265,10 @@ public: ListBox* GetLbAction() { return m_pLbAction;} void SetReadyHdl( const Link<>& rLink ) { aReadyLink= rLink; } - const Link<>& GetReadyHdl() const { return aReadyLink; } - - void SetModifyHdl( const Link<>& rLink ) { aModifyLink = rLink; } - const Link<>& GetModifyHdl() const { return aModifyLink; } - - void SetModifyDateHdl( const Link<>& rLink ) { aModifyDateLink = rLink; } - const Link<>& GetModifyDateHdl() const { return aModifyDateLink; } - - void SetModifyAuthorHdl( const Link<>& rLink ) { aModifyAuthorLink = rLink; } - const Link<>& GetModifyAuthorHdl() const { return aModifyAuthorLink; } - - void SetModifyCommentHdl(const Link<>& rLink ) { aModifyComLink = rLink; } - const Link<>& GetModifyCommentHdl() const { return aModifyComLink; } // Methods for Calc { - void SetModifyRangeHdl( const Link<>& rLink ) { aModifyRefLink = rLink; } - const Link<>& GetModifyRangeHdl() const { return aModifyRefLink; } - void SetRefHdl( const Link<>& rLink ) { aRefLink = rLink; } - const Link<>& GetRefHdl() const { return aRefLink; } void Enable( bool bEnable = true, bool bChild = true ); void Disable( bool bChild = true ); @@ -335,31 +315,18 @@ public: void EnableReject(bool nFlag=true); void EnableRejectAll(bool nFlag=true); void EnableUndo(bool nFlag=true); - - void DisableAccept() {EnableAccept(false);} - void DisableAcceptAll() {EnableAcceptAll(false);} - void DisableReject() {EnableReject(false);} - void DisableRejectAll() {EnableRejectAll(false);} void DisableUndo() {EnableUndo(false);} - void ShowUndo(bool nFlag=true); - void HideUndo() {ShowUndo(false);} - bool IsUndoVisible(); void SetAcceptClickHdl( const Link<>& rLink ) { AcceptClickLk = rLink; } - const Link<>& GetAcceptClickHdl() const { return AcceptClickLk; } void SetAcceptAllClickHdl( const Link<>& rLink ) { AcceptAllClickLk = rLink; } - const Link<>& GetAcceptAllClickHdl() const { return AcceptAllClickLk; } void SetRejectClickHdl( const Link<>& rLink ) { RejectClickLk = rLink; } - const Link<>& GetRejectClickHdl() const { return RejectClickLk; } void SetRejectAllClickHdl( const Link<>& rLink ) { RejectAllClickLk = rLink; } - const Link<>& GetRejectAllClickHdl() const { return RejectAllClickLk; } void SetUndoClickHdl( const Link<>& rLink ) { UndoClickLk = rLink; } - const Link<>& GetUndoAllClickHdl() const { return UndoClickLk; } virtual void ActivatePage() SAL_OVERRIDE; virtual void DeactivatePage() SAL_OVERRIDE; diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index ca77be777db1..c6f5315c3ca6 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -57,7 +57,6 @@ public: virtual void Resize() SAL_OVERRIDE; virtual Size GetOptimalSize() const SAL_OVERRIDE; - void Reset(); virtual void SetObjectType(SvxPreviewObjectType nType); SvxPreviewObjectType GetObjectType() const { return mnObjectType; } SfxItemSet Get3DAttributes() const; @@ -113,8 +112,6 @@ public: virtual void SetObjectType(SvxPreviewObjectType nType) SAL_OVERRIDE; // register user callback - void SetUserInteractiveChangeCallback(Link<> aNew) { maUserInteractiveChangeCallback = aNew; } - void SetUserSelectionChangeCallback(Link<> aNew) { maUserSelectionChangeCallback = aNew; } void SetChangeCallback(Link<> aNew) { maChangeCallback = aNew; } void SetSelectionChangeCallback(Link<> aNew) { maSelectionChangeCallback = aNew; } diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 20d79a5058f0..5167fdc2f74f 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -206,8 +206,6 @@ public: void SetLineColor( const Color& rCol ) { aLineColor = rCol; } sal_uInt16 GetLineCount() const { return nLines; } - Color GetPixelColor() const { return aPixelColor; } - Color GetBackgroundColor() const { return aBackgroundColor; } sal_uInt16 GetBitmapPixel( const sal_uInt16 nPixelNumber ); sal_uInt16* GetBitmapPixelPtr() { return pPixel; } @@ -289,7 +287,6 @@ public: void Append(const Size& rSize, const XBitmapEntry& rEntry); void Modify(const Size& rSize, const XBitmapEntry& rEntry, sal_Int32 nPos); - void SelectEntryByList(const XBitmapList* pList, const OUString& rStr); private: BitmapEx maBitmapEx; @@ -342,7 +339,6 @@ public: void Append(const XDashEntry& rEntry, const Bitmap& rBitmap ); void Modify(const XDashEntry& rEntry, sal_Int32 nPos, const Bitmap& rBitmap ); - void SelectEntryByList(const XDashList* pList, const OUString& rStr, const XDash& rDash, sal_uInt16 nDist = 0); }; diff --git a/include/svx/drawitem.hxx b/include/svx/drawitem.hxx index e22cac825864..04592107b143 100644 --- a/include/svx/drawitem.hxx +++ b/include/svx/drawitem.hxx @@ -51,7 +51,6 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) SAL_OVERRIDE; XColorListRef GetColorList() const { return pColorList; } - void SetColorList( const XColorListRef &pTable ) { pColorList = pTable; } }; // SvxGradientListItem @@ -77,8 +76,6 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) SAL_OVERRIDE; XGradientListRef GetGradientList() const { return pGradientList; } - void SetGradientList( XGradientListRef pList ) { - pGradientList = pList; } }; @@ -107,8 +104,6 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) SAL_OVERRIDE; XHatchListRef GetHatchList() const { return pHatchList; } - void SetHatchList( XHatchListRef pList ) { - pHatchList = pList; } }; @@ -138,8 +133,6 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) SAL_OVERRIDE; XBitmapListRef GetBitmapList() const { return pBitmapList; } - void SetBitmapList( XBitmapListRef pList ) { - pBitmapList = pList; } }; @@ -197,8 +190,6 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) SAL_OVERRIDE; XLineEndListRef GetLineEndList() const { return pLineEndList; } - void SetLineEndList( XLineEndListRef pList ) { - pLineEndList = pList; } }; diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 0784991ee8f7..405899f50f7e 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -127,23 +127,12 @@ public: operator const css::uno::Reference< css::sdbcx::XColumnsSupplier>& () const { return m_xColumnsSupplier; } const css::uno::Reference< css::beans::XPropertySet >& getPropertySet() const { return m_xPropertyAccess; } - const css::uno::Reference< css::sdbc::XResultSet >& getResultSet() const { return m_xMoveOperations; } - const css::uno::Reference< css::sdbcx::XRowLocate >& getRowLocate() const { return m_xBookmarkOperations; } - const css::uno::Reference< css::sdbcx::XColumnsSupplier >& getColumnsSupplier() const { return m_xColumnsSupplier; } - - // the usual queryInterface - css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) throw ( css::uno::RuntimeException ) - { return m_xMoveOperations->queryInterface(type); } // css::uno::Reference< css::sdbcx::XRowLocate> css::uno::Any getBookmark() throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->getBookmark(); } bool moveToBookmark(const css::uno::Any& bookmark) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveToBookmark(bookmark); } - bool moveRelativeToBookmark(const css::uno::Any& bookmark, sal_Int32 rows) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveRelativeToBookmark(bookmark, rows); } - sal_Int32 compareBookmarks(const css::uno::Any& lhs, const css::uno::Any& rhs) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->compareBookmarks(lhs, rhs); } - bool hasOrderedBookmarks() const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); } - sal_Int32 hashBookmark(const css::uno::Any& bookmark) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hashBookmark(bookmark); } // css::sdbc::XResultSet bool isBeforeFirst() const { return m_xMoveOperations->isBeforeFirst(); } @@ -159,10 +148,7 @@ public: bool previous() { return m_xMoveOperations->previous(); } bool next() { return m_xMoveOperations->next(); } void refreshRow() { m_xMoveOperations->refreshRow(); } - bool rowUpdated() { return m_xMoveOperations->rowUpdated(); } - bool rowInserted() { return m_xMoveOperations->rowInserted(); } bool rowDeleted() { return m_xMoveOperations->rowDeleted(); } - css::uno::Reference< css::uno::XInterface> getStatement() { return m_xMoveOperations->getStatement(); } // css::sdbcx::XColumnsSupplier css::uno::Reference< css::container::XNameAccess> getColumns() const throw( css::uno::RuntimeException ) { return m_xColumnsSupplier->getColumns(); } private: diff --git a/include/svx/fontworkgallery.hxx b/include/svx/fontworkgallery.hxx index 4f4b16d78965..fa71862f191c 100644 --- a/include/svx/fontworkgallery.hxx +++ b/include/svx/fontworkgallery.hxx @@ -83,7 +83,6 @@ class SVX_DLLPUBLIC SAL_WARN_UNUSED FontWorkGalleryDialog : public ModalDialog DECL_LINK( DoubleClickFavoriteHdl, void * ); DECL_LINK( ClickOKHdl, void * ); - DECL_LINK( ClickTextDirectionHdl, ImageButton * ); SdrObject** mppSdrObject; SdrModel* mpDestModel; diff --git a/include/svx/frmdirlbox.hxx b/include/svx/frmdirlbox.hxx index 76b3b242113e..19beeabc255d 100644 --- a/include/svx/frmdirlbox.hxx +++ b/include/svx/frmdirlbox.hxx @@ -56,8 +56,6 @@ public: /** Saves the currently selected frame direction. */ inline void SaveValue() { meSaveValue = GetSelectEntryValue(); } - /** Returns the frame direction saved with SaveValue(). */ - inline SvxFrameDirection GetSavedValue() const { return meSaveValue; } private: SvxFrameDirection meSaveValue; /// Saved value for later comparison. diff --git a/include/svx/frmsel.hxx b/include/svx/frmsel.hxx index a3bfdd837bcd..a73609caca6c 100644 --- a/include/svx/frmsel.hxx +++ b/include/svx/frmsel.hxx @@ -140,9 +140,6 @@ public: bool IsBorderSelected( FrameBorderType eBorder ) const; /** Selects or deselects the specified frame border. */ void SelectBorder( FrameBorderType eBorder, bool bSelect = true ); - /** Deselects the specified frame border. */ - inline void DeselectBorder( FrameBorderType eBorder ) { SelectBorder( eBorder, false ); } - /** Returns true, if any of the enabled frame borders is selected. */ bool IsAnyBorderSelected() const; /** Selects or deselects all frame borders. */ diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx index 31f62f718265..a5dc16db1953 100644 --- a/include/svx/graphctl.hxx +++ b/include/svx/graphctl.hxx @@ -85,7 +85,6 @@ public: virtual void dispose() SAL_OVERRIDE; void SetWinStyle( WinBits nWinBits ); - WinBits GetWinStyle() const { return nWinStyle; } void SetGraphic( const Graphic& rGraphic, bool bNewModel = true ); const Graphic& GetGraphic() const { return aGraphic; } @@ -94,13 +93,11 @@ public: const Point& GetMousePos() const { return aMousePos; } void SetEditMode( const bool bEditMode ); - bool IsEditMode() const { return bEditMode; } void SetPolyEditMode( const sal_uInt16 nPolyEdit ); sal_uInt16 GetPolyEditMode() const { return nPolyEdit; } void SetObjKind( const SdrObjKind eObjKind ); - SdrObjKind GetObjKind() const { return eObjKind; } SdrModel* GetSdrModel() const { return pModel; } SdrView* GetSdrView() const { return pView; } @@ -108,16 +105,10 @@ public: bool IsChanged() const { return bSdrMode && pModel->IsChanged(); } void SetMousePosLink( const Link<>& rLink ) { aMousePosLink = rLink; } - const Link<>& GetMousePosLink() const { return aMousePosLink; } void SetGraphSizeLink( const Link<>& rLink ) { aGraphSizeLink = rLink; } - const Link<>& GetGraphSizeLink() const { return aGraphSizeLink; } - - void SetMarkObjLink( const Link<>& rLink ) { aMarkObjLink = rLink; } - const Link<>& GetMarkObjLink() const { return aMarkObjLink; } void SetUpdateLink( const Link<>& rLink ) { aUpdateLink = rLink; } - const Link<>& GetUpdateLink() const { return aUpdateLink; } virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; }; diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index 31dd27089b75..a30dd0c9e296 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -390,8 +390,6 @@ public: void RemoveRows(bool bNewCursor); - void InvalidateStatus(); - const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& getNumberFormatter() const {return m_xFormatter;} // the data source @@ -508,7 +506,6 @@ public: void copyCellText(sal_Int32 _nRow, sal_Int16 _nColId); // selectin listener handling - FmGridListener* getGridListener() const { return m_pGridListener; } void setGridListener( FmGridListener* _pListener ) { m_pGridListener = _pListener; } // helper class to grant access to selected methods from within the DbCellControl class @@ -578,8 +575,6 @@ protected: const DbGridRowRef& GetEmptyRow() const { return m_xEmptyRow; } const DbGridRowRef& GetSeekRow() const { return m_xSeekRow; } const DbGridRowRef& GetPaintRow() const { return m_xPaintRow; } - CursorWrapper* GetSeekCursor() const { return m_pSeekCursor; } - void ConnectToFields(); void DisconnectFromFields(); @@ -588,7 +583,6 @@ protected: // calls AdjustRows or AdjustDataSource, synchron if the caller is running in the solar thread, else asynchron protected: - void Construct(); void ImplInitWindow( const InitWindowFacet _eInitWhat ); DECL_LINK(OnDelete, void*); diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx index 7df23df2dc70..78f3b9ef3e9c 100644 --- a/include/svx/hdft.hxx +++ b/include/svx/hdft.hxx @@ -55,7 +55,6 @@ public: virtual void dispose() SAL_OVERRIDE; void DisableDeleteQueryBox() { mbDisableQueryBox = true; } - void EnableBackgroundSelector(bool bNew) { mbEnableBackgroundSelector = bNew; } //UUUU virtual void PageCreated(const SfxAllItemSet&) SAL_OVERRIDE; diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx index 046e956766b1..75d1a255d4e2 100644 --- a/include/svx/imapdlg.hxx +++ b/include/svx/imapdlg.hxx @@ -124,7 +124,6 @@ class SVX_DLLPUBLIC SvxIMapDlg : public SfxModelessDialog // SfxFloatingWindow DECL_LINK( URLModifyHdl, void* ); DECL_LINK( URLLoseFocusHdl, void* ); DECL_LINK_TYPED(UpdateHdl, Idle *, void); - DECL_LINK( TbxUpdateHdl, Timer* ); DECL_LINK( StateHdl, IMapWindow* ); DECL_LINK( MiscHdl, void* ); diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index 646d6464c31e..6fed6ebd6d60 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -100,7 +100,6 @@ public: SvxFillTypeBox( vcl::Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); void Selected() { bSelect = true; } - bool IsRelease() { return bRelease;} protected: virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -121,8 +120,6 @@ class SVX_DLLPUBLIC SvxFillAttrBox : public FillAttrLB public: SvxFillAttrBox( vcl::Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); - bool IsRelease() { return bRelease;} - protected: virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index 6f1fd0e16812..0f8374850efb 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -222,7 +222,6 @@ class SVX_DLLPUBLIC NBOTypeMgrBase virtual OUString GetDescription(sal_uInt16 nIndex,bool isDefault=false)=0; virtual bool IsCustomized(sal_uInt16 nIndex)=0; static sal_uInt16 IsSingleLevel(sal_uInt16 nCurLevel); - const SfxItemSet* GetItems() { return pSet;} // store the attributes passed from pSet void SetItems(const SfxItemSet* pArg) { pSet = pArg;StoreBulCharFmtName_impl();StoreMapUnit_impl();} protected: diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index a5b7ba4c84de..15bf28b6cb2a 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -148,7 +148,6 @@ public: void GetUpdateData( sal_uInt32* pDelArray, const sal_uInt32 nSize ); void SetCurNumFmtKey( sal_uInt32 nNew ) { nCurFormatKey = nNew; } - void SetCurLanguage( LanguageType eNew ) { eCurLanguage = eNew; } sal_uInt32 GetCurNumFmtKey() const { return nCurFormatKey; } LanguageType GetCurLanguage() const { return eCurLanguage; } @@ -178,7 +177,6 @@ public: OUString const& rFmtString); void SetUseStarFormat( bool bUse ) { bUseStarFormat = bUse; } - bool IsUseStarFormat() { return bUseStarFormat; } private: static const double DEFAULT_NUMVALUE; diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index a3aac9734431..75651786eeac 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -82,7 +82,6 @@ public: virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; - void SetHTMLMode(bool bSet) {bHTMLMode = bSet;} void SetNumberingSettings( const css::uno::Sequence< css::uno::Sequence<css::beans::PropertyValue> >& aNum, @@ -106,11 +105,6 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet protected: DECL_LINK_TYPED(FormatHdl_Impl, Idle *, void); - void SetGrfNotFound(bool bSet) {bGrfNotFound = bSet;} - bool IsGrfNotFound()const {return bGrfNotFound;} - - Idle& GetFormatIdle() {return aFormatIdle;} - public: SvxBmpNumValueSet(vcl::Window* pParent, WinBits nWinBits = WB_TABSTOP); virtual ~SvxBmpNumValueSet(); diff --git a/include/svx/ofaitem.hxx b/include/svx/ofaitem.hxx index 482f9fefadc0..9da08188480a 100644 --- a/include/svx/ofaitem.hxx +++ b/include/svx/ofaitem.hxx @@ -38,7 +38,6 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; void* GetValue() const { return pPtr; } - void SetValue( void* pNewPtr ) { pPtr = pNewPtr; } }; // class OfaRefItem - for ref counting items diff --git a/include/svx/orienthelper.hxx b/include/svx/orienthelper.hxx index a830c1bed9eb..16d99a1463d3 100644 --- a/include/svx/orienthelper.hxx +++ b/include/svx/orienthelper.hxx @@ -72,8 +72,6 @@ public: /** Enables or disables the dial control and all dependent windows. */ void Enable( bool bEnable = true ); - /** Disables the dial control and all dependent windows. */ - inline void Disable() { Enable( false ); } /** Shows or hides the dial control and all dependent windows. */ void Show( bool bShow = true ); diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx index e0ec05b2884d..3d7475b8dd98 100644 --- a/include/svx/pagectrl.hxx +++ b/include/svx/pagectrl.hxx @@ -104,16 +104,6 @@ public: { return maPageFillAttributes; } - - void SetWidth(long nWidth) - { - aSize.Width() = nWidth; - } - void SetHeight(long nHeight) - { - aSize.Height() = nHeight; - } - void SetSize(const Size& rSize) { aSize = rSize; @@ -134,8 +124,6 @@ public: long GetLeft() const { return nLeft; } long GetRight() const { return nRight; } - const SvxBoxItem& GetBorder() const; - void SetHdLeft(long nNew) { nHdLeft = nNew; } void SetHdRight(long nNew) { nHdRight = nNew; } void SetHdDist(long nNew) { nHdDist = nNew; } @@ -147,8 +135,6 @@ public: long GetHdDist() const { return nHdDist; } long GetHdHeight() const { return nHdHeight; } - const SvxBoxItem& GetHdBorder() const { return *pHdBorder; } - void SetFtLeft(long nNew) { nFtLeft = nNew; } void SetFtRight(long nNew) { nFtRight = nNew; } void SetFtDist(long nNew) { nFtDist = nNew; } @@ -160,22 +146,14 @@ public: long GetFtDist() const { return nFtDist; } long GetFtHeight() const { return nFtHeight; } - const SvxBoxItem& GetFtBorder() const { return *pFtBorder; } - void SetUsage(sal_uInt16 eU) { eUsage = eU; } sal_uInt16 GetUsage() const { return eUsage; } void SetHeader( bool bNew ) { bHeader = bNew; } - bool GetHeader() const { return bHeader;} void SetFooter( bool bNew ) { bFooter = bNew; } - bool GetFooter() const { return bFooter;} - void SetTable( bool bNew ) { bTable = bNew; } - bool GetTable() const { return bTable;} void SetHorz( bool bNew ) { bHorz = bNew; } - bool GetHorz() const { return bHorz;} void SetVert( bool bNew ) { bVert = bNew; } - bool GetVert() const { return bVert;} void EnableFrameDirection(bool bEnable); //uses enum SvxFrameDirection diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx index 018395331984..b59a6cb21223 100644 --- a/include/svx/paraprev.hxx +++ b/include/svx/paraprev.hxx @@ -106,52 +106,10 @@ public: { aSize = aNew; } - - short GetFirstLineOfst() const - { - return nFirstLineOfst; - } - long GetLeftMargin() const - { - return nLeftMargin; - } - long GetRightMargin() const - { - return nRightMargin; - } - sal_uInt16 GetUpper() const - { - return nUpper; - } - sal_uInt16 GetLower() const - { - return nLower; - } - SvxAdjust GetAdjust() const - { - return eAdjust; - } - SvxPrevLineSpace GetLineEnum() const - { - return eLine; - } - sal_uInt16 GetLineValue() const - { - return nLineVal; - } OUString GetText() const SAL_OVERRIDE { return aText; } - Size GetSize() const - { - return aSize; - } - - void Draw(vcl::RenderContext& rRenderContext, bool bAll) - { - DrawParagraph(rRenderContext, bAll); - } }; #endif diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx index d5825d7ffbe0..570791be64a5 100644 --- a/include/svx/relfld.hxx +++ b/include/svx/relfld.hxx @@ -44,7 +44,6 @@ public: void EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax = 150, sal_uInt16 nStep = 5 ); - bool IsRelativeMode() const { return bRelativeMode; } void SetRelative( bool bRelative = false ); bool IsRelative() const { return bRelative; } void EnableNegativeMode() {bNegativeEnabled = true;} diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index f736732df774..c4bec963cb9b 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -210,7 +210,6 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener void ApplyObject(); long GetFrameLeft() const; - void SetFrameLeft(long); long GetLeftMin() const; long GetRightMax() const; @@ -219,9 +218,6 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener DECL_LINK( MenuSelect, Menu * ); void PrepareProportional_Impl(RulerType); - sal_uInt16 GetNextVisible(sal_uInt16 nColumn); - sal_uInt16 GetPrevVisible(sal_uInt16 nColumn); - enum UpdateType { MOVE_ALL, @@ -268,28 +264,12 @@ public: virtual ~SvxRuler(); virtual void dispose() SAL_OVERRIDE; - void SetMinFrameSize(long lSize); - long GetMinFrameSize() const ; - - SvxRulerSupportFlags GetRulerFlags() const - { - return nFlags; - } - void SetDefTabDist(long); // set/get NullOffset in logic units void SetNullOffsetLogic(long lOff = 0); - long GetNullOffsetLogic() const - { - return lAppNullOffset; - } void SetActive(bool bOn = true); - bool IsActive() const - { - return bActive; - } void ForceUpdate() { diff --git a/include/svx/sdr/overlay/overlayselection.hxx b/include/svx/sdr/overlay/overlayselection.hxx index 846c6ba0ce12..4a93a8fa738c 100644 --- a/include/svx/sdr/overlay/overlayselection.hxx +++ b/include/svx/sdr/overlay/overlayselection.hxx @@ -67,7 +67,6 @@ namespace sdr virtual ~OverlaySelection(); // data read access - OverlayType getOverlayType() const { return meOverlayType; } const std::vector< basegfx::B2DRange >& getRanges() const { return maRanges; } bool getBorder() const { return mbBorder; } diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx index 2ad8e2284118..153efff59575 100644 --- a/include/svx/sdr/table/tablecontroller.hxx +++ b/include/svx/sdr/table/tablecontroller.hxx @@ -112,8 +112,6 @@ public: bool isRowHeader(); bool isColumnHeader(); sdr::table::SdrTableObj* GetTableObj() { return dynamic_cast< sdr::table::SdrTableObj* >( mxTableObj.get() ); } - //declare event notification method - void NotifySelection( const CellPos& firstPos, const CellPos& lastPos, const CellPos& newPos ); private: SvxTableController(SvxTableController &) SAL_DELETED_FUNCTION; void operator =(SvxTableController &) SAL_DELETED_FUNCTION; @@ -128,7 +126,6 @@ private: SVX_DLLPRIVATE bool PasteObject( SdrTableObj* pPasteTableObj ); SVX_DLLPRIVATE bool checkTableObject(); - SVX_DLLPRIVATE bool updateTableObject(); SVX_DLLPRIVATE const CellPos& getSelectionStart(); SVX_DLLPRIVATE void setSelectionStart( const CellPos& rPos ); SVX_DLLPRIVATE const CellPos& getSelectionEnd(); diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 81728a9a670f..464c7bf604c2 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -133,11 +133,6 @@ public: const SearchAttrItemList* GetReplaceItemList() const { return pReplaceList; } - inline bool HasSearchAttributes() const; - inline bool HasReplaceAttributes() const; - - PushButton& GetReplaceBtn() { return *m_pReplaceBtn; } - sal_Int32 GetTransliterationFlags() const; void SetDocWin( vcl::Window* pDocWin ) { mpDocWin = pDocWin; } @@ -267,18 +262,6 @@ private: void ApplyTransliterationFlags_Impl( sal_Int32 nSettings ); }; -inline bool SvxSearchDialog::HasSearchAttributes() const -{ - bool bLen = !m_pSearchAttrText->GetText().isEmpty(); - return ( m_pSearchAttrText->IsEnabled() && bLen ); -} - -inline bool SvxSearchDialog::HasReplaceAttributes() const -{ - bool bLen = !m_pReplaceAttrText->GetText().isEmpty(); - return ( m_pReplaceAttrText->IsEnabled() && bLen ); -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx index f14646b20428..e6acf370331b 100644 --- a/include/svx/svdoole2.hxx +++ b/include/svx/svdoole2.hxx @@ -52,7 +52,6 @@ private: SVX_DLLPRIVATE void Reconnect_Impl(); SVX_DLLPRIVATE void AddListeners_Impl(); SVX_DLLPRIVATE void RemoveListeners_Impl(); - SVX_DLLPRIVATE ::com::sun::star::uno::Reference < ::com::sun::star::datatransfer::XTransferable > GetTransferable_Impl() const; SVX_DLLPRIVATE void GetObjRef_Impl(); SVX_DLLPRIVATE void SetGraphic_Impl(const Graphic* pGrf); diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index c0213b30e140..d0006e6549ea 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -188,11 +188,7 @@ public: virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const SAL_OVERRIDE; virtual bool IsAutoGrowHeight() const SAL_OVERRIDE; - long GetMinTextFrameHeight() const; - long GetMaxTextFrameHeight() const; virtual bool IsAutoGrowWidth() const SAL_OVERRIDE; - long GetMinTextFrameWidth() const; - long GetMaxTextFrameWidth() const; virtual bool IsFontwork() const SAL_OVERRIDE; @@ -257,8 +253,6 @@ public: virtual void NbcReformatText() SAL_OVERRIDE; virtual void ReformatText() SAL_OVERRIDE; - void SetTextEditOutliner(SdrOutliner* pOutl) { pEdtOutl=pOutl; } - virtual bool IsVerticalWriting() const SAL_OVERRIDE; virtual void SetVerticalWriting(bool bVertical) SAL_OVERRIDE; diff --git a/include/svx/svdouno.hxx b/include/svx/svdouno.hxx index 2cefadbdbfcf..52d99f5c79ee 100644 --- a/include/svx/svdouno.hxx +++ b/include/svx/svdouno.hxx @@ -128,7 +128,6 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >& _inout_ControlContainer ) const; - const OUString& GetUnoControlModelTypeName() const { return aUnoControlTypeName; } const OUString& GetUnoControlTypeName() const { return aUnoControlTypeName; } virtual void SetUnoControlModel( const ::com::sun::star::uno::Reference< com::sun::star::awt::XControlModel >& xModel ); diff --git a/include/svx/tbxcolor.hxx b/include/svx/tbxcolor.hxx index 97fc71eef0df..b40b377e5dd9 100644 --- a/include/svx/tbxcolor.hxx +++ b/include/svx/tbxcolor.hxx @@ -49,10 +49,6 @@ namespace svx /** determines whether the toolbox is currently visible */ bool isToolboxVisible() const; - - /** forces that the toolbox is docked - */ - inline void forceDocking() { m_bDocking = true; } }; diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx index 43f028bcaae7..52f8b1ddb6c7 100644 --- a/include/svx/txencbox.hxx +++ b/include/svx/txencbox.hxx @@ -84,9 +84,6 @@ public: */ void FillWithMimeAndSelectBest(); - const SvxTextEncodingTable* GetTextEncodingTable() const - { return m_pEncTable; } - void InsertTextEncoding( const rtl_TextEncoding nEnc, sal_Int32 nPos = LISTBOX_APPEND ); @@ -98,8 +95,6 @@ public: bool bSelect = true ); rtl_TextEncoding GetSelectTextEncoding() const; - - const OUString& GetSelectTextString() const; }; #endif diff --git a/include/svx/unomaster.hxx b/include/svx/unomaster.hxx index ae5206d34f7b..55c2909381d5 100644 --- a/include/svx/unomaster.hxx +++ b/include/svx/unomaster.hxx @@ -60,8 +60,6 @@ public: virtual void dispose() = 0; virtual void modelChanged( SdrModel* pNewModel ) = 0; - virtual void pageChanged( SdrPage* pNewPage ) = 0; - virtual void objectChanged( SdrObject* pNewObj ) = 0; protected: ~SvxShapeMaster() {} diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index a4d4f9b13bb7..8aca84b8833e 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -185,7 +185,6 @@ public: void ChangeModel( SdrModel* pNewModel ); void InvalidateSdrObject() { mpObj.reset( NULL ); }; - const SvxItemPropertySet& GetPropertySet() { return *mpPropSet; } SdrObject* GetSdrObject() const {return mpObj.get();} void SetShapeType( const OUString& ShapeType ) { maShapeType = ShapeType; } ::com::sun::star::uno::Any GetBitmap( bool bMetaFile = false ) const diff --git a/include/svx/xbitmap.hxx b/include/svx/xbitmap.hxx index a1f0132d003d..606339bf020e 100644 --- a/include/svx/xbitmap.hxx +++ b/include/svx/xbitmap.hxx @@ -55,9 +55,7 @@ public: void SetPixelSize( const Size& rSize ) { aArraySize = rSize; bGraphicDirty = true; } void SetBackgroundColor( const Color& rColor ) { aBckgrColor = rColor; bGraphicDirty = true; } - XBitmapType GetBitmapType() const { return eType; } Bitmap GetBitmap() const; - Color GetPixelColor() const { return aPixelColor; } Color GetBackgroundColor() const { return aBckgrColor; } }; |