Removed one liner function that was only called from one place.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37166 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-06-18 16:22:07 +00:00
parent 7436ac49e5
commit 6277669654
2 changed files with 1 additions and 9 deletions
+1 -8
View File
@@ -378,13 +378,6 @@ ShowImageView::_UpdateStatusText()
} }
void
ShowImageView::_AddToRecentDocuments()
{
be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
}
void void
ShowImageView::_DeleteScaler() ShowImageView::_DeleteScaler()
{ {
@@ -549,7 +542,7 @@ ShowImageView::SetImage(const entry_ref *ref)
fCaption << ", " << fImageType; fCaption << ", " << fImageType;
fZoom = 1.0; fZoom = 1.0;
_AddToRecentDocuments(); be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
_Notify(); _Notify();
return B_OK; return B_OK;
-1
View File
@@ -156,7 +156,6 @@ private:
void _SendMessageToWindow(uint32 code); void _SendMessageToWindow(uint32 code);
void _Notify(); void _Notify();
void _UpdateStatusText(); void _UpdateStatusText();
void _AddToRecentDocuments();
void _AddWhiteRect(BRect& rect); void _AddWhiteRect(BRect& rect);
void _GetMergeRects(BBitmap* merge, void _GetMergeRects(BBitmap* merge,
BRect selection, BRect& srcRect, BRect selection, BRect& srcRect,