diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-09 08:55:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-09 10:06:57 +0200 |
commit | 81b954718f0cdac6873927e869b3e41f863562e7 (patch) | |
tree | 3e12a2cb35b263ea4d4e49b61af2ca8b733c5c28 /include/svtools/editbrowsebox.hxx | |
parent | aba3c3a35a0afde16e42a94ae8cb2b1f589135db (diff) |
loplugin:unnecessaryvirtuals
Improve the plugin a little.
Create a python script to process the output.
Run it again.
Change-Id: I05c21d8a21c8f4243af739c412fda0a521f9b5f0
Diffstat (limited to 'include/svtools/editbrowsebox.hxx')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index d2dd6de07466..d0dec9fe7be5 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -540,7 +540,7 @@ namespace svt // should be used instead of GetFieldRectPixel, 'cause this method here takes into account the borders Rectangle GetCellRect(long nRow, sal_uInt16 nColId, bool bRelToBrowser = true) const; virtual sal_uInt32 GetTotalCellWidth(long nRow, sal_uInt16 nColId); - virtual sal_uInt32 GetAutoColumnWidth(sal_uInt16 nColId); + sal_uInt32 GetAutoColumnWidth(sal_uInt16 nColId); virtual void PaintStatusCell(OutputDevice& rDev, const Rectangle& rRect) const; virtual void PaintCell(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId) const = 0; @@ -570,14 +570,14 @@ namespace svt virtual CellController* GetController(long nRow, sal_uInt16 nCol); virtual void InitController(CellControllerRef& rController, long nRow, sal_uInt16 nCol); - virtual void ResizeController(CellControllerRef& rController, const Rectangle&); - virtual void ReleaseController(CellControllerRef& pController, long nRow, sal_uInt16 nCol); + static void ResizeController(CellControllerRef& rController, const Rectangle&); + static void ReleaseController(CellControllerRef& pController, long nRow, sal_uInt16 nCol); virtual void DoubleClick(const BrowserMouseEvent&) SAL_OVERRIDE; void ActivateCell() { ActivateCell(GetCurRow(), GetCurColumnId()); } // retrieve the image for the row status - virtual Image GetImage(RowStatus) const; + Image GetImage(RowStatus) const; // inserting columns // if you don't set a width, this will be calculated automatically |