diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-12 13:10:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-14 06:40:30 +0000 |
commit | 1e49e33c26950b606714c0dafb26cbcb2aeb3877 (patch) | |
tree | e510fd3a5babf1712d136b866120bea4dd5b8f1a /cui/source/inc/iconcdlg.hxx | |
parent | e1822c809b137859382139aace0c08be4547c157 (diff) |
loplugin:constantparam in chart2..connectivity
Change-Id: Ic9e1bd36a11c7148fa7595a2b6c6de9bd7a8653d
Reviewed-on: https://gerrit.libreoffice.org/28834
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/iconcdlg.hxx')
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 3cc6f7c5b568..6f9eda810afd 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -39,22 +39,19 @@ class IconChoicePage; // Create-Function typedef VclPtr<IconChoicePage> (*CreatePage)(vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet &rAttrSet); -typedef const sal_uInt16* (*GetPageRanges)(); // gives international Which-value /// Data-structure for pages in dialog struct IconChoicePageData { sal_uInt16 nId; CreatePage fnCreatePage; ///< pointer to the factory - GetPageRanges fnGetRanges; ///< pointer to the ranges-function VclPtr<IconChoicePage> pPage; ///< the TabPage itself bool bRefresh; ///< Flag: page has to be newly initialized // constructor - IconChoicePageData( sal_uInt16 Id, CreatePage fnPage, GetPageRanges fnRanges ) + IconChoicePageData( sal_uInt16 Id, CreatePage fnPage ) : nId ( Id ), fnCreatePage ( fnPage ), - fnGetRanges ( fnRanges ), pPage ( nullptr ), bRefresh ( false ) {} @@ -154,8 +151,7 @@ protected: public: // the IconChoiceCtrl's could also be set in the Ctor - IconChoiceDialog ( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, - const SfxItemSet * pItemSet = nullptr ); + IconChoiceDialog ( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ); virtual ~IconChoiceDialog () override; virtual void dispose() override; |