Commit Graph

376958 Commits

Author SHA1 Message Date
Stephan Bergmann
e93b4d20d8 No MAP_POPULATE on Mac OS X
Change-Id: I6a0b8bbeec94fe19b609542550f9cce783daef20
2015-07-06 19:24:27 +02:00
Markus Mohrhard
3004221e47 preserve whitespaces here, tdf#88137, tdf#89254
Change-Id: Ieabb075b1e324792726a6c67949fbf3e7127615d
Reviewed-on: https://gerrit.libreoffice.org/15375
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-06 15:58:52 +00:00
Miklos Vajna
2b26c1796d tdf#92577 sw rendercontext: paint transparent from controls conditionally
Regression from commit beb4aa21d6
(SwViewShell::ImplEndAction: avoid direct paint, 2015-06-29), the
problem was that the lcl_PaintTransparentFormControls() call performs
direct paint, so it should be called only in case we don't do an async
paint via invalidate.

As expected, this call is no longer needed for the original i#107365
bug document in case SwViewShell::Paint() will be called by the main
loop shortly.

Change-Id: Ia27c551ed838d610f972f20abbb4ae9f0e1241b6
2015-07-06 17:50:09 +02:00
Benjamin Ni
6a01844a9f tdf#92547 - incorrect input values shown in formula wizard
Change-Id: I55dd98b1613376c8e1c83af8ffdc66a58e022cb1
2015-07-06 17:38:08 +02:00
Maxim Monastirsky
1745af7d0a Set button size before updating the images
So that the sub-toolbar controller will pick the
right image size.

Change-Id: I70b642ac84377b461a001ef11f551a5e1448c0f1
2015-07-06 17:58:05 +03:00
Stephan Bergmann
89cc8445f7 Clarify treatment of double slashes in rtl::Uri::convertRelToAbs
Change-Id: I71d0ded04b35472f14e4764a47212c73ac500814
2015-07-06 16:57:03 +02:00
Maxim Monastirsky
dd69bde36a ToolBarManager: Let XSubToolbarController update itself
The doc for XSubToolbarController::updateImage says:

"gets called to notify a controller that it should set an image
which represents the current selected function.

Only the controller instance is able to set the correct image
for the current function. A toolbar implementation will ask
sub-toolbar controllers to update their image whenever it has
to update the images of all its buttons." However, it didn't
work that way until now.

Steps to reproduce:

1. Open one of the custom shapes dropdowns, and choose a shape
   other than the default. Note that the button is now updated
   with the last selection.

2. Change the icon theme. Note that the button shows now the
   default shape, despite the fact that a future activation
   of that button, will still draw the last used shape.

Change-Id: I9345c9faa17dc82a5f590b242b60751ce5d8e648
Reviewed-on: https://gerrit.libreoffice.org/16781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-06 14:54:54 +00:00
Marek Doležel
ae20b81473 tdf79312: disable auto-close spelling dialog for sw, sd
Change-Id: Ib7ea6624ac6b112779b0e64b08805538b8d6afff
Reviewed-on: https://gerrit.libreoffice.org/16796
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-06 14:43:11 +00:00
Tor Lillqvist
e03244c94d Fix Funky Capitalisation Of Comments
Change-Id: I2846824d402d029cde8d214f8112047243c79c54
2015-07-06 17:33:04 +03:00
Jan Holesovsky
b183507ee2 LOK: Cleanup absolutizing of URLs.
Thanks to Stephan Bergmann.

Change-Id: I22aa3bb827db28bce3eabebb9b8c514663fad860
2015-07-06 15:53:26 +02:00
Stephan Bergmann
8468436bf6 Workaround seems no longer necessary for MSVC 2013
...but C2514 is still there

Change-Id: I818fed066b0ddaf5c30e6057285151d8a575c373
2015-07-06 15:24:44 +02:00
Noel Grandin
032c0ec6b1 loplugin:unusedmethods svl
Change-Id: Ic136cce6abef44291b7236a6d709f0eee391f311
Reviewed-on: https://gerrit.libreoffice.org/16784
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 13:14:08 +00:00
Noel Grandin
593206bda7 loplugin:unusedmethods hwpfilter,i18npool
Change-Id: Ied85d93019d0f6c01c14045758b405f2ac316676
Reviewed-on: https://gerrit.libreoffice.org/16783
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 11:54:54 +00:00
Noel Grandin
c4379aacbe loplugin:unusedmethods sot
Change-Id: I14e8bb3e4e38ade1044ce1c50c9676a65152724c
Reviewed-on: https://gerrit.libreoffice.org/16733
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 11:45:28 +00:00
Caolán McNamara
5aff134960 only inflate if status from InitDecompress is good
Change-Id: Ief207205b3f05dd0ed92a2d1d30e265cbdb914e3
2015-07-06 12:28:20 +01:00
Michael Stahl
b8f99f254b configure: require libexttextcat 3.4.1
... following commit cc96b2738b

Change-Id: I152875b6f72ff972d004f6df11325ce89f43ad9d
2015-07-06 13:09:43 +02:00
Noel Grandin
871a41cfd0 loplugin:unusedmethods unotools
Change-Id: Ieb73b50471263212285b9c3883c082477c1ad656
Reviewed-on: https://gerrit.libreoffice.org/16729
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 10:55:59 +00:00
Miklos Vajna
e47db97d2c SwLayAction::FormatLayout: avoid direct DrawRect()
Regression from commit 1d9e837698 (Use
GetBoundRect() instead of Frm() in layout., 2011-04-29), this causes
problems for double-buffered rendering and also seems to be pointless,
as just above we already added the rectangle to the repaint area.

Change-Id: I3dc67143e8332ab941a683414ee318dbef13de88
2015-07-06 12:39:17 +02:00
Miklos Vajna
519b34300f tdf#90611 DOCX import: fix missing paragraph style on footnotes
One one hand, a problem since commit
330b860205 (fdo#68787 DOCX import: handle
when w:separator is missing for footnotes, 2013-09-04) was that the type
attribute from <w:footnote w:type="separator"> resulted in two
ooxml:CT_FtnEdn_type tokens, ignoring too many paragraph ends for
footnotes, which resulted in missing paragraph style on footnotes.

On the other hand, fixing the first problem showed that it wasn't
correct that commit 9389cf78e3 (cp#1000018
RTF import: empty para at the end of footnote text got lost, 2013-11-15)
unconditionally removed the RemoveLastParagraph() call in
DomainMapper_Impl::PopFootOrEndnote(). It turns out that RTF and DOCX
have different semantics here, the footnote is always within a <p></p>
pair in DOCX, while in RTF a \par at the end of a
footnote means an empty paragraph. Fix that by conditionally restoring
the removed RemoveLastParagraph() call.

Change-Id: I33020ac761c94addfec8164a17863565e4453b07
2015-07-06 11:57:11 +02:00
Stephan Bergmann
29fbe4bb7c -fsanitize=vptr: unnecessary, wrong downcast
is e.g. an SwDrawFrameFormat instead of an SwFlyFrameFormat during
CppunitTest_sw_uiwriter

Change-Id: I97511cf516f76b12e04da61ce6fd51f61ef83241
2015-07-06 11:52:21 +02:00
Miklos Vajna
1586548940 Revert "vcl::Window::SupportsDoubleBuffering: respect VCL_DOUBLEBUFFERING_FORCE_ENABLE"
This reverts commit 7df3879d3f. It's not
necessary since commit f16d82ea8f (make it
possible to force enable double buffering for all widgets, 2015-06-03).
2015-07-06 11:37:03 +02:00
Noel Grandin
c760932fae loplugin:unusedmethods basebmp
Change-Id: I9e89fea4e94a91edbbe355780c2a12d6e6cb6e4a
Reviewed-on: https://gerrit.libreoffice.org/16728
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 09:06:47 +00:00
Caolán McNamara
592ee0308a a malformed string here can force an out of bounds indexOf
Change-Id: Ic4d922bd27b7f119a7f8b95bbb4d4ed9e89fe51d
2015-07-06 09:34:35 +01:00
Tor Lillqvist
166ee1186c ImplRestore() can be private
It is only called from other member functions.

Also, all the calls are inside conditionals that check mpData &&
mpData->mbCurVisible already, so no need to check anew in the function. Use an
assert() instead.

Change-Id: Ibcde0aa43877b64b9b0ae5117cbda1fb44ee023d
2015-07-06 11:09:01 +03:00
Takeshi Abe
00daf98edd tdf#88206: replace cppu::WeakImplHelper* and cppu::WeakComponentImplHelper*
with variadic variants, and drop unused #includes, in accessibility.

Change-Id: Iddbe0f7932108319a5105448a74c570265d601ce
Reviewed-on: https://gerrit.libreoffice.org/16639
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:37:23 +00:00
Takeshi Abe
15c0fba5c2 tdf#88206: replace cppu::WeakImplHelper1 with cppu::WeakImplHelper
in animations.

Change-Id: I7d776ddb81e0943bf2ea5895ea26631db76546ac
Reviewed-on: https://gerrit.libreoffice.org/16645
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:36:07 +00:00
Takeshi Abe
623c2b92b9 tdf#88206 Change uses of cppu::WeakImplHelper* etc.
to the variadic variants, in avmedia.

Change-Id: I7fe65771ea5e0d30c7906d0d33acdcbe9e8aa3ff
Reviewed-on: https://gerrit.libreoffice.org/16647
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:35:17 +00:00
Takeshi Abe
c73e3bb925 tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants, in basctl.

Change-Id: I52da577a6f6298eb89b0cc8c8ff243ecd341e9b3
Reviewed-on: https://gerrit.libreoffice.org/16718
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:29:01 +00:00
Takeshi Abe
7640e244db tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants, in basic.

Change-Id: I13c5644bd6b9e964e42a98bee9c3019d959efb36
Reviewed-on: https://gerrit.libreoffice.org/16719
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:28:21 +00:00
Noel Grandin
52099a7ad3 new loplugin: unusedmethods
Change-Id: I72574e354aadf357d6d8181a514efb4783e79e28
2015-07-06 09:20:08 +02:00
Miklos Vajna
0afd9dbc08 sw: fix newly introduced style inconsistencies in docxsdrexport
Change-Id: I9b9f198aa6da2f6734194207b4c4bdec3ee1d4c0
2015-07-06 09:16:03 +02:00
Miklos Vajna
f2904c5cad oox: sort output in generated oox-drawingml-adj-names
So generated data don't unnecessarily differ after each build.

Change-Id: I143fa189a653266fadf9dd34ce2ed42b9b9b1548
2015-07-06 09:16:02 +02:00
Miklos Vajna
ffc7b671e2 tdf#92481 RTF import: handle \widowctrl
Change-Id: I1af1d6bc150c16a2c6b0fe788a41c8c18caee6c6
2015-07-06 09:16:02 +02:00
Noel Grandin
04c0b70c9b loplugin:unusedmethods sax,shell,stoc,basegfx
Change-Id: I8f3871fd4e82b6850718b6f2a8757f3043d00017
2015-07-06 10:10:02 +03:00
Noel Grandin
e9c3583c2c improve the returnbyref loplugin
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb
Reviewed-on: https://gerrit.libreoffice.org/16731
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 07:04:50 +00:00
Noel Grandin
89c77994d4 remove some unnecessary typedefs around uno::Reference
Not very useful these days, since we have the css:: prefix to reduce
verbosity.

Found with a search like:
   git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;'
       | grep -v 'std::'

Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd
Reviewed-on: https://gerrit.libreoffice.org/16730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06 06:14:15 +00:00
Caolán McNamara
64385c7555 cppcheck: noExplicitConstructor
Change-Id: I999923031c573f361bc421eab84e68a4a130d688
2015-07-05 21:22:31 +01:00
Maxim Monastirsky
3e0b5c8a0a tbinsert.hrc is empty
Change-Id: I3414afeab2fb95160d206891868596ec2ee637d7
2015-07-05 22:35:33 +03:00
Caolán McNamara
4a121d402f this SAL_INFO uses brush which might be NULL
Change-Id: Id69b55b266fe62934b53fc765030cfd044d0c74a
2015-07-05 20:24:50 +01:00
Caolán McNamara
d6db7e20d3 ppc64: fix infinite loop with default unsigned char
Change-Id: I4c1d4c9228113bf83e8aabb50f153d2658c3cf59
2015-07-05 20:12:02 +01:00
Maxim Monastirsky
9fac093b76 Unused defines
since 853e9c00a3

Change-Id: I8b1bcaaff72ed73209e55011e006175356865811
2015-07-05 16:27:10 +03:00
Maxim Monastirsky
bc3c7f2557 Add 'virtual'
Change-Id: I57511b62b578f897c15c6cbb23dedb1200db232f
2015-07-05 16:26:54 +03:00
Caolán McNamara
7e0b90aff3 aDBFColumn.db_typ is input controlled
so we can't guarantee that it is valid ascii

Change-Id: Icdc6162db4405df729e548a836de5662255088ed
2015-07-05 13:30:59 +01:00
Maxim Monastirsky
18992f308d Convert NUM_PAGETYPE_ to a scoped enum
Change-Id: Iddc194a0d8f77e307c05bd3dfef1fc30568173c1
2015-07-05 14:55:16 +03:00
Maxim Monastirsky
4604a6a7cd This one should override SfxToolBoxControl::Select
We don't have there Select(bool) since
c3a89936ab.

Change-Id: Id496725d82289d1be004bdc36195877c12f336b0
2015-07-05 14:55:15 +03:00
Maxim Monastirsky
d6794cf0d5 SfxToolBoxControl::GetPopupWindowType seems unused, kill it
together with SfxPopupWindowType enum.

Change-Id: Ia0b2388b34c96bb044f1bfcc7e89b33ac37d5f95
Reviewed-on: https://gerrit.libreoffice.org/16766
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-05 11:50:16 +00:00
Bjoern Michaelsen
10008d6ecd fix typo from 6942e18899
(thanks Julien for spotting!)

Change-Id: Ifd9f908d1fe3cde8e926dae72270d6c7dfcfa234
2015-07-05 12:21:49 +02:00
Adolfo Jayme Barrientos
9734d0a967 Related: tdf#92540 Use “S” as accelerator
While an S is already used in this file, it does not conflict
with this command from Math’s Tools menu.

Change-Id: Id69ade4b076e53b680395871b5bef34afe1c6ecc
2015-07-05 01:48:45 -05:00
Bjoern Michaelsen
67afab2a7c this file has significant (amounts) of whitespace ...
... lets reduce it to somewhat bearable levels.

Change-Id: I2d17b313dfd151b3572ea1250613b73ebc20dbcf
2015-07-04 23:58:51 +02:00
Bjoern Michaelsen
6942e18899 tdf#89592: use initializer list
Change-Id: If3ca55d4dc42975785a4978e473ddf78e7713912
2015-07-04 23:58:51 +02:00