diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-03-03 22:42:16 -0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 10:01:46 +0000 |
commit | 2962aaa0087e093a9541b4a4372f6c09fe3f8424 (patch) | |
tree | f4990201ba2d6d2506b48dc5c4e0d9251bd34e50 /tools/source/fsys/dirent.cxx | |
parent | 130d2776830fa37df9a42cefb911ef9f87ff789e (diff) |
fdo#61513: Remove FSysFailOnErrorImpl macro
This patch removes all used of this useless macro.
Change-Id: Ib3842ef28ea676e75b18c192f8d9610dcb3c3d0c
Diffstat (limited to 'tools/source/fsys/dirent.cxx')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index c4ae7a98dc27..d00ed7c9afad 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -768,7 +768,6 @@ sal_Bool DirEntry::Exists( FSysAccess nAccess ) const return sal_True; #endif - FSysFailOnErrorImpl(); DirEntryKind eKind = FileStat( *this, nAccess ).GetKind(); if ( eKind & ( FSYS_KIND_FILE | FSYS_KIND_DIR ) ) { @@ -787,8 +786,6 @@ sal_Bool DirEntry::Exists( FSysAccess nAccess ) const sal_Bool DirEntry::First() { - FSysFailOnErrorImpl(); - String aUniPathName( GetPath().GetFull() ); rtl::OString aPathName(rtl::OUStringToOString(aUniPathName, osl_getThreadTextEncoding())); @@ -1454,7 +1451,6 @@ sal_Bool DirEntry::MakeDir( sal_Bool bSloppy ) const return sal_True; else { - FSysFailOnErrorImpl(); String aDirName(pNewDir->GetFull()); rtl::OString bDirName(rtl::OUStringToOString(aDirName, osl_getThreadTextEncoding())); @@ -1518,7 +1514,6 @@ FSysError DirEntry::MoveTo( const DirEntry& rNewName ) const return FSYS_ERR_ALREADYEXISTS; } - FSysFailOnErrorImpl(); String aFrom( GetFull() ); String aTo( aDest.GetFull() ); @@ -1649,7 +1644,6 @@ FSysError DirEntry::Kill( FSysAction nActions ) const DBG_CHKTHIS( DirEntry, ImpCheckDirEntry ); FSysError eError = FSYS_ERR_OK; - FSysFailOnErrorImpl(); // Terminate name string with two '0' String aTmpName( GetFull() ); |