Seeking Help in Resolving easyHack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
I'm trying to fix tdf#47065 as it's a challenging easyHack. I have decided to move one step at a time in order to resolve it at a slow and steady pace.
My first step is to find out a way to check if the lock from the previously opened file is released and the file is now ready to use. In the change [1] , I have tried to check if the file lock has been disappeared, please let me know if it is the right way to do it.  I also tested the change on my local machine to see if it works.

I've made use of this _expression_:
bool bHandleSysLocked = ( bLoading && bUseSystemLock && !pImpl->xStream.is() && !pImpl->m_pOutStream );

Also, when reviewing the change, please try to ignore the function and variable names which were chosen arbitrarily.. 
Any given help is appreciated. Thanks!

--
Regards,
Aditya

[1] https://gerrit.libreoffice.org/#/c/84919/4/sfx2/source/doc/docfile.cxx
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux