21#include <osl/file.hxx>
26 sal_Int64 nFileSize = 0;
27 osl::DirectoryItem aItem;
28 if (osl::DirectoryItem::get(rURL, aItem) == osl::FileBase::E_None)
30 osl::FileStatus aStatus(osl_FileStatus_Mask_FileSize);
31 if (aItem.getFileStatus(aStatus) == osl::FileBase::E_None)
33 nFileSize = aStatus.getFileSize();
static sal_Int64 GetFileSize(const OUString &rURL)