Kaydet (Commit) 5e7c721c authored tarafından Greg Kroah-Hartman's avatar Greg Kroah-Hartman Kaydeden (comit) Michael Stahl

tools: fsys: Delete unused DirEntry::GetDevice()

üst 80f96ca6
......@@ -241,27 +241,6 @@ String DirEntry::GetVolume() const
String());
}
DirEntry DirEntry::GetDevice() const
{
DBG_CHKTHIS( DirEntry, ImpCheckDirEntry );
DirEntry aPath( *this );
aPath.ToAbs();
struct stat buf;
while (stat(rtl::OUStringToOString(aPath.GetFull(), osl_getThreadTextEncoding()).getStr(), &buf))
{
if (aPath.Level() <= 1)
return String();
aPath = aPath [1];
}
mymnttab &rMnt = mymnt::get();
return ((buf.st_dev == rMnt.mountdevice ||
GetMountEntry(buf.st_dev, &rMnt)) ?
String( rMnt.mountpoint, osl_getThreadTextEncoding()) :
String());
}
/*************************************************************************
|*
|* DirEntry::SetCWD()
......
......@@ -18,7 +18,6 @@ DdeTopic::DdeTopic(String const&)
DdeTopic::RemoveItem(DdeItem const&)
DffPropSet::SetPropertyValue(unsigned int, unsigned int) const
Dialog::Dialog(Window*, ResId const&)
DirEntry::GetDevice() const
EditView::GetSelectionMode() const
EditView::SetCursor(Cursor const&)
EditView::SetPointer(Pointer const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment