diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-25 13:30:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 03:04:34 +0200 |
commit | 3b13f813da6ad3bd3e4f9dc24b7deb84ea557063 (patch) | |
tree | a5893679db0c89053ce78a2a108670027837e240 /fpicker | |
parent | d6d04400095c2663ff5e1f58018d76df78121704 (diff) |
loplugin:constmethod in forms..fpicker
Change-Id: I1673e00be0a6c9d34ce02437bf68d929c56952f7
Reviewed-on: https://gerrit.libreoffice.org/79540
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.hxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.hxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/PlacesListBox.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.hxx | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 29336e09b75e..d0dfd83131ca 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -277,7 +277,7 @@ namespace svt } - Sequence< OUString > OControlAccess::getSupportedControls( ) + Sequence< OUString > OControlAccess::getSupportedControls( ) const { Sequence< OUString > aControls( s_nControlCount ); OUString* pControls = aControls.getArray(); diff --git a/fpicker/source/office/OfficeControlAccess.hxx b/fpicker/source/office/OfficeControlAccess.hxx index 279e78b2ae29..7f1600bd587c 100644 --- a/fpicker/source/office/OfficeControlAccess.hxx +++ b/fpicker/source/office/OfficeControlAccess.hxx @@ -73,7 +73,7 @@ namespace svt css::uno::Any getControlProperty( const OUString& _rControlName, const OUString& _rControlProperty ); // XControlInformation implementation - css::uno::Sequence< OUString > getSupportedControls( ); + css::uno::Sequence< OUString > getSupportedControls( ) const; css::uno::Sequence< OUString > getSupportedControlProperties( const OUString& _rControlName ); static bool isControlSupported( const OUString& _rControlName ); bool isControlPropertySupported( const OUString& _rControlName, const OUString& _rControlProperty ); diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 32c137d97a4c..0d453066ed6b 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -224,7 +224,7 @@ void SvtFilePicker::DialogClosedHdl(sal_Int32 nResult) } // SvtFilePicker -PickerFlags SvtFilePicker::getPickerFlags() +PickerFlags SvtFilePicker::getPickerFlags() const { // set the winbits for creating the filedialog PickerFlags nBits = PickerFlags::NONE; diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index e42ef384f06a..d8b2ac09cb85 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -212,7 +212,7 @@ protected: ) override; protected: - PickerFlags getPickerFlags(); + PickerFlags getPickerFlags() const; virtual void notify( sal_Int16 _nEventId, sal_Int16 _nControlId ) override; bool FilterNameExists( const OUString& rTitle ); diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index ced1c86bcbdc..81a11f0e8123 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -56,9 +56,9 @@ class PlacesListBox : public Control void AppendPlace( const PlacePtr& pPlace ); void RemovePlace( sal_uInt16 nPos ); void RemoveSelectedPlace(); - sal_Int32 GetNbEditablePlaces() { return mnNbEditables;} + sal_Int32 GetNbEditablePlaces() const { return mnNbEditables;} bool IsUpdated(); - const std::vector<PlacePtr>& GetPlaces() { return maPlaces;} + const std::vector<PlacePtr>& GetPlaces() const { return maPlaces;} void SetAddHdl( const Link<Button*,void>& rHdl ); void SetDelHdl( const Link<Button*,void>& rHdl ); diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index d22bbcf0c45f..abd187f13a24 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2628,7 +2628,7 @@ void SvtFileDialog::setCurrentFileText( const OUString& _rText, bool _bSelectAll } -bool SvtFileDialog::isAutoExtensionEnabled() +bool SvtFileDialog::isAutoExtensionEnabled() const { return pImpl->_pCbAutoExtension && pImpl->_pCbAutoExtension->IsChecked(); } diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index 165e8426086a..83a639bfa279 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -215,7 +215,7 @@ public: sal_Int32 getAvailableHeight() override; void setImage( sal_Int16 aImageFormat, const css::uno::Any& rImage ) override; bool getShowState() override; - bool isAutoExtensionEnabled(); + bool isAutoExtensionEnabled() const; OUString getCurrentFileText( ) const override; void setCurrentFileText( const OUString& _rText, bool _bSelectAll = false ) override; |