3705 Commits

Author SHA1 Message Date
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
Caolán McNamara
9dc923b146 coverity#738544 Uninitialized scalar variable
Change-Id: Idbf32e20ce81e6b726f32183c6f5e1bf0657b5ba
2014-04-01 10:38:26 +01:00
Caolán McNamara
2d737cc401 coverity#707886 Uninitialized scalar field
Change-Id: Iefcdcf992f5e25643030ab94e64bd06f9fe7c7e7
2014-04-01 10:38:25 +01:00
Caolán McNamara
3156772937 coverity#707881 Uninitialized scalar field
Change-Id: I709bb47bc2cf083805cd8b058b94a763af2ab7ee
2014-04-01 10:38:25 +01:00
Caolán McNamara
e6ff457de6 callcatcher: update unused code
Change-Id: I9d8601eb66a460702530e013bf573c6482c49c0b
2014-03-31 09:22:44 +01:00
Caolán McNamara
1978655c32 coverity#1194897 Logically dead code
Change-Id: I4cf8d63822c4a68b7cdc126a8d76c1ce7b064655
2014-03-30 21:21:28 +01:00
Thomas Arnhold
680139fe7d typo: opend -> opened 2014-03-29 19:16:33 +01:00
Noel Grandin
65c3e11ea9 framework: sal_Bool->bool
Change-Id: If3276f184c63e85762fe54ce19655c30e00aeb15
2014-03-27 13:45:07 +02:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Caolán McNamara
65f8ce6d94 coverity#1187652 Dead default in switch
Change-Id: Ieedec800955c0785b73caf52ff242b54246b653f
2014-03-25 12:33:18 +00:00
Caolán McNamara
1f1a0af795 coverity#707872 Uninitialized scalar field
Change-Id: I1dda581122caff16ab6d00a5f241d032cd021499
2014-03-22 20:43:05 +00:00
Caolán McNamara
7ac3a62379 coverity#738659 Uninitialized pointer field
Change-Id: I5d3ebc066f36f9cdcfb031a58ecb9c64ddea26c3
2014-03-22 19:27:03 +00:00
Stephan Bergmann
c8239a1dd4 Remove newly unused framework::LockHelper class
...and make LockHelper::getGlobalLock() FWI_DLLPUBLIC again (so there's a single
such lock, not one per library).

Change-Id: I0aed77333dc93cdf1c7dd7b96620fb7a8eb3dd64
2014-03-20 17:30:03 +01:00
Stephan Bergmann
250a4e8875 Remove newly unused framework::Guard
Change-Id: I49650bfd036c5df22f81c3e8cf30bc0795154a30
2014-03-20 17:30:02 +01:00
Stephan Bergmann
4ddb43bcf1 Turn odd framework::LockHelper::getGlobalLock() into an osl::Mutex
...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
2014-03-20 17:30:02 +01:00
Stephan Bergmann
c641f300f0 Use an osl::Mutex directly
Change-Id: If8ff4fc256e530f6b79cc97cf1f47880c93864bf
2014-03-20 15:15:10 +01:00
Stephan Bergmann
6147424302 Access safe members directly
Change-Id: Ie76f2219c5bce609a23a0bc70d6da43f527ce12d
2014-03-20 15:04:14 +01:00
Stephan Bergmann
d8910d12b8 Use an osl::Mutex directly
Change-Id: I4adad36de95c022a7945b61a44bb6166ad87a8a7
2014-03-20 15:04:14 +01:00
Stephan Bergmann
8114055880 Use an osl::Mutex directly
Change-Id: I37264f25b5ad89f72d25f78808ff796f581536c4
2014-03-20 15:04:13 +01:00
Stephan Bergmann
f9c73e458f Use an osl::Mutex directly
Change-Id: I2ec909c81faabd896310b29b0d7149b0f7744b35
2014-03-20 15:04:13 +01:00
Stephan Bergmann
dd7b477e9d Access safe members directly
Change-Id: Ib1195f4704de845448e280fabbe40580de46a97d
2014-03-20 15:04:13 +01:00
Stephan Bergmann
4f843f2bc8 Use an osl::Mutex directly
Change-Id: Icb655df89fcb3c9dac0f25d0fdb5383d24914877
2014-03-20 15:04:13 +01:00
Stephan Bergmann
ed15977626 Access safe members directly
Change-Id: I184f6450dc436b37fefe6c6ca35f61296ec10dd6
2014-03-20 15:04:13 +01:00
Stephan Bergmann
9a110fff7d Use an osl::Mutex directly
Change-Id: I4f483efd13c099348f06094573c499858a8431ba
2014-03-20 15:04:12 +01:00
Stephan Bergmann
3d07d18a18 Use an osl::Mutex directly
Change-Id: I49b88214bca33add9f9ea3d81870d54e40c5255b
2014-03-20 15:04:12 +01:00
Stephan Bergmann
3f1d1539f6 Use an osl::Mutex directly
Change-Id: I3df1bcd733637db8d967809e9abb0d2775d58efb
2014-03-20 15:04:12 +01:00
Stephan Bergmann
9baa3cf73e Use an osl::Mutex directly
Change-Id: I22d6d17bbd6886733df645e4d217c6fd1d995929
2014-03-20 15:04:12 +01:00
Stephan Bergmann
3a94a46fc2 Access safe members directly
Change-Id: I8d145fcf3dbcb2436392ee01740255a460c610a6
2014-03-20 15:04:11 +01:00
Stephan Bergmann
85f7ed1c74 Use an osl::Mutex directly
Change-Id: I2e2a7c380ca593ad957c3b0085d01971c843f172
2014-03-20 10:49:40 +01:00
Stephan Bergmann
8781cdcc5b Use an osl::Mutex directly
Change-Id: I5dc6e56bcbec5055da629d4dfda608f266191ef9
2014-03-20 10:49:40 +01:00
Stephan Bergmann
35c495fd78 Use an osl::Mutex directly
Change-Id: I4db0fa34e00364e38ae015d079fee551be7319b3
2014-03-20 10:49:39 +01:00
Stephan Bergmann
7f0a6e262f Use an osl::Mutex directly
Change-Id: I7131abdc2202f80f0e9600d04633bbd6078700bf
2014-03-20 10:49:39 +01:00
Stephan Bergmann
da9aaab596 Use an osl::Mutex directly
Change-Id: Ia0a0dfae4390ad8cd74520396ecfbd6ac03a5d6f
2014-03-20 10:49:39 +01:00
Stephan Bergmann
6ac1712956 Use SolarMutexGuard directly
Change-Id: I4533504d110dadbabfc737f7ca56b88afcc8ef44
2014-03-20 09:48:23 +01:00
Stephan Bergmann
cfb4c8125a Use SolarMutexGuard directly
Change-Id: I58bb5ede9c59f16d556db3c1e2f254eeba1c8f7d
2014-03-20 09:48:23 +01:00
Stephan Bergmann
227e924bae Use SolarMutexGuard directly
(both users of PropertySetHelper use a SolarMutex-based ThreadHelpBase)

Change-Id: If542914bbf33a9e81f86d654498c2af04082f31d
2014-03-20 09:48:23 +01:00
Stephan Bergmann
6771778d2e Use SolarMutexGuard directly
Change-Id: If09abe4dd6191efa5f92bf3af7cc6e119f401ab8
2014-03-20 09:48:22 +01:00
Stephan Bergmann
67f3785650 Remove unused ThreadHelpBase base
Change-Id: I0e15184071fc2c1cb231ead98210d4a1654208e7
2014-03-20 09:48:22 +01:00
Stephan Bergmann
94f8a0e60b Use SolarMutexGuard directly
Change-Id: I4b245dd68bf032a1d74fb16b910dc952fd761781
2014-03-20 09:48:22 +01:00
Stephan Bergmann
2299b5964d Remove unused ThreadHelpBase base
Change-Id: Ibddf0ab4107772a65f27851b1ebce3f7bb5d3bcf
2014-03-19 18:17:06 +01:00
Stephan Bergmann
034781978a Use SolarMutexGuard directly
Change-Id: Iba3daff93e8ff73a16ebfbc51a36b5b9a5a50de9
2014-03-19 18:17:06 +01:00
Stephan Bergmann
67b4b6b52b Use SolarMutexGuard directly
Change-Id: I7c2f9205d2fc7017c6eaafec7a46d92524e3104d
2014-03-19 18:17:06 +01:00
Stephan Bergmann
a6e25088b9 Use SolarMutexGuard directly
Change-Id: I82d891fb9910d5f92ad221a6f99f499bdf3d50e3
2014-03-19 18:17:06 +01:00
Stephan Bergmann
c788c20fb2 Use SolarMutexGuard directly
Change-Id: Ib6effb226472e52ee90434e96d7fe446e9265cc2
2014-03-19 18:17:06 +01:00
Stephan Bergmann
21228ee040 Use SolarMutexGuard directly
Change-Id: I43da5d468769c7e2f4801979baa2ee3c7868b639
2014-03-19 18:17:05 +01:00
Stephan Bergmann
112e9c641b Use SolarMutexGuard directly
Change-Id: Ib414409d7f7a3bdfba6dbeeab0d8c1e8e2084ceb
2014-03-19 18:17:05 +01:00
Stephan Bergmann
be370b4f70 Remove unused ThreadHelpBase base
Change-Id: I018fccbb1546978047f898b4c0107b613d782a6b
2014-03-19 18:17:05 +01:00
Stephan Bergmann
fab2a35de6 Access safe members directly
Change-Id: I048bc4ba4e1fc3c7b0dab55cc8e5818086cb70c7
2014-03-19 18:17:05 +01:00
Stephan Bergmann
f02e6d3de7 Use SolarMutexGuard directly
Change-Id: Id6421432be5b9220463a9b5be38b215e1e3b7563
2014-03-19 18:17:04 +01:00