summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-19 14:01:33 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-19 14:01:33 +0000
commit13a752cdbb9e2c1e2c0f922158f03fc70c12245c (patch)
tree050e47c940f84f196a2ed884af49d3543a5083c7 /tools
parent9f03ad248e2e0151facadee0738a7fa6158743f9 (diff)
sal: expose a public API for comparing directory items
Windows impl. still pending.
Diffstat (limited to 'tools')
-rw-r--r--tools/source/stream/strmunx.cxx2
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();