diff options
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.hxx | 4 |
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; |