Commit Graph

389312 Commits

Author SHA1 Message Date
Stephan Bergmann
20c6cb0e79 Avoid reserved identifiers
Change-Id: Iaf015fdcf9818655243e138c6c655c5f86511ac3
2016-03-10 18:32:02 +01:00
Stephan Bergmann
317118c1c8 Avoid reserved identifiers
Change-Id: I036cb407c29ee375e1893b7418c7fa63bf1d592a
2016-03-10 18:32:02 +01:00
Stephan Bergmann
df808bec43 Avoid reserved identifier
Change-Id: Iea66c7230f4570d6a2b88a514958788eb4105ffb
2016-03-10 18:32:02 +01:00
Stephan Bergmann
ee4e520d11 Remove unnecessary typedefs (that introduced reserved identifiers)
Change-Id: I42d09cccf07dca6733f763b1026f6c138cb70a61
2016-03-10 18:32:01 +01:00
Stephan Bergmann
708b42b359 Avoid reserved identifiers
Change-Id: I309985d65752c4aa041cdb7c060c32d4312d442d
2016-03-10 18:32:01 +01:00
Stephan Bergmann
8c3b333955 Remove unnecessary typedefs (that introduced reserved identifiers)
Change-Id: I726ca611cce66d7e25dc91b8baaec7e588eb1b8e
2016-03-10 18:32:00 +01:00
Stephan Bergmann
127fbac23a Avoid reserved identifiers
Change-Id: I074b5c4b9caec0a1c22f36e153a84104c5187e91
2016-03-10 18:32:00 +01:00
Stephan Bergmann
9747c41d6c Drop __osl_ prefix from static entities (avoid reserved identifiers)
Change-Id: I725783d10bc1e6300c480542c536d409433ff532
2016-03-10 18:32:00 +01:00
Stephan Bergmann
34dc2317b2 Drop __osl_ prefix from static entities (avoid reserved identifiers)
Change-Id: I68e51e09ffea9328034254b694b01082dbb4e3bd
2016-03-10 18:31:59 +01:00
Stephan Bergmann
278983f5d8 Remove unnecessary typedef (that introduced a reserved identifier)
Change-Id: If19a3029bd7d312e40eead77856fb705d12b5fc6
2016-03-10 18:31:59 +01:00
Stephan Bergmann
ebee3a74e8 Remove unnecessary typedef (that introduced a reserved identifier)
Change-Id: I29c643a972c10f22328022b66c57c6b86f748cfe
2016-03-10 18:31:59 +01:00
Stephan Bergmann
4870b950d4 Rename _imp_get/setProcessLocale (avoid reserved identifiers)
Change-Id: Iab013039d3f99ee06efc1556b768f16ec8bcee2a
2016-03-10 18:31:58 +01:00
Stephan Bergmann
45aaf13b8d Remove unnecessary typedef (that introduced a reserved identifier)
Change-Id: I6d60bbf938a5e609efeb56d9c7650e83dd9bbbdb
2016-03-10 18:31:58 +01:00
Stephan Bergmann
630584ec35 Remove unnecessary typedef (that introduced a reserved identifier)
Change-Id: I2b8e5e4736fab924c02fca81aabb37c4e2361265
2016-03-10 18:31:57 +01:00
Stephan Bergmann
a63b599779 Drop __rtl_random_ prefix from static entities (avoid reserved identifiers)
Change-Id: Ibb7e6fc2a0fdc357e31f02d8b88e6d3c0ae02f44
2016-03-10 18:31:57 +01:00
Stephan Bergmann
8b33a291c6 Drop __rtl_digest_ prefix from static entities (avoid reserved identifiers)
Change-Id: I9baa60e56cc1f0086218f1ee633e0041436a8f2a
2016-03-10 18:31:57 +01:00
Stephan Bergmann
23ee02c025 Drop __rtl_cipher prefix from static entities (avoid reserved identifiers)
Change-Id: I4f72ded322d563c6d429e0cfbf4120e4faa85c98
2016-03-10 18:31:56 +01:00
Stephan Bergmann
17504818a4 Avoid reserved identifiers
Change-Id: I6275327a1b079f8cc0939e608dbbaff544ab05b0
2016-03-10 18:31:56 +01:00
Stephan Bergmann
c59ec659ee Remove unused tag type name (that happens to be reserved) in typedef
Change-Id: Ibe1cae135879ae0e6cbc0eb01bb1704be22b8c4e
2016-03-10 18:31:56 +01:00
Stephan Bergmann
9878e8914f Remove unused tag type name (that happens to be reserved) in typedef
Change-Id: I72855ec7f5cd9873c9ab202fdcb06f5967585c41
2016-03-10 18:31:55 +01:00
Miklos Vajna
eff3f82033 sd: handle classification during copy&paste
This is the same feature as done for sw internal copy&paste and for the
sw RTF filter: if the copying would leak information, better not to do
that.

Change-Id: I39186d7b798d822f1f3a5a4b1ce2aa000c6f7906
2016-03-10 17:43:23 +01:00
Miklos Vajna
7c9f080aca sd: copy doc metadata to clipboard document
Just like in sw, doc metadata wasn't copied to the document. As a start,
copy the user-defined doc properties. Note that this just takes care of
the source -> clipboard part, it's still up to the clipboard ->
destination code to decide how to merge the properties at the end.

Change-Id: Ic506e25ab598f4748d443d65664a193d589acd3c
2016-03-10 17:43:23 +01:00
Miklos Vajna
275443f052 sfx2 classification: merge common code from sw and writerfilter
The two versions were almost a duplicate.

Change-Id: I3148150d62484a55fc8d59ca354998f211435c0b
2016-03-10 17:43:23 +01:00
Takeshi Abe
ac8e83cfb4 starmath: no need to override SmFontPickList::Update/Remove
Just use them instead.

Change-Id: Ic82d2c3edc1d0ccd2551f8cf208f108168148786
Reviewed-on: https://gerrit.libreoffice.org/23111
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-10 15:24:10 +00:00
Maxim Monastirsky
21b92f386c MenuDispatcher::m_pMenuManager is always nullptr
... as shown by 7da15debe3.
Which means that MenuManager is unused, and MenuDispatcher
does nothing useful.

Change-Id: Ic85619531054a573d971d38b52609e1cbcaf780c
Reviewed-on: https://gerrit.libreoffice.org/23117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-10 15:23:31 +00:00
Miklos Vajna
70c8d27892 Upgrade libxmlsec to 1.2.15
The primary benefit is that this release supports sha256 out of the box,
so we can drop xmlsec1-nss-sha256.patch.1 and
xmlsec1-mscrypto-sha256.patch.1.

Change-Id: I78606c02591ac8ae7e347b0faa510ae2483e3183
Reviewed-on: https://gerrit.libreoffice.org/23096
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-10 15:16:06 +00:00
Stephan Bergmann
069e92f5cc loplugin:stringconstant
Change-Id: Ib5883379db40a0685d75a3573ed91a2c440bb102
2016-03-10 16:04:08 +01:00
Dennis Francis
d799daa489 tdf#97344 : Allow focus change using mouse in autofilter popup
Also modified CycleFocus() to skip controls that are
disabled.

Change-Id: I6d84e0d4aacc719b83c70e92a17f58f1756ff072
Reviewed-on: https://gerrit.libreoffice.org/21922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-10 14:45:25 +00:00
Stephan Bergmann
3b0fda6414 mpDispatchWatcher is a natural place to hold the DispatchWatcher singleton
Change-Id: I6221023f0158388b05db045453111974c5cb0458
2016-03-10 15:34:32 +01:00
Stephan Bergmann
9daa9799ac Just use "this"
Change-Id: If9921d73188e95395b81eb2341487423df7bc750
2016-03-10 15:34:32 +01:00
Caolán McNamara
702790258c fix for 10 sec hang with audio-only formats with gstreamer1
just do the same as we did for gstreamer 0.10 and set the
size found condition once we get the message even if there is no size

Change-Id: I826d76dd1097432e5bd33d4acc1a187b8e5068da
2016-03-10 14:06:33 +00:00
Mohammed Abdul Azeem
69ac605191 tdf#57523 - Regex search "^$" finds all empty cells in given range.
Just added a condition to trigger ScTable::SearchAndReplaceEmptyCells
which already finds and replaces all empty cells.

Corrected range detection to find empty cells in data area only.
Odd behavior when selection was left or above actual data area
has been fixed.

Change-Id: I4b0cedd9d28ebdcaf580ca1bc8da780cf6342c54
Reviewed-on: https://gerrit.libreoffice.org/22766
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-10 14:05:23 +00:00
Stephan Bergmann
0827a83a77 Remove unnecessary class DispatchWatcherHashMap
Change-Id: Ie73f964651aac4571ce0ddd56b5b821669188495
2016-03-10 14:53:20 +01:00
Stephan Bergmann
0dcd3c9572 Hold DispatchWatcher by rtl::Reference
Change-Id: I2bdd63c864a5b1486f01907f9598a0c25a0f144d
2016-03-10 14:53:19 +01:00
Stephan Bergmann
85ecc7d1dd ProcessDocumentsRequest ctor inits pcProcessed to null
Change-Id: I109f4acae9ac0a61004d06a82a479541f14cfd22
2016-03-10 14:53:19 +01:00
Stephan Bergmann
5a9fa5ca17 No need for heap allocation here
Change-Id: I34e96e3101f80398f238cdb5a94c00fee4b0faae
2016-03-10 14:53:19 +01:00
Miklos Vajna
a3fcf5a3b8 writerfilter: -Werror,-Wunused-variable
Change-Id: Ia67b8728f3992279b89b8c212f2f9258baaf8edb
2016-03-10 14:38:48 +01:00
Miklos Vajna
b1f9369b81 RTF import: handle classification during copy&paste
With this, it can't happen that "paste" returns an error, but "paste as
rtf" succeeds (from a classification point of view).

Change-Id: Ia6807e5a6c065557cdd735a574ea858d29a97160
2016-03-10 14:31:54 +01:00
Miklos Vajna
e75f6e549e sfx2: make SfxClassificationHelper not require a full doc shell
So that input filters can build their own doc properties and can also
use CheckPaste() without having the full original document around.

Change-Id: I0b8a63702f73ce04e8728a360b56ab9d1ca67af1
2016-03-10 14:31:54 +01:00
Miklos Vajna
b84f5a0efa RTF import: set user-defined metadata only after parsing all of them
This helps setting all or no metadata in case an error would happen in
the middle of parsing metadata entries.

Change-Id: I349f53148627dd07f1304ebe00f0664bd23e26ea
2016-03-10 14:31:54 +01:00
Miklos Vajna
6a114b8ffa sw: make metadata available in copy result
The "copy" part of copy&paste works in sw by creating a separate SwDoc,
then copying the selection of the original SwDoc into it, so filters can
easily just export the whole clipboard document. A side effect of this
is that the clipboard document has no documnent shell, that would
contain the metadata.

Add a new member to MetaFieldManager that can store metadata in the
clipboard case, let SwTransferable::GetData() write metadata there, and
finally adapt the RTF export to look for metadata there as well.

Change-Id: Icfe32abca4290af8bf5b24a34160c43d4c87c04a
2016-03-10 14:31:54 +01:00
Katarina Behrens
1b98d7a3c4 tdf#94370: Make previews of master pages finally appear
Just force the whole ValueSet to be formatted. Individual rectangles
are already being invalidated (when PREVIEW_CHANGED event comes), but
something naughty must be happening in ValueSet that those changes
don't show.

Change-Id: I4fd8af36e34c3a445d7b16b59e45256f016fd9df
Reviewed-on: https://gerrit.libreoffice.org/23115
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-03-10 13:28:34 +00:00
Krunoslav Šebetić
5826311259 Updated core
Project: dictionaries  3bbf614616d6da0c94b8953299c467c1db7b912d

tdf#98531 Updated Croatian dictionary

- converted .aff to UTF8 to match .dic encoding
- removed nonsenses like "word1yyyyyyyyyyyyyyyword2" or "wordyyyyy."
- added 123 new words
- added some new classes to .aff (just because I could not use default ones, nothing fancy)
- tried to improve suggestions by adding a REP section

Change-Id: I002e86fbc1b8e239404220c550e08e12b99e5910
2016-03-10 10:49:02 +00:00
Stephan Bergmann
22d6c786ef Adapt to "Extract Directories from BootstrapFixtureBase"
(60b1c95cc4)

Change-Id: I7d2319624b7a4ae38b1673c5a0053626f7f58c1c
2016-03-10 11:47:45 +01:00
Caolán McNamara
51d1fca204 Related: tdf#98419 gtk3: reimplement passing window move control to wm...
for wayland

Dragging toolbars around to move them (starting with an undocked toolbar, not
the moving outline fake thing) doesn't work under wayland (as far as I can see)
without using gtk_window_begin_move_drag i.e. gtk_window_move doesn't work.

But this is supposed to be used from the initial mouse click (while it works
under wayland from a move, it doesn't work under X from a move) so rework the
last attempt to occur right at the initial click to drag.

Change-Id: I612f188b3e8482307bc816f5aa775530e6092eda
2016-03-10 10:41:38 +00:00
Matus Uzak
6802f760a6 tdf#89927: PPTX import: Incorrect inheritance of text run fill properties
Make use of FillProperties in TextCharacterProperties.  DrawingML:
Fill related elements in Text Run Properties are in sync with Table
Cell Properties and all of Line Properties.

Change-Id: I7c513ecfc5f94cf49e98a657384b5c0f5dddc1c7
Reviewed-on: https://gerrit.libreoffice.org/22979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-03-10 10:20:46 +00:00
Tor Lillqvist
a076feda8e Follow the coding style of surrounding code
Change-Id: I80a2d935d92c8330f3815b6e79ccc58bc39541b0
2016-03-10 12:16:48 +02:00
Stephan Bergmann
0cc4e711d3 Remove unnecessary parentheses
Change-Id: I6815a02ae8f47c40c3b8cf5692126142de867480
2016-03-10 11:16:10 +01:00
rohan
5c4717416b Fixed minor negation bug in SAL_WARN_IF
I corrected the mistake that i did while converting OSL_ENSURE to
SAL_WARN_IF while submitting a patch regarding removing OSL_DEBUG_LEVEL > 1
conditionals. Thanks to Julien Nabet :)

Change-Id: I374373bf151a43b1ababf4c28b509da71068f755
Reviewed-on: https://gerrit.libreoffice.org/23112
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-10 10:14:03 +00:00
Oliver Specht
36bf13247b tdf#97591: mark RTF clipboard format as text/rtf
text/rtf replaces text/richtext which is not RTF

Change-Id: I2be750b595ba23ed75698b68c0d4ffd8f3a12870
Reviewed-on: https://gerrit.libreoffice.org/23086
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2016-03-10 10:11:04 +00:00