diff options
Diffstat (limited to 'rdbmaker/source/codemaker/global.cxx')
-rw-r--r-- | rdbmaker/source/codemaker/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdbmaker/source/codemaker/global.cxx b/rdbmaker/source/codemaker/global.cxx index 6cf654412f7a..0f4e2ab51657 100644 --- a/rdbmaker/source/codemaker/global.cxx +++ b/rdbmaker/source/codemaker/global.cxx @@ -130,7 +130,7 @@ sal_Bool FileStream::isValid() void FileStream::open(const OString& name, FileAccessMode mode) { - if ( name.getLength() > 0 ) + if ( !name.isEmpty() ) { m_name = name; m_pFile = fopen(m_name.getStr(), checkAccessMode(mode)); |