diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 15:54:57 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 19:11:34 -0200 |
commit | 38423e0ad2a8e2a902aeb37391aef0b543c09d68 (patch) | |
tree | 2610f36fed95d4540d2e1d7e682dbd47bf6cf4ca /svl/source/misc/sharecontrolfile.cxx | |
parent | e60b212cc9f02d68ee638106a5881c21ac40ce8d (diff) |
Fix for fdo43460 Part XXXVI getLength() to isEmpty()
Part XXXVI
Modules
svl
Diffstat (limited to 'svl/source/misc/sharecontrolfile.cxx')
-rw-r--r-- | svl/source/misc/sharecontrolfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx index 45b4578c09a7..7eda0e251ea4 100644 --- a/svl/source/misc/sharecontrolfile.cxx +++ b/svl/source/misc/sharecontrolfile.cxx @@ -86,7 +86,7 @@ void ShareControlFile::OpenStream() { // if it is called outside of constructor the mutex must be locked already - if ( !m_xStream.is() && m_aURL.getLength() ) + if ( !m_xStream.is() && !m_aURL.isEmpty() ) { uno::Reference< ucb::XCommandEnvironment > xDummyEnv; ::ucbhelper::Content aContent = ::ucbhelper::Content( m_aURL, xDummyEnv ); |