diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-19 14:01:33 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-19 14:01:33 +0000 |
commit | 13a752cdbb9e2c1e2c0f922158f03fc70c12245c (patch) | |
tree | 050e47c940f84f196a2ed884af49d3543a5083c7 /tools | |
parent | a feeble attempt at at least some docs for writerfilter (diff) | |
download | core-13a752cdbb9e2c1e2c0f922158f03fc70c12245c.tar.gz core-13a752cdbb9e2c1e2c0f922158f03fc70c12245c.zip |
sal: expose a public API for comparing directory items
Windows impl. still pending.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 850eedcc2931..031aaa5a1713 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -146,7 +146,7 @@ sal_Bool InternalStreamLock::LockFile( sal_Size nStart, sal_Size nEnd, SvFileStr for( size_t i = 0; i < rLockList.size(); ++i ) { pLock = rLockList[ i ]; - if( osl_identicalDirectoryItem( aItem._pData, pLock->m_aItem._pData) ) + if( aItem.isIdenticalTo( pLock->m_aItem ) ) { sal_Bool bDenyByOptions = sal_False; StreamMode nLockMode = pLock->m_pStream->GetStreamMode(); |