summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:13:42 +0100
commit0d50804e1c0c0ea2a5cd73fa3fa2a9ff0a0e7048 (patch)
treeab861bba797a4610ffd5b482cc8fa4c4d5b59c35 /extensions
parent26e8b589b3f7716a80df7f3a9273e4967d9b0991 (diff)
loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx4
-rw-r--r--extensions/source/propctrlr/propertyeditor.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index 02e69a623bf4..4f8c355c4439 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -187,13 +187,13 @@ namespace pcr
}
- OBrowserPage* OPropertyEditor::getPage( sal_uInt16& _rPageId )
+ OBrowserPage* OPropertyEditor::getPage( sal_uInt16 _rPageId )
{
return static_cast< OBrowserPage* >( m_aTabControl->GetTabPage( _rPageId ) );
}
- const OBrowserPage* OPropertyEditor::getPage( sal_uInt16& _rPageId ) const
+ const OBrowserPage* OPropertyEditor::getPage( sal_uInt16 _rPageId ) const
{
return const_cast< OPropertyEditor* >( this )->getPage( _rPageId );
}
diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx
index 0c7adb04554f..8b49ea967e0a 100644
--- a/extensions/source/propctrlr/propertyeditor.hxx
+++ b/extensions/source/propctrlr/propertyeditor.hxx
@@ -114,8 +114,8 @@ namespace pcr
using Window::SetHelpText;
using Window::Update;
- OBrowserPage* getPage( sal_uInt16& _rPageId );
- const OBrowserPage* getPage( sal_uInt16& _rPageId ) const;
+ OBrowserPage* getPage( sal_uInt16 _rPageId );
+ const OBrowserPage* getPage( sal_uInt16 _rPageId ) const;
OBrowserPage* getPage( const OUString& _rPropertyName );
const OBrowserPage* getPage( const OUString& _rPropertyName ) const;