[Libreoffice-bugs] [Bug 44989] EasyHack: tools: SvStream: simplify LockRegion

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 20 16:20:38 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44989

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2412 at yahoo.fr

--- Comment #1 from Julien Nabet <serval2412 at yahoo.fr> 2012-01-20 15:20:38 UTC ---
Except if I missed something, it seems there's not much left about LockRegion
and UnlockRegion.

Opengrok finds this for LockRegion :
  /core/shell/source/win32/shlxthandler/thumbviewer/
thumbviewer.cxx     139 virtual HRESULT STDMETHODCALLTYPE
LockRegion(ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType);
282 HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::LockRegion(ULARGE_INTEGER,
ULARGE_INTEGER, DWORD)
  /core/tools/inc/tools/
stream.hxx     165 virtual ErrCode LockRegion(sal_Size, sal_Size, LockType);
  /core/tools/source/stream/
stream.cxx     268 ErrCode SvLockBytes::LockRegion(sal_Size, sal_Size,
LockType)
270 OSL_FAIL("SvLockBytes::LockRegion(): Not implemented");

And there's the equivalent for UnlockRegion.

May we just remove this (and the same for UnlockRegion ?)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list