Even more style clean up patches by John Scipione from bug 7052.
(I modified BeMenu.h to have consistent style for pointer variables.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40817 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a2dc49b516
commit
c562239723
@ -26,9 +26,10 @@ Except as contained in this notice, the name of Be Incorporated shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings in
|
||||
this Software without prior written authorization from Be Incorporated.
|
||||
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
|
||||
of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
|
||||
trademarks of Be Incorporated in the United States and other countries. Other
|
||||
brand product names are registered trademarks or trademarks of their respective
|
||||
holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
|
@ -17,6 +17,7 @@ class BStringView;
|
||||
namespace BPrivate {
|
||||
class BCalendarView;
|
||||
}
|
||||
|
||||
using BPrivate::BCalendarView;
|
||||
|
||||
|
||||
|
@ -26,9 +26,10 @@ Except as contained in this notice, the name of Be Incorporated shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings in
|
||||
this Software without prior written authorization from Be Incorporated.
|
||||
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
|
||||
of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
|
||||
trademarks of Be Incorporated in the United States and other countries. Other
|
||||
brand product names are registered trademarks or trademarks of their respective
|
||||
holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
@ -72,8 +73,7 @@ AddRefsToBeMenu(const BMessage* m, entry_ref* subdirectory)
|
||||
ref = *subdirectory;
|
||||
BEntry entry(&ref);
|
||||
if (entry.Exists()) {
|
||||
// if the ref is a file
|
||||
// get the parent and convert it to a ref
|
||||
// if the ref is a file get the parent and convert it to a ref
|
||||
if (entry.IsFile()) {
|
||||
BEntry parent;
|
||||
entry.GetParent(&parent);
|
||||
@ -92,7 +92,6 @@ AddRefsToBeMenu(const BMessage* m, entry_ref* subdirectory)
|
||||
|
||||
for (long i = 0; i < count; i++) {
|
||||
if (m->FindRef("refs", i, &ref) == B_NO_ERROR) {
|
||||
|
||||
BEntry entry(&ref);
|
||||
entry.GetPath(&path);
|
||||
|
||||
|
@ -26,9 +26,10 @@ Except as contained in this notice, the name of Be Incorporated shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings in
|
||||
this Software without prior written authorization from Be Incorporated.
|
||||
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
|
||||
of Be Incorporated in the United States and other countries. Other brand product
|
||||
names are registered trademarks or trademarks of their respective holders.
|
||||
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
|
||||
trademarks of Be Incorporated in the United States and other countries. Other
|
||||
brand product names are registered trademarks or trademarks of their respective
|
||||
holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user