summaryrefslogtreecommitdiff
path: root/svl/source/misc/folderrestriction.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 15:54:57 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 19:11:34 -0200
commit38423e0ad2a8e2a902aeb37391aef0b543c09d68 (patch)
tree2610f36fed95d4540d2e1d7e682dbd47bf6cf4ca /svl/source/misc/folderrestriction.cxx
parente60b212cc9f02d68ee638106a5881c21ac40ce8d (diff)
Fix for fdo43460 Part XXXVI getLength() to isEmpty()
Part XXXVI Modules svl
Diffstat (limited to 'svl/source/misc/folderrestriction.cxx')
-rw-r--r--svl/source/misc/folderrestriction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/folderrestriction.cxx b/svl/source/misc/folderrestriction.cxx
index 8de4d294dcab..bb2fab561e99 100644
--- a/svl/source/misc/folderrestriction.cxx
+++ b/svl/source/misc/folderrestriction.cxx
@@ -81,7 +81,7 @@ static bool getEnvironmentValue( const sal_Char* _pAsciiEnvName, ::rtl::OUString
_rValue = ::rtl::OUString();
::rtl::OUString sEnvName = ::rtl::OUString::createFromAscii( _pAsciiEnvName );
osl_getEnvironment( sEnvName.pData, &_rValue.pData );
- return _rValue.getLength() != 0;
+ return !_rValue.isEmpty();
}
//-----------------------------------------------------------------------------