diff options
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/AccessibleCell.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewCell.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleSpreadsheet.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/checklistmenu.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/client.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/drwtrans.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/inputhdl.hxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/inputwin.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/transobj.hxx | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 527f6411ba43..625308fc1a82 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -50,7 +50,7 @@ public: static rtl::Reference<ScAccessibleCell> create( const css::uno::Reference<css::accessibility::XAccessible>& rxParent, ScTabViewShell* pViewShell, - ScAddress& rCellAddress, + const ScAddress& rCellAddress, sal_Int32 nIndex, ScSplitPos eSplitPos, ScAccessibleDocument* pAccDoc); @@ -59,7 +59,7 @@ private: ScAccessibleCell( const css::uno::Reference<css::accessibility::XAccessible>& rxParent, ScTabViewShell* pViewShell, - ScAddress& rCellAddress, + const ScAddress& rCellAddress, sal_Int32 nIndex, ScSplitPos eSplitPos, ScAccessibleDocument* pAccDoc); diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx index 14886e37a127..2e9702f15e36 100644 --- a/sc/source/ui/inc/AccessiblePreviewCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx @@ -35,7 +35,7 @@ public: //===== internal ======================================================== ScAccessiblePreviewCell( const css::uno::Reference<css::accessibility::XAccessible>& rxParent, - ScPreviewShell* pViewShell, /* const */ ScAddress& rCellAddress, sal_Int32 nIndex ); + ScPreviewShell* pViewShell, const ScAddress& rCellAddress, sal_Int32 nIndex ); protected: virtual ~ScAccessiblePreviewCell() override; diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx index ee488b72c37f..0288af978c16 100644 --- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx +++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx @@ -244,7 +244,7 @@ private: typedef std::map<ScMyAddress,css::uno::Reference< css::accessibility::XAccessible > > MAP_ADDR_XACC; MAP_ADDR_XACC m_mapSelectionSend; - void RemoveSelection(ScMarkData &refScMarkData); + void RemoveSelection(const ScMarkData &refScMarkData); void CommitFocusCell(const ScAddress &aNewCell); public: void FireFirstCellFocus(); @@ -283,7 +283,7 @@ public: bool IsScAddrFormulaSel (const ScAddress &addr) const; bool IsFormulaMode(); ScMyAddress CalcScAddressFromRangeList(ScRangeList *pMarkedRanges,sal_Int32 nSelectedChildIndex); - static bool CalcScRangeDifferenceMax(ScRange *pSrc,ScRange *pDest,int nMax,VEC_MYADDR &vecRet,int &nSize); + static bool CalcScRangeDifferenceMax(const ScRange *pSrc, const ScRange *pDest,int nMax,VEC_MYADDR &vecRet,int &nSize); static bool CalcScRangeListDifferenceMax(ScRangeList *pSrc,ScRangeList *pDest,int nMax,VEC_MYADDR &vecRet); }; diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 9d433568ce26..fb6a15573a80 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -106,13 +106,13 @@ protected: private: struct SubMenuItemData; - void handleMenuTimeout(SubMenuItemData* pTimer); + void handleMenuTimeout(const SubMenuItemData* pTimer); void resizeToFitMenuItems(); void highlightMenuItem(vcl::RenderContext& rRenderContext, size_t nPos, bool bSelected); size_t getEnclosingMenuItem(const Point& rPos) const; - size_t getSubMenuPos(ScMenuFloatingWindow* pSubMenu); + size_t getSubMenuPos(const ScMenuFloatingWindow* pSubMenu); /** * Fire a menu highlight event since the accessibility framework needs @@ -405,7 +405,7 @@ private: void packWindow(); void setAllMemberState(bool bSet); void selectCurrentMemberOnly(bool bSet); - void updateMemberParents( SvTreeListEntry* pLeaf, size_t nIdx ); + void updateMemberParents( const SvTreeListEntry* pLeaf, size_t nIdx ); DECL_LINK( ButtonHdl, Button*, void ); DECL_LINK( TriStateHdl, Button*, void ); diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx index 57a8a9c4fad7..e36322f1a481 100644 --- a/sc/source/ui/inc/client.hxx +++ b/sc/source/ui/inc/client.hxx @@ -37,7 +37,7 @@ private: virtual void ViewChanged() override; public: - ScClient( ScTabViewShell* pViewShell, vcl::Window* pDraw, SdrModel* pSdrModel, SdrOle2Obj* pObj ); + ScClient( ScTabViewShell* pViewShell, vcl::Window* pDraw, SdrModel* pSdrModel, const SdrOle2Obj* pObj ); virtual ~ScClient() override; SdrOle2Obj* GetDrawObj(); diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx index 5920e33351a9..a82b288acd38 100644 --- a/sc/source/ui/inc/drwtrans.hxx +++ b/sc/source/ui/inc/drwtrans.hxx @@ -83,7 +83,7 @@ public: SdrModel* GetModel() { return pModel; } void SetDrawPersist( const SfxObjectShellRef& rRef ); - void SetDragSource( ScDrawView* pView ); + void SetDragSource( const ScDrawView* pView ); void SetDragSourceObj( SdrObject* pObj, SCTAB nTab ); void SetDragSourceFlags( ScDragSrc nFlags ); void SetDragWasInternal(); diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx index dd36ff84219b..0301b0a72056 100644 --- a/sc/source/ui/inc/inputhdl.hxx +++ b/sc/source/ui/inc/inputhdl.hxx @@ -122,7 +122,7 @@ private: private: void UpdateActiveView(); - void SyncViews( EditView* pSourceView = nullptr ); + void SyncViews( const EditView* pSourceView = nullptr ); /** * @param cTyped typed character. If 0, look at existing document content * for text or number. @@ -184,7 +184,7 @@ public: bool KeyInput( const KeyEvent& rKEvt, bool bStartEdit ); void EnterHandler( ScEnterMode nBlockMode = ScEnterMode::NORMAL ); void CancelHandler(); - void SetReference( const ScRange& rRef, ScDocument* pDoc ); + void SetReference( const ScRange& rRef, const ScDocument* pDoc ); void AddRefEntry(); void InputCommand( const CommandEvent& rCEvt ); @@ -192,10 +192,10 @@ public: void InsertFunction( const OUString& rFuncName, bool bAddPar = true ); void ClearText(); - void InputSelection( EditView* pView ); - void InputChanged( EditView* pView, bool bFromNotify ); + void InputSelection( const EditView* pView ); + void InputChanged( const EditView* pView, bool bFromNotify ); - void ViewShellGone(ScTabViewShell* pViewSh); + void ViewShellGone(const ScTabViewShell* pViewSh); void SetRefViewShell(ScTabViewShell* pRefVsh) {pRefViewSh=pRefVsh;} void NotifyChange( const ScInputHdlState* pState, bool bForce = false, @@ -249,7 +249,7 @@ public: bool IsInEnterHandler() const { return bInEnterHandler; } bool IsInOwnChange() const { return bInOwnChange; } - bool IsModalMode( SfxObjectShell* pDocSh ); + bool IsModalMode( const SfxObjectShell* pDocSh ); void ForgetLastPattern(); diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx index 5d77877a9a82..06ea56ef600c 100644 --- a/sc/source/ui/inc/inputwin.hxx +++ b/sc/source/ui/inc/inputwin.hxx @@ -224,7 +224,7 @@ private: class ScInputWindow : public ToolBox // Parent toolbox { public: - ScInputWindow( vcl::Window* pParent, SfxBindings* pBind ); + ScInputWindow( vcl::Window* pParent, const SfxBindings* pBind ); virtual ~ScInputWindow() override; virtual void dispose() override; diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx index 30d5ea8b9412..b897a727937e 100644 --- a/sc/source/ui/inc/transobj.hxx +++ b/sc/source/ui/inc/transobj.hxx @@ -67,7 +67,7 @@ private: SCCOL nSubX=0, SCROW nSubY=0 ); static void PaintToDev( OutputDevice* pDev, ScDocument* pDoc, double nPrintFactor, const ScRange& rBlock ); - static void GetAreaSize( ScDocument* pDoc, SCTAB nTab1, SCTAB nTab2, SCROW& nRow, SCCOL& nCol ); + static void GetAreaSize( const ScDocument* pDoc, SCTAB nTab1, SCTAB nTab2, SCROW& nRow, SCCOL& nCol ); public: ScTransferObj( ScDocument* pClipDoc, const TransferableObjectDescriptor& rDesc ); |