[Libreoffice] Changes in tools causes build failure on Ubuntu Oneiric

Alex Thurgood alex.thurgood at gmail.com
Fri Jan 20 00:18:58 PST 2012


Hi all,

It appears that the following change :

diff --git a/tools/source/stream/strmunx.cxx 
b/tools/source/stream/strmunx.cxx
index 850eedc..031aaa5 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();

Now causes my build to fail on Oneiric after a pull and make clean 
yesterday evening.

Here's the error :

In file included from 
/home/alex/LODEV/core/tools/source/stream/strmsys.cxx:33:0:
/home/alex/LODEV/core/tools/source/stream/strmunx.cxx: In static member 
function ‘static sal_Bool InternalStreamLock::LockFile(sal_Size, 
sal_Size, SvFileStream*)’:
/home/alex/LODEV/core/tools/source/stream/strmunx.cxx:149:19: erreur: 
‘class osl::DirectoryItem’ has no member named ‘isIdenticalTo’


Alex



More information about the LibreOffice mailing list