Commit graph

312335 commits

Author SHA1 Message Date
Stephan Bergmann
b8a331fefc warning C4805: unsafe mix of type bool and sal_Bool
Change-Id: I4cae9b629649de510e35b499f299509a608a9022
2012-09-18 16:04:22 +02:00
Stephan Bergmann
2a32bf29b9 Make getProcessComponentContext/ServiceFactory throw instead of returning null
...with the same rationale as recent 543158edba
"Require XComponentContext.getServiceManager to throw instead of returning null"
(this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable
experimental gtk3 plugin only via SAL_USE_VCLPLUGIN").

Removed comphelper::createProcessComponent[WithAguments] and replaced its few
uses with direct calls to createInstance[WithArguments].

Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
2012-09-18 15:08:56 +02:00
Stephan Bergmann
cccc6bcfa0 Don't access broken service mgr during bootstrap failure
...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER
works after all.  Augment the error text with an exception message where
appropriate.  This allows to revert fdfb7a3c4b
"Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as
that was to catch and display failures from instantiating the service mgr.

Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3
2012-09-18 15:08:56 +02:00
Stephan Bergmann
a0659cc41d Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGIN
...and not also via experimental mode, to avoid trying to use the UNO service
manager before it has been initialized.

Change-Id: Idee8bdccf1193ebe5aa0c47c801f0e2209d57899
2012-09-18 15:08:55 +02:00
Stephan Bergmann
e128ec4999 Use UriReferenceFactory service ctor
Change-Id: I6d9af6abdae11d378937c19b7752e3e8517b3de4
2012-09-18 15:08:54 +02:00
Michael Stahl
c7692ae82b typo
Change-Id: Ibf3dd31f2c213dca83a03773c430de841d2511de
2012-09-18 14:48:02 +02:00
Michael Stahl
cf842d7c7f rhbz#852128: sw: avoid table undo crash:
SwUndoTblNdsChg::UndoImpl: to prevent access of deleted table box start
node, disconnect the SwTableBox from the start node before removing the
table box nodes.
This problem was probably introduced with CWS swnewtable
db4de0817d, which changed the order of the
removal operations for unknown reasons.

Change-Id: Ic59823a84082cc6ff453b2b512cbb8253886ecf3
2012-09-18 14:48:02 +02:00
Markus Mohrhard
2c933f90e3 shrink to used area for duplicate codn format, fdo#54349
Change-Id: Ie0cce19c3ea2132d94a227cd051090573054b369
2012-09-18 14:48:07 +02:00
Miklos Vajna
f5b299e672 avmedia: more sal_Bool -> bool reverts
Change-Id: Ifca52136a90411a60dc11458f09670d72d5d70a7
2012-09-18 14:44:24 +02:00
Miklos Vajna
1fe4aa6ed8 n#778148 sw: fix mouse pointer over urls with background image
Change-Id: Idbc93dfc95dfefc4c962ef36e0557a717550b7d7
2012-09-18 12:32:27 +02:00
Norbert Thiebaud
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
Luboš Luňák
96b45756b4 move ostream OUString operator<< directly to ustring.hxx
It apparently works that way, so there's no need to have
an #include loop.

Change-Id: I58d4f0461c14637872a139f0fbfb78f2a99fe28a
2012-09-18 11:54:05 +02:00
Stephan Bergmann
c3c0ae7fc6 -Werror=unused-parameter
Change-Id: I8be7ed8c81bc2f8cca8556405169462ea6b1c0d3
2012-09-18 11:37:04 +02:00
Andrzej J.R. Hunt
9940361f61 Provide client with state of server on startup.
Change-Id: Ic516afd65025cf4a8c7d3539d9010ad30e05e429
2012-09-18 11:18:32 +02:00
Michael Meeks
0edc04d2d6 WaE: calm android tinderboxen
Change-Id: Iaeb809770acec4b3c38e42038fe2820b2da2051d
2012-09-18 10:18:00 +01:00
Andrzej J.R. Hunt
4aed4eb1ca Further improvements to connection and feedback.
Change-Id: I04c48ad3d465e132ea9adaf840e9f858a7096794
2012-09-18 11:16:23 +02:00
Miklos Vajna
988948cb8f avmedia: problematic sal_Bool -> bool conversion when interacting with UNO
Change-Id: If6c52ed167a418f88d96b5d5a7319cd9a7bca11d
2012-09-18 11:05:04 +02:00
David Ostrovsky
77e4adbe47 mork driver implementation
This is a preparation for merge into master, feature/mork
branch is obsoslete and shouldn't be used any more. In
context of this change the usage of old mozilla based mork
driver depends on platform: all non windows platforms use
this new mork driver, windows still uses mozilla.

Because mozilla driver shipping was stripped on feature/mork
branch for all platforms, the corresponding commits were
changed prior to creating this change (the build file changes
are reverted now). So the build and shipping of different mork
driver implementation should be implemented from scratch:
mozilla on windows, new mork dirver on all other platforms.

Currently the new mork dirver is compiled (on all platforms),
but not used. It can be tested with mork_helper executable.

fdo#51004

Change-Id: Ib2413ab6856f163337aa311c4bf7b1182d6c6f63
Reviewed-on: https://gerrit.libreoffice.org/635
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-18 08:30:01 +00:00
Ricardo Montania
a60c63fd66 corrections ::rtl::OUString, sal_Bool and macros, in avmedia
Change-Id: Iae12f009a358ef8d648f094db968dae25f0c14a0
Reviewed-on: https://gerrit.libreoffice.org/636
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-18 08:26:27 +00:00
Markus Mohrhard
082155566a broadcaster cells are empty, fdo#54553
Change-Id: Ie7c251b7eaee248c97f4f931175bc26539acb22a
2012-09-18 09:02:20 +02:00
Markus Mohrhard
61f6bfca7b use light red as error color
Change-Id: Ia16b683c47743a921e70ce1bb7f37724e4ad7c9d
2012-09-18 09:02:20 +02:00
Stephan Bergmann
8ed8bb24b5 Adapt Windows-only code to changed ucbhelper::Content
Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
2012-09-18 08:21:43 +02:00
Kohei Yoshida
c673a1f121 Test for setting current page back to '- all -' in pivot table.
Change-Id: I2fc0ac9609855273e47c492c72066dede9ff6850
2012-09-18 00:54:33 -04:00
Kohei Yoshida
e7649f4ae1 Updated mdds to 0.6.1.
Change-Id: Ibc0a67b689e5731afdfe2b9af7d991a998ffb389
2012-09-18 00:40:34 -04:00
Kohei Yoshida
2ecaf778a7 Use mdds::flat_segment_tree to store row flags.
Much less memory footprint & better scalability.

Change-Id: Idef9afe5fa6e247e59fb949d4c9955fab4f669dc
2012-09-18 00:40:34 -04:00
Kohei Yoshida
2a2e598655 Forward declaration cleanup in header files.
Change-Id: I2bbfa48e49bb8c91c6d3e2bb485ded9e8e67f13b
2012-09-18 00:40:34 -04:00
Kohei Yoshida
d3469ce86e Do the same for the no-parameter variant of fillTable().
Change-Id: I698e70e7713697e2951c3e6ead4b4d2198d8a6cf
2012-09-18 00:40:33 -04:00
Kohei Yoshida
1b9a8efb82 Refactor fillTable (3-param variant) to skip trailing empty rows.
This speeds up the process considerably if the size of the trailing
empty rows is huge.

Change-Id: Ide91174b09472a20309b4f6e18d658cb8fbefa42
2012-09-18 00:40:33 -04:00
Kohei Yoshida
1e50a93d22 Determine data size in cache that doesn't include trailing empty rows.
Change-Id: I47632b7ae93f4e68c4512fc30f4e4fe18e1c5f4d
2012-09-18 00:40:33 -04:00
Kohei Yoshida
123206d002 Reduce indentation by early bailout.
Change-Id: I8cbf348289acb98d30d8e295f296c43655b00a08
2012-09-18 00:40:32 -04:00
Markus Mohrhard
01e6335267 and another test for ScRangeList::DeleteArea
Change-Id: I1fa81b32f9ffc70769876becbcf213796cab405b
2012-09-18 06:22:19 +02:00
Markus Mohrhard
5f0b2c26ce more tests for ScRangeList::DeleteArea
Change-Id: I1ba3278d8c74c62f28f2b89bec35bc33be477094
2012-09-18 06:22:19 +02:00
Markus Mohrhard
59bdd7aef8 use the typedefs in ScRangeList
Change-Id: If90c068eb4db26203612a54aa3536118650bfb43
2012-09-18 06:22:19 +02:00
Markus Mohrhard
f8f449c581 it is better to use ScRangeList::In than Intersects
Change-Id: Idb9839c827729edaa72442f78fbd2fd6561d95c8
2012-09-18 06:22:18 +02:00
Markus Mohrhard
011060da4d add tests for ScRangeList::UpdateReference
Change-Id: I0461b7a23b4743f6e73e6c771b1b2119ad1bce15
2012-09-18 06:22:18 +02:00
Tim Retout
b6e33e2322 installer: wrap main function with error handling.
Change-Id: Idca4dab27644e2c30a6c0a7549021c59fd99bc3a
2012-09-17 23:31:31 +01:00
Tim Retout
3ce06f2dc8 installer: Inline @installer::globals::environmentvariables
Change-Id: I9aab3ec39b833dac242b9ede21ac3f2e5eb78200
2012-09-17 23:31:31 +01:00
Andras Timar
41086934cf fdo#54232 set encoding of Romanian MSI tables to UTF-8
Change-Id: I0604998e5019757c47050e4f94b1feb1b847cfca
2012-09-17 22:00:57 +02:00
Bjoern Michaelsen
477e19d22f targetted make reversion. 2012-09-17 19:02:07 +01:00
Markus Mohrhard
764e7e7103 hopefully a corect way to deal with deleting rows and cols, fdo#54842
Change-Id: I4ec1a8225ae3c84352643876065fb4cc7073b9f4
2012-09-17 20:52:35 +02:00
Markus Mohrhard
f165111cf4 one more test for ScRangeList::DeleteArea
Change-Id: I42d31f6653990a81eff815d3d0feffad84b1379e
2012-09-17 20:52:34 +02:00
Stephan Bergmann
d2092dc56b Keep null service manager throw a DeploymentException
...rather than a general RuntimeException, for consistency with existing service
ctor code.

Change-Id: Ia9ac14a1b5bcecb24394e7b9cade369f3f9303f0
2012-09-17 19:12:34 +02:00
Stephan Bergmann
1b699e5c20 Missing semicolon
Change-Id: I1b673e8ae1a8487feaa41d827664d06e7ea3aaaf
2012-09-17 19:10:26 +02:00
Muthu Subramanian
9057689742 Modifying #ifdef to match header file. 2012-09-17 22:13:56 +05:30
Michael Meeks
f88c4a5bc1 dung out namespacing clutter.
Change-Id: I14794ca0cd2a8ea84ba41e1dc689503647696e3a
2012-09-17 16:30:45 +01:00
Andrzej J.R. Hunt
d495c7d42d Add pin_validating message to protocol to allow for feedback in app.
Change-Id: Ia4cfd0b848408713cff4f476e6d6be069d1cb5a8
2012-09-17 17:21:26 +02:00
Andrzej J.R. Hunt
5962129ea8 Dialog for connection, more activity launching cleanup.
Change-Id: I1ff8508daa2863020c6d7fa735f0f23b1ce96d8f
2012-09-17 17:08:46 +02:00
Stephan Bergmann
543158edba Require XComponentContext.getServiceManager to throw instead of returning null
This is such a fatal error that there is probably no point in trying to handle
it, so allow to simplify client code by removing the requirement to check for a
null return value.

Simplified some client code accordingly (modules configmgr and ure, and the code
generated by cppumaker and javamaker).

Change-Id: I51c0b270ec73409374f7439a47ee061407a46e31
2012-09-17 16:59:53 +02:00
Nicholas Shanks
6e78fd18c9 revised MacOSX mimetype icons
Change-Id: I68a1f132d0c4c379a3bcbf5e1a0f9a37604a8948
2012-09-17 15:58:31 +01:00
Thorsten Behrens
1b3b958520 Cppcheck: remove duplicate if/else in sd.
Change-Id: I872dd578729d8fe43d50fbf835b977adff8aded5
2012-09-17 16:47:40 +02:00