diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 15:49:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 17:08:55 +0000 |
commit | 567f51192483059ec57c16a6045141746d4b01f9 (patch) | |
tree | e3f998a5fc8466ab30a2e11aa7ea1d16c2523fa5 /desktop/source/deployment/gui/dp_gui_extlistbox.hxx | |
parent | ef6f2490a697e7c23fea40c567f751db05f1bbbf (diff) |
V801: Decreased performance
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extlistbox.hxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx index 8241e28f9f3a..1590f82500a5 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx @@ -86,7 +86,7 @@ struct Entry_Impl const PackageState eState, const bool bReadOnly ); ~Entry_Impl(); - sal_Int32 CompareTo( const CollatorWrapper *pCollator, const TEntry_Impl pEntry ) const; + sal_Int32 CompareTo( const CollatorWrapper *pCollator, const TEntry_Impl& rEntry ) const; void checkDependencies(); }; @@ -164,10 +164,10 @@ class ExtensionBox_Impl : public ::svt::IExtensionListBox void CalcActiveHeight( const long nPos ); long GetTotalHeight() const; void SetupScrollBar(); - void DrawRow( const Rectangle& rRect, const TEntry_Impl pEntry ); + void DrawRow( const Rectangle& rRect, const TEntry_Impl& rEntry ); bool HandleTabKey( bool bReverse ); bool HandleCursorKey( sal_uInt16 nKeyCode ); - bool FindEntryPos( const TEntry_Impl pEntry, long nStart, long nEnd, long &nFound ); + bool FindEntryPos( const TEntry_Impl& rEntry, long nStart, long nEnd, long &nFound ); void DeleteRemoved(); |