[Libreoffice-commits] .: basctl/source extensions/source lingucomponent/source
Christina Rossmanith
crossmanith at kemper.freedesktop.org
Tue Apr 19 12:05:02 PDT 2011
basctl/source/basicide/scriptdocument.cxx | 2 +-
extensions/source/logging/filehandler.cxx | 2 +-
extensions/source/update/check/updatecheck.cxx | 2 +-
lingucomponent/source/lingutil/lingutil.cxx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 72f2020d1a9a9bbefd5a9817f18e2978d640f77e
Author: Christina Rossmanith <ChrRossmanith at web.de>
Date: Wed Apr 13 21:39:36 2011 +0200
remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (components)
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 6018eea..fd06e7b 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -991,7 +991,7 @@ namespace basctl
if ( aFileURL.getLength() )
{
::osl::DirectoryItem aFileItem;
- ::osl::FileStatus aFileStatus( FileStatusMask_FileURL );
+ ::osl::FileStatus aFileStatus( osl_FileStatus_Mask_FileURL );
OSL_VERIFY( ::osl::DirectoryItem::get( aFileURL, aFileItem ) == ::osl::FileBase::E_None );
OSL_VERIFY( aFileItem.getFileStatus( aFileStatus ) == ::osl::FileBase::E_None );
::rtl::OUString aCanonicalFileURL( aFileStatus.getFileURL() );
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index ca35aad..85780ea 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -191,7 +191,7 @@ namespace logging
// check whether the log file already exists
::osl::DirectoryItem aFileItem;
::osl::DirectoryItem::get( m_sFileURL, aFileItem );
- ::osl::FileStatus aStatus( FileStatusMask_Validate );
+ ::osl::FileStatus aStatus( osl_FileStatus_Mask_Validate );
if ( ::osl::FileBase::E_None == aFileItem.getFileStatus( aStatus ) )
::osl::File::remove( m_sFileURL );
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index b15e524..9ce657e 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -816,7 +816,7 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues,
osl::DirectoryItem aDirectoryItem;
if( osl::DirectoryItem::E_None == osl::DirectoryItem::get(aLocalFileName, aDirectoryItem) )
{
- osl::FileStatus aFileStatus(FileStatusMask_FileSize);
+ osl::FileStatus aFileStatus(osl_FileStatus_Mask_FileSize);
if( osl::DirectoryItem::E_None == aDirectoryItem.getFileStatus(aFileStatus) )
{
sal_Int64 nDownloadSize = aModel.getDownloadSize();
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx
index 4b6d42b..e9cfc46 100644
--- a/lingucomponent/source/lingutil/lingutil.cxx
+++ b/lingucomponent/source/lingutil/lingutil.cxx
@@ -159,7 +159,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy
if (aSystemDicts.open() == osl::FileBase::E_None)
{
osl::DirectoryItem aItem;
- osl::FileStatus aFileStatus(FileStatusMask_FileURL);
+ osl::FileStatus aFileStatus(osl_FileStatus_Mask_FileURL);
while (aSystemDicts.getNextItem(aItem) == osl::FileBase::E_None)
{
aItem.getFileStatus(aFileStatus);
More information about the Libreoffice-commits
mailing list