Commit Graph

13 Commits

Author SHA1 Message Date
Norbert Thiebaud
d0dbce798b remove a confusing use of GetMutex() when a SolarMutexGuard is really meant
VCLXDevice, VCLXGraphics and derived class use a mutex that is really
a reference to the SolarMutex. They declare a function GetMutex() to
access tis reference to the SolarMutex, and the implementation
use
osl::SolarGuard aGuard(GetMutex())
to take a guad on the solar mutex.

This is confusing because some other class in that framework also implement
a GetMutex() function, but which this time return a regular Mutex.

Since this particular use of GetMutex() is to get the SolarMutex, and
invariably this is then used to take a Guard on the SolarMutex,
all these uses are replaced by a SolarMutexGuard object, which encapsulate
that behavior.
2010-11-01 12:24:32 -05:00
Norbert Thiebaud
c21186c38d rename osl::SolarMutexGuard -> SolarGuard to avoid namespace ambiguity 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
d88b292704 merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 19:55:38 -05:00
Sebastian Spaeth
4905a19032 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
Jens-Heiner Rechtien
8764506704 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
7d69f75681 INTEGRATION: CWS changefileheader (1.7.32); FILE MERGED
2008/03/28 15:40:13 rt 1.7.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:18:04 +00:00
Ivo Hinkelmann
635e9296ff INTEGRATION: CWS awtfixes1 (1.6.118); FILE MERGED
2007/07/13 17:43:52 mmeeks 1.6.118.1: Issue number: i#78291#
Submitted by: mmeeks
Reviewed by:  fs
Add property introspection to awt/ wrappers.
2008-01-14 11:56:32 +00:00
Oliver Bolte
fc4907e68c INTEGRATION: CWS pchfix02 (1.5.26); FILE MERGED
2006/09/01 17:54:19 kaib 1.5.26.1: #i68856# Added header markers and pch files
2006-09-16 11:13:10 +00:00
Kurt Zenker
2834004f5c INTEGRATION: CWS warningfixes02 (1.4.6); FILE MERGED
2006/06/30 11:50:53 sb 1.4.6.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
2006-07-19 14:54:57 +00:00
Jens-Heiner Rechtien
04c4f535ac INTEGRATION: CWS warnings01 (1.3.26); FILE MERGED
2005/11/11 16:47:32 pl 1.3.26.1: #i55991# removed warnings
2006-06-19 22:00:49 +00:00
Rüdiger Timm
82975b0284 INTEGRATION: CWS ooo19126 (1.2.406); FILE MERGED
2005/09/05 16:58:06 rt 1.2.406.1: #i54170# Change license header: remove SISSL
2005-09-09 12:12:03 +00:00
Peter Burow
b3328ad33f fix: #97358# warning removed 2002-02-21 07:02:29 +00:00
Jens-Heiner Rechtien
8ab086b6cc initial import 2000-09-18 16:07:07 +00:00