diff options
Diffstat (limited to 'fpicker/source/office/PlacesListBox.cxx')
-rw-r--r-- | fpicker/source/office/PlacesListBox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx index eda3262cef7f..64fe061eb76c 100644 --- a/fpicker/source/office/PlacesListBox.cxx +++ b/fpicker/source/office/PlacesListBox.cxx @@ -100,7 +100,7 @@ void PlacesListBox::dispose() Control::dispose(); } -void PlacesListBox::AppendPlace( PlacePtr pPlace ) +void PlacesListBox::AppendPlace( const PlacePtr& pPlace ) { maPlaces.push_back( pPlace ); mpImpl->InsertEntry( pPlace->GetName( ), @@ -184,7 +184,7 @@ bool PlacesListBox::Notify( NotifyEvent& rNEvt ) return Control::Notify( rNEvt ); } -Image PlacesListBox::getEntryIcon( PlacePtr pPlace ) +Image PlacesListBox::getEntryIcon( const PlacePtr& pPlace ) { Image theImage = mpDlg->GetButtonImage( IMG_FILEDLG_PLACE_LOCAL ); if ( !pPlace->IsLocal( ) ) |