Commit Graph

6057 Commits

Author SHA1 Message Date
3fa5ac8eb9 loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I35229af6f25db931bd98bdf53add2f2ed65774c0
2015-06-02 11:28:26 +02:00
8c8bdc6091 loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I60298e919c29454c0a3bc8d745029e4a5d4cbea6
2015-06-02 11:28:00 +02:00
2e2a46fc65 loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I35092571da3360038665b4d6bb993f92390f8d8d
2015-06-02 11:26:19 +02:00
8d46bc15e9 Fix a wrong bit mask for StreamMode
... introduced at 7f8f277b94704a289fbbd1b836e4e5d66311580d

Change-Id: Ic9e2f6f5e01652744011a7e8a5f69f386efd6b52
Reviewed-on: https://gerrit.libreoffice.org/16015
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-02 05:15:07 +00:00
c1b9d61bac tdf#88276: Add slot and handlers for toolbar|sidebar buttons
those changes make getting/setting of text background colour
possible from toolbar and sidebar buttons, but likely more
handlers needs to be added to various other places in the code

Change-Id: I698ca2304399befdd63317eb8872aa3129f27637
Reviewed-on: https://gerrit.libreoffice.org/15909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01 17:12:21 +00:00
7e5d98c427 masses of coverity FORWARD_NULL warnings from copied assert
Change-Id: I8f698bbcf4d53a4477cc0ee0c3f2c7f08e521f8a
2015-06-01 17:41:20 +01:00
69a8d81b48 sal_uInt16 to sal_Int32, and use -1 as a special case
Change-Id: Iaf90f96665781d3aa43f1f71802538f54409bd4a
2015-06-01 13:04:13 +02:00
4fe7a99c4b Remove B1IRange, it's not used anywhere
Change-Id: I2eeded849b9b36611407e8ecc545d7801939e4c9
Reviewed-on: https://gerrit.libreoffice.org/15815
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-01 08:09:39 +00:00
7a4e796889 Remove B1IBox, it's not used anywhere
Change-Id: Ifff5fc008552f80fcbb705013c1f578f5f825b24
Reviewed-on: https://gerrit.libreoffice.org/15814
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-01 08:08:02 +00:00
da7758dad3 svx: nObjAnz -> nObjCount
Change-Id: I1ae00035c5ae9ac620f01982d6e4fff593f7c054
2015-06-01 09:14:12 +02:00
b56dab6467 convert PRESENTATION constants to scoped enum
Change-Id: Ic7b0b1d433456f1a27a76314a5890b9ae7f70a69
2015-05-29 08:48:08 +02:00
6c1cabe677 loplugin:unnecessarysuperclass, merge IWarningsContainer..
..into WarningsContainer

Change-Id: I682528a4eb1b1298faf12b2d498db65f94800cd5
Reviewed-on: https://gerrit.libreoffice.org/15905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-29 06:46:40 +00:00
fee29fde64 tdf#91652 - store PDF FilterConfigItem options in dispose.
Change-Id: I808aeab8fdac35330de24970b873f49e22c52c6a
Reviewed-on: https://gerrit.libreoffice.org/15946
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-28 16:05:53 +00:00
3c9fb58981 gtktiledviewer: use SearchItem.SearchStartPoint*
Change-Id: If0219eda3a2ca3b97c37bea70e35d47e49d38e02
2015-05-28 17:37:18 +02:00
1dc60bc9e9 SvxSearchItem: add m_nStartPoint{X,Y}
The idea is that if you have your cursor at the begining of a Writer
document, and you scroll down a lot, then search, then it's annoying
that search jumps back to the start of the document for the first hit.

Add an optional way to provide what is the starting point of such a
search, so we can have "when nothing is selected, then search from the
top left corner of the visible area".

No UI yet to enable this, but available via the UNO API.

Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134
2015-05-28 17:37:18 +02:00
8c609d7a1c Resolves: tdf#91673 wrong bit mask for BrowserMode
Change-Id: Iecd1d9d743fb3d7a02b31d2bee001de5092be7e0
2015-05-28 14:33:42 +01:00
b406664c0c GetFocusFlags::Cursor->GetFocusFlags::CURSOR
to avoid name-clash with X11 headers

Change-Id: I727c523f6d9bd7d4db28fe7427e053903626be00
2015-05-28 13:01:56 +02:00
f3331f7694 convert PARENTCLIPMODE constants to scoped enum
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
2015-05-28 12:47:08 +02:00
173aa749d5 convert INVERT flags to scoped enum
Change-Id: Iad8faee927de1ad646975157e36c3027c0ba8149
2015-05-28 12:47:07 +02:00
79db3fc0ee convert STARTTRACK constants to scoped enum
Change-Id: I9b441688eb59ffd3540b014716a9abe7969c9be4
2015-05-28 12:47:07 +02:00
a086ca1898 convert AUTOSCROLL constants to scoped enum
Change-Id: Id1d2b5c13ad6af05314cba60ba5b9a62e0683f5e
2015-05-28 12:47:06 +02:00
4c93c30c79 convert GETFOCUS constants to scoped enum
Change-Id: I7c324bb6358be28c119592850eb7607479279f09
2015-05-28 12:47:05 +02:00
5d33f6634c transform calc URLs to OOXML format, related tdf#91334
Change-Id: I497a6600e155200e913ed386a539f284a5c86320
2015-05-27 20:41:44 +02:00
63a40c4501 LOK: change PAGE_COUNT to a more generic DOCUMENT_SIZE
Change-Id: If94af4072c321358d7bd4d678eeed181dc0f44db
2015-05-27 17:33:05 +02:00
bda06661d8 Remove B3IPoint, it's not used anywhere
Change-Id: I7031c126179bbceebc40dcbdab5a0570db5bc29f
Reviewed-on: https://gerrit.libreoffice.org/15813
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-27 14:44:05 +00:00
b37b5e115f B3IVector is not used anywhere
Change-Id: Ic439b33c974500f1b351b41a0e391ffec71007b3
Reviewed-on: https://gerrit.libreoffice.org/15808
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-27 13:46:57 +00:00
135ced89b2 Remove B3IRange, it's not used anywhere
Change-Id: I19a6835eaab2efba530d30f871f1b4509b683801
Reviewed-on: https://gerrit.libreoffice.org/15812
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-27 13:45:38 +00:00
2a0118a98f tdf#88675 Fix display names for hicontrast and tango_testing
The special cases for the icon themes with the filenames
"images_hicontrast.zip" and "images_tango_testing.zip" are now handled.
They will be displayed as "High Contrast" and "Tango Testing"
respectively.

Change-Id: Ia3c2b8b57809db9c5ed132c42a412157e91b2599
Reviewed-on: https://gerrit.libreoffice.org/14574
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-05-27 12:24:21 +00:00
0cdab3fc10 The Mac libc++ version has problems as well,
...so remove the deleted address-of operator again for now

Change-Id: I3ded1d28bf2aeb170c70bcec865c09df1eefcb08
2015-05-27 14:18:13 +02:00
a570e30709 Work around broken MSVC standard library
Change-Id: I9bbe6d231cc784f786dc5e31a641b8789fc35eb9
2015-05-27 13:31:56 +02:00
c7ecbbbb6a lokdocview: fix not updated part selector when search changes part
Change-Id: I337eed47c56dbbbebda4d7fe716eab6177936dc0
2015-05-27 11:48:53 +02:00
9549fb88f0 Prevent accidental mis-uses of VclPtr address-of operator
Change-Id: Ie3588d502e9545ea64bf836b2a0bdc0caead2247
2015-05-27 11:40:36 +02:00
66854d697f convert WINDOW_DRAW flags to scoped enum
Change-Id: I9400a286fab18d683b4c109007961685f01b6da3
2015-05-27 11:14:26 +02:00
9e3b1236b6 convert WINDOW_DLGCTRL flags to scoped enum
Change-Id: I6c3a95cdcb15e5b1d4adb13908a751b06a302e20
2015-05-27 11:14:26 +02:00
edc69a55c3 simplify GetWindowClipRegionPixel
since it has only one call-site

Change-Id: I80344faf4beab9aa9427ba8d448b0cf3fd30c7b6
2015-05-27 11:14:25 +02:00
5ad3886ec8 convert EXTTEXTINPUT constants to scoped enum
Change-Id: I1bb4ff2c13eaa2a9da3e32963ac0802e947e18d9
2015-05-27 11:14:25 +02:00
c6dfe0545c convert DLGWINDOW constants to scoped enum
Change-Id: Ieda6c5d638c608dd9e7b5d760dfbbfbcc37cc35a
2015-05-27 11:14:24 +02:00
481c185e32 tdf#90338 tdf#84254 DrawingML export fix
Change-Id: I610d8099f057a2a34a1f9573d8ac16b5b8da9fc7
Reviewed-on: https://gerrit.libreoffice.org/15918
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-05-27 07:19:04 +00:00
2a6aa95a7a Resolves: tdf#91542 crash on pressing return in sidebar line popup
Change-Id: I661a51f84827326dfc33a11a02f8065d68e8333a
2015-05-26 17:34:09 +01:00
67a37be996 sd: fix LOK search result highlight when result is not on the current slide
By adding a new callback event, so clients can switch to the correct
slide.

Change-Id: I6c2388eb11ef97811cc644fe3a9d3866aa82fd75
2015-05-26 17:18:23 +02:00
9fadc1dc47 Global CptlSttWrd and CptlSttWord -> CapitalStartWord
Change-Id: I550456ae319a6a865f2ee951a1ddf70384ce33ef
2015-05-26 12:20:27 +02:00
42f0f1397a Global CptlSttSntnc -> CapitalStartSentence
Change-Id: Id428332201f14b172af1590baed6aa2a67e0557a
2015-05-26 12:20:26 +02:00
19fc914aa6 Remove B3I64Tuple, it's not used by anything
Change-Id: Ie1b05375a8e8d634e6ef6b2bf6edde65b32574bd
Reviewed-on: https://gerrit.libreoffice.org/15811
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-26 08:44:57 +00:00
6365469272 bCptlSttSntnc -> bCapitalStartSentence
Change-Id: Ie22198837257163fd7211e93d97d97be2bca4b64
2015-05-26 09:08:03 +02:00
204d147b8a convert SCROLL constants to scoped enum
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26 08:30:19 +02:00
79aa1ab00a convert VALIDATE constants to scoped enum
Change-Id: Ib3456116ab4c2e2f4b567bc195be2ad159b4fc82
2015-05-26 08:30:18 +02:00
bb7ce3137d convert INVALIDATE constants to scoped enum
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the
IDL docs for XWindowPeer

Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-26 08:30:18 +02:00
af75d7a4c9 SdrSnapView: initializae members in the constructor
remove ClearVars() which was only
use by the constructor
instead initialize properly things in the constructor itself

Change-Id: I20a0ea26c5dce680844f81cf85ee72e1809a7068
Reviewed-on: https://gerrit.libreoffice.org/15890
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-26 00:19:19 +00:00
67c3e2abf3 impress: right click to insert image
Change-Id: I521f074bbd500b81d74be7e0e771bd49efc29c9c
2015-05-25 15:03:44 +01:00
bfd33a826c callcatcher: update unused code
Change-Id: I735264eb32ebdd165d23a4717f0329f666b8b140
2015-05-25 12:32:53 +01:00