-
Stephan Bergmann yazdı
...and extract it to framework::GlobalLock::get(). The old lock was actually effectively two different locks, LockHelper::getGloblaLock() and LockHelper::getGlobalLock().getShareableOslMutex(), and both were used in different places. These places all use the same single osl::Mutex instance now, but hopefully that does not lead to problems (which it shouldn't, given the documentation of LockHelper::getShareableOslMutex: "Sometimes we need a osl- mutex for sharing with our uno helper ... What can we do? We must use a different mutex member :-( I HOPE IT WORKS!"). Of course, the "TODO: This presumable should return the SolarMutex" still applies. Change-Id: I7caea3241d1b70a00272fe1f2214c071ef22cf2c
4ddb43bc