summaryrefslogtreecommitdiff
path: root/fpicker/source/office/PlacesListBox.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/PlacesListBox.hxx')
-rw-r--r--fpicker/source/office/PlacesListBox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx
index 5f4f21eb69b8..05c2637883aa 100644
--- a/fpicker/source/office/PlacesListBox.hxx
+++ b/fpicker/source/office/PlacesListBox.hxx
@@ -53,7 +53,7 @@ class PlacesListBox : public Control
virtual ~PlacesListBox( );
virtual void dispose() override;
- void AppendPlace( PlacePtr pPlace );
+ void AppendPlace( const PlacePtr& pPlace );
void RemovePlace( sal_uInt16 nPos );
void RemoveSelectedPlace();
sal_Int32 GetNbEditablePlaces() { return mnNbEditables;}
@@ -74,7 +74,7 @@ class PlacesListBox : public Control
private:
- Image getEntryIcon( PlacePtr pPlace );
+ Image getEntryIcon( const PlacePtr& pPlace );
DECL_LINK_TYPED( Selection, SvTreeListBox*, void );
DECL_LINK_TYPED( DoubleClick, SvTreeListBox*, bool );