From 85d1ce27ad9ce7a3740bd8bbbaf1d3abe643ba10 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Mon, 2 Jan 2012 15:58:10 -0200 Subject: Fix for fdo43460 Part XXVII getLength() to isEmpty() Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal --- rdbmaker/source/codemaker/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rdbmaker/source/codemaker/global.cxx') 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)); -- cgit