508c95f1b6
improve passstuffbyref return analysis
...
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-27 06:48:25 +00:00
938821fb08
new loplugin overrideparam
...
verify that parameters on override methods have the same set of default
values for their params as their parent/super-methods do.
Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2
Reviewed-on: https://gerrit.libreoffice.org/27437
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-25 06:09:17 +00:00
6e72f0251b
new loplugin unnecessary override
...
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2016-07-15 14:05:41 +00:00
be95afad42
[GSoC] Avoid reload of preset list in hatch tab
...
Change-Id: If2acb6df3c046de63b6b4069474e19fb87222a11
Reviewed-on: https://gerrit.libreoffice.org/27167
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de >
2016-07-14 09:12:23 +00:00
ec950f8ebb
ditch the font/screen-scaling thing
...
its of limited utility wrt the vcl layout work and optimal size widgets,
and its confuses people looking for hidpi settings
Change-Id: I37d21b480446f9fe2845b3a2d9fd59cdeddf1a93
2016-07-10 19:12:39 +01:00
6d4f2dcc7c
Resolves: tdf#100452 class Date full (BCE,CE) proleptic Gregorian calendar
...
... implementing signed years with year 0 gap.
Date(31,12,-1) last day BCE
Date(1,1,1) first day CE
New class Date member functions:
* AddYears(sal_Int16) to be used instead of
aDate.SetYear(aDate.GetYear()+sal_Int16) to handle year 0 gap.
* convenience GetNextYear() to be used insted of GetYear()+1
* convenience GetPrevYear() to be used insted of GetYear()-1
* AddMonths(sal_Int32)
* operator=(const css::util::Date&)
New class DateTime member functions:
* operator=(const css::util::DateTime&)
Made some conversion ctors explicit, specifically Date(sal_Int32)
Adapted hopefully all places that used a sal_uInt16 year to use
sal_Int16 where appropriate.
Eliminated some quirks in date handling found on the fly.
Added era handling to i18npool icu calendar setting interface, which
missing was responsible for 0001-01-01 entered in Calc being set as
-0001-01-01, hence subtracting one day resulted in -0002-12-31.
Change-Id: I77b39fba9599ebd5067d7864f6c9ebe01f6f578f
Reviewed-on: https://gerrit.libreoffice.org/27049
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Jenkins <ci@libreoffice.org >
2016-07-08 20:41:02 +00:00
50ba4a079e
Redesign of Hatch tab
...
1. New Hatch Listbox for presets.
2. Context menu for rename and delete.
3. Rearrangement of controls.
4. Remove Save and Load Buttons.
Change-Id: Iad2479bc418f7a257a410df7f11c23ed8dd7734c
Reviewed-on: https://gerrit.libreoffice.org/26869
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de >
2016-07-06 09:39:34 +00:00
cd71034b26
comphelper::OBaseMutex -> cppu::BaseMutex
...
convert usage of deprecated class, and remove the old class
Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2
Reviewed-on: https://gerrit.libreoffice.org/26843
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-04 06:49:07 +00:00
4760c44c80
GSoC possibility to change icon size in the SidebarToolBox
...
+ Added registy entry to store icon size
+ Added UI to change settings: Tools -> Options... -> View
+ Loading last settings in the SidebarToolBox
+ Settings update listener
Update icon code from: framework/source/uielement/toolbarmanager.cxx
Change-Id: I1d713c50fccfc19e1c8ea82eba68556ddb76cd3c
Reviewed-on: https://gerrit.libreoffice.org/26362
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2016-07-01 13:31:46 +00:00
48a8d6d843
loplugin:singlevalfields in various
...
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e
Reviewed-on: https://gerrit.libreoffice.org/26738
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-28 11:21:17 +00:00
11e72223f2
-Werror,-Wunused-private-field
...
Change-Id: I27a139506a9a88a00031958f6569eccb51375ef1
2016-06-24 08:53:31 +02:00
c3cdaa3950
-Werror,-Wunused-private-field
...
Change-Id: I06019eb424850f7e49447a6869950734dfc1f640
2016-06-24 08:51:54 +02:00
24ca187b63
loplugin:singlevalfields in svtools
...
Change-Id: I80fe1d4646af2b8d8e6362a25f6cda4b7ac29eab
Reviewed-on: https://gerrit.libreoffice.org/26603
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-24 06:45:07 +00:00
2c1056d679
tdf#46279 Show restart message after extension installation
...
Change-Id: I91feab63b77055b8f73d0fb481a76586b249160c
Reviewed-on: https://gerrit.libreoffice.org/24595
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: jan iversen <jani@documentfoundation.org >
2016-06-23 06:44:23 +00:00
aa0d0536a4
tdf#97527 - vcl: reference-count Menu
...
some places are marked with "dodgy"- need to check those to see
what is going on, because they are leaving dangling pointers behind
in the Menu class
Change-Id: I41d5c7c0fec2f70ce9e3ffdc48cd03d26c0a869b
Reviewed-on: https://gerrit.libreoffice.org/26516
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-23 06:28:00 +00:00
cdfdf580f7
remove visual noise
...
Change-Id: Ia4b0439af933653bcff5aed9127b2503c622ce0e
2016-06-22 18:19:32 +02:00
bb6500aa74
tdf#89329: use shared_ptr for pImpl in slidesorterbaropt
...
Change-Id: If5b7fd23448a584d1faebaf0a540e61f091471fa
Reviewed-on: https://gerrit.libreoffice.org/26331
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-21 13:18:04 +00:00
5ee7d509e7
tdf#89329: use shared_ptr for pImpl in optionsdrawinglayer
...
Change-Id: Ic9da196c1dfe138ff6408a37fa8ff70492d00bc2
Reviewed-on: https://gerrit.libreoffice.org/26282
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-21 08:04:09 +00:00
ae9dc22955
uitest: add initial version of wrapper for tree list box
...
The tree list will also be the first case where we need non-vcl::Window
based children. We should create one child for each entry to make it
possible to interact with them correctly.
Change-Id: I49e1ddf7b271946fd595ebfe2f4f2d0c8a535fdc
2016-06-18 17:01:55 +02:00
81071d8a87
tdf#89329: use shared_ptr for pImpl in helpopt
...
Change-Id: I9d3fa64405f70cfa942935eaae6cc520f172d70d
Reviewed-on: https://gerrit.libreoffice.org/26281
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-17 09:33:05 +00:00
2d2ef979c2
tdf#89329: use shared_ptr for pImpl in menuoptions
...
Change-Id: I93ece349dc15ea9af00c661ac34fed80a57ea3d2
Reviewed-on: https://gerrit.libreoffice.org/26318
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-16 06:53:57 +00:00
dad8d71f4a
tdf#89329: use shared_ptr for pImpl in toolpanelopt
...
Change-Id: I2035971f6633aed1389ffae5815c7000699b9735
Reviewed-on: https://gerrit.libreoffice.org/26279
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-16 06:53:06 +00:00
f698ddfeff
tdf#89329: use shared_ptr for pImpl in miscopt
...
Change-Id: I7c60116d4f14e1451e7b96568104baada01dfaca
Reviewed-on: https://gerrit.libreoffice.org/26330
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-16 06:40:55 +00:00
bdd67652b6
Try to get rid of svt::ContextMenuHelper
...
Change-Id: I7b43e417607b20c300e3c18e7da76a6173a18b7d
Reviewed-on: https://gerrit.libreoffice.org/26098
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com >
Tested-by: Jenkins <ci@libreoffice.org >
2016-06-09 12:53:43 +00:00
22fa9289fd
tdf#96099 Remove various smart pointer typedefs
...
Change-Id: I76843139e43ca1c158a977e24d210d5af93e4d0f
Reviewed-on: https://gerrit.libreoffice.org/26014
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-08 11:09:44 +00:00
4cad126dc1
split AddRemoveListener into two methods
...
Change-Id: I247dc8a9033b39d5e49dc06e725f638644fcd02d
2016-06-08 10:20:58 +02:00
80c874dc87
remove "object is disposed" warning in OBroadcastHelperVar::removeListener
...
doesn't add anything of value.
Change-Id: Ie2dea7c43570640284771c992d0072ab61de425e
Reviewed-on: https://gerrit.libreoffice.org/25871
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-08 06:40:25 +00:00
f30aa6e51f
tdf#97340 : Handle autofilter search for dates correctly
...
Change-Id: I5c8413d560789a626ea87eb28a89059960177f1f
Reviewed-on: https://gerrit.libreoffice.org/25850
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2016-06-07 08:41:58 +00:00
85a013ac3f
remove wrong comment
...
comment is there since initial commit cd3b0741a8f509f20c5b6deaa32f2158b315939d
but HIDESELECT is handled in svtools/source/brwbox/brwbox1.cxx
and used in chart2 and dbaccess
Change-Id: Idf0524f14a0f719b2287d234c912fef4fe24b7a3
Reviewed-on: https://gerrit.libreoffice.org/25762
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-02 07:29:56 +00:00
84d15d6e54
loplugin:unuseddefaultparams
...
Change-Id: I0fe173534dc2e70c3d507eae757a91e48a26acfc
Reviewed-on: https://gerrit.libreoffice.org/25757
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-02 06:32:25 +00:00
3aaa90c36c
tdf#89329: use unique_ptr for pImpl in toolbarmenu
...
Change-Id: I2adafe082bd83edc31777f11f66313a51fde7d81
Reviewed-on: https://gerrit.libreoffice.org/25478
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-01 06:48:31 +00:00
3d73258985
loplugin:unusedmethods
...
Change-Id: Ifeb818227a960cab8fd2e8e7352468efbfe1232c
Reviewed-on: https://gerrit.libreoffice.org/25668
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-31 06:28:41 +00:00
7417311fc0
Resolves: tdf#96279 set correct parents for password dialogs
...
otherwise on Dialog::Execute before it becomes visible and
a password dialog is needed the new dialog will automatically
look for a parent, but will be parented by the main window
because the dialog it should be a parent of is not visible
yet.
Change-Id: Ia34e43d7ef2b204b348f2eb5aab542ee8ffe840e
2016-05-26 17:07:18 +01:00
86d84ae4bb
tdf#89329: use unique_ptr for pImpl in transfer
...
Change-Id: Ia28a7bd63c8f3a06ef2fd508619bae3a31af450c
Reviewed-on: https://gerrit.libreoffice.org/25479
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 13:39:05 +00:00
74713b34a3
loplugin:unusedmethods
...
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda
Reviewed-on: https://gerrit.libreoffice.org/25431
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:50:33 +00:00
205863589d
tdf#89329: use unique_ptr for pImpl in addresstemplate
...
Change-Id: I3e2cac86101e8a82eefacbe937cf40139fa77090
Reviewed-on: https://gerrit.libreoffice.org/25473
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:45:55 +00:00
61a70fb509
tdf#89329: use unique_ptr for pImpl in hyperlabel
...
Change-Id: I697eb48591c53ba27c99fc86baa4b8b33e7c9fd1
Reviewed-on: https://gerrit.libreoffice.org/25474
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:45:12 +00:00
9a2bbaad26
tdf#89329: use unique_ptr for pImpl in roadmapwizard
...
Change-Id: I37c24d830ae702579fe14ecba627d7f1d363eef6
Reviewed-on: https://gerrit.libreoffice.org/25475
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:43:57 +00:00
832c9b7b91
tdf#89329: use unique_ptr for pImpl in svlbitm
...
Change-Id: If047546c953a5f3bf7af3f99fb7f9d604e0bdba8
Reviewed-on: https://gerrit.libreoffice.org/25476
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:43:21 +00:00
bb694dfef7
tdf#89329: use unique_ptr for pImpl in svtabbx
...
Change-Id: I40a826f6430532769590e6c34d8a98997127fc2e
Reviewed-on: https://gerrit.libreoffice.org/25477
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:42:43 +00:00
2ef6a52edd
tdf#89329: use unique_ptr for pImpl in treelistbox
...
Change-Id: I5ba1638c905893f62d6d24d7c88cbb66aaa7c786
Reviewed-on: https://gerrit.libreoffice.org/25480
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:42:10 +00:00
2c7a0652b8
tdf#89329: use unique_ptr for pImpl in wizardmachine
...
Change-Id: Ie29a95fb913a7141ad6789db236f12c73c283a58
Reviewed-on: https://gerrit.libreoffice.org/25481
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:40:09 +00:00
15fed4931e
tdf#89329: use unique_ptr for pImpl in fileview
...
Change-Id: Ief2fd163cc024b4a654a32c24cef832c68ad5e96
Reviewed-on: https://gerrit.libreoffice.org/25482
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:39:34 +00:00
c6e776e441
tdf#89329: use unique_ptr for pImpl in inettbc
...
Change-Id: I1205acb2823db95cc75c0b559581d278646b616a
Reviewed-on: https://gerrit.libreoffice.org/25484
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:37:21 +00:00
656f7c15c5
tdf#89329: use unique_ptr for pImpl in htmlcfg
...
Change-Id: Ic85c082f1e6f6934efbe2c0aa73ee4e5d48c58bf
Reviewed-on: https://gerrit.libreoffice.org/25483
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:36:43 +00:00
f1aa4c4e28
tdf#89329: use unique_ptr for pImpl in ivctrl
...
Change-Id: Idd525be5934e752c3bed5e2d79c36c2305b4441f
Reviewed-on: https://gerrit.libreoffice.org/25485
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-26 07:36:10 +00:00
9ff8c95e54
Convert SnapType to scoped enum
...
Change-Id: I3980c2999bab191bb9357c883868db17db79e81f
Reviewed-on: https://gerrit.libreoffice.org/25353
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-24 12:51:03 +00:00
a4e8419c8a
tdf#99211 Use the restart dialog for notifications about restart
...
Change-Id: I97a10cddafc464ccbdd37902c5d24b73246f5c3f
Reviewed-on: https://gerrit.libreoffice.org/24877
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2016-05-23 08:34:38 +00:00
84c7efb4ae
Convert DragMode to scoped enum
...
Change-Id: I68dafefc74bad355047738605defd97f3c6bebcd
Reviewed-on: https://gerrit.libreoffice.org/25209
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-22 17:53:24 +00:00
2c8fe2e737
update unusedmethods plugin to deal with constructors
...
and fix the operator< implementations in some of the other
plugins too.
Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-18 10:03:44 +00:00