Anonymous avatar Anonymous committed 3a6399c

vcl122: #i117746# remove unused ImplEntryList::IsEntrySelected

Comments (0)

Files changed (2)

vcl/inc/ilstbox.hxx

 	sal_uInt16			GetSelectEntryCount() const;
 	XubString		GetSelectEntry( sal_uInt16 nIndex ) const;
 	sal_uInt16			GetSelectEntryPos( sal_uInt16 nIndex ) const;
-	sal_Bool			IsEntrySelected( const XubString& rStr ) const;
 	sal_Bool			IsEntryPosSelected( sal_uInt16 nIndex ) const;
 
 	void			SetLastSelected( sal_uInt16 nPos )	{ mnLastSelected = nPos; }

vcl/source/control/ilstbox.cxx

 
 // -----------------------------------------------------------------------
 
-sal_Bool ImplEntryList::IsEntrySelected( const XubString& rStr ) const
-{
-	return IsEntryPosSelected( FindEntry( rStr ) );
-}
-
-// -----------------------------------------------------------------------
-
 sal_Bool ImplEntryList::IsEntryPosSelected( sal_uInt16 nIndex ) const
 {
 	ImplEntryType* pImplEntry = GetEntry( nIndex );
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.