Rishabh Kumar
da4c58551c
[GSoC] Redesign of Gradient tab
...
1. New Gradient Listbox for presets.
2. Context menu for rename and delete.
3. Rearrangement of controls.
4. Remove Save and Load buttons.
Change-Id: Id6aa0daa7c9304bb6a383ce0db95a4a7a060695e
Reviewed-on: https://gerrit.libreoffice.org/26954
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2016-07-19 18:21:50 +00:00
Noel Grandin
36313d93ac
improve unnecessaryoverride plugin
...
to ignore ImplicitCastExpr when calling superclass method
Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1
Reviewed-on: https://gerrit.libreoffice.org/27279
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-19 05:39:46 +00:00
Caolán McNamara
f11e85dd4f
'as well' seems redundant to me
...
Change-Id: Ic9ae043fcd9c517973d5fcf7eeff7a77c1d66664
2016-07-18 16:14:40 +01:00
Caolán McNamara
ea3f74ba0a
Resolves: tdf#99963 line wrap very long checkbox content
...
Change-Id: I11ab52b8c6600d5d479ac3d4d2cd78d1957d8676
2016-07-18 16:12:40 +01:00
Stephan Bergmann
a268011a6f
-fsanitize=signed-integer-overflow
...
Change-Id: I1a79d34dd25073de46bda47af1789fd7e69fe648
2016-07-18 14:46:38 +02:00
Caolán McNamara
25ab24b4c4
Resolves: tdf#100896 crash in hyperlink dialog
...
regression from...
commit 98747742b2
Author: Noel Grandin <noel@peralex.com >
Date: Fri Jun 24 13:12:25 2016 +0200
loplugin:singlevalfields in cui
which cut too deep
Change-Id: I0e42eed48196c9e037ba343eea93c2c854c0991c
2016-07-18 09:00:06 +01:00
Caolán McNamara
1bc9a5a909
odd SvxBitmapCtl is used in only one place
...
Change-Id: I82a4c8f2e36153b0bc59571ce39956637e278fcb
2016-07-18 09:00:06 +01:00
Caolán McNamara
76258ecb71
SvxBitmapCtl::nLines is never read
...
Change-Id: Ib03eb766b1f45247204e64543dbf80c24f8608c7
2016-07-18 09:00:06 +01:00
Noel Grandin
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
Rishabh Kumar
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
Stephan Bergmann
8b04b9f465
Remove wrong, needless downcast
...
...from SaveInData (which has a virtual dtor) to MenuSaveInData, while the data
could also be ContextMenuSaveInData (not derived from MenuSavaInData).
Change-Id: I4928fa97ed7738516699f8e57f354ef0f334c4f1
2016-07-13 17:56:18 +02:00
Markus Mohrhard
4ebbb996ac
make sure that the thread has joined before disposing UI elements
...
See e.g.
http://crashreport.libreoffice.org/stats/crash_details/80884848-16e7-4512-be4a-74c53bfce34b#allthreads
The thread can run while the UI elements have already been disposed. The
StopExecute call is not enough to prevent that from happening.
Change-Id: Iab4209776e1403a6520c106f3521476ee50848a4
Reviewed-on: https://gerrit.libreoffice.org/27087
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-07-13 09:23:04 +00:00
Noel Grandin
cba5a9223a
no need to create temporary OUString for comparison
...
Change-Id: I0a321e8ffbe379588a288084ec2e74e1a8c296b2
Reviewed-on: https://gerrit.libreoffice.org/27171
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-13 08:20:40 +00:00
Mark Page
f7b1cd6616
Moved SfxModule owner to SfxApplication
...
::GetAppData replaced with SfxApplication::GetModule
that now returns SfxModule*
SfxModule no longer registers self for ownership
instead it is now registered using SfxApplication::SetModule
Change-Id: Ifbbe1b2b4c5122da8e643b7926d47878d116c6c8
Reviewed-on: https://gerrit.libreoffice.org/26914
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-13 06:32:46 +00:00
Noel Grandin
3fa31e2248
removed deprecated FileDialogHelper::SetDisplayDirectory
...
and convert usage of it
Change-Id: I2e3a71ec94492e5482bdf720d256e67adaf3f095
Reviewed-on: https://gerrit.libreoffice.org/26951
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-11 07:31:26 +00:00
Markus Mohrhard
60362e62ad
rename variable to reflect that it is not a reference
...
Change-Id: Ifcc15e2a500bdc77dd21e96eea3873c3e78e7e55
Reviewed-on: https://gerrit.libreoffice.org/27086
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-07-11 05:28:14 +00:00
Stephan Bergmann
435be8e8e1
Remove redundant SvxGet* wrappers around LinguMgr functions
...
Change-Id: Ic431ce4880d0c1277ddb411ca59b3c8e8ca36518
2016-07-10 22:08:12 +02:00
Caolán McNamara
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
Stephan Bergmann
aae1018af6
SvxGetOrCreatePosDic parameter is unused
...
...ever since fd069bee7e
"initial import", so kill
the equally old "TODO: remove argument or provide SvxGetIgnoreAllList with the
same one" comment for good now
Change-Id: Ie7b64306b8d06fc72d0bb49cc1e5fa3b00f59d6b
2016-07-08 18:20:39 +02:00
Stephan Bergmann
45755853b8
loplugin:redundantcast: redundant static_casts in cui
...
Change-Id: I97385a4fade4794f5aebd0b65eaf4c92ed06bd66
2016-07-08 16:47:31 +02:00
Susobhan Ghosh
af69de6344
Use PageNumberListBox in cui
...
Change-Id: Id7e71ade1946b5f33701a71073f1cc5a7870af6a
Reviewed-on: https://gerrit.libreoffice.org/26564
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de >
2016-07-08 14:09:01 +00:00
Stephan Bergmann
269a888905
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
...
Change-Id: I51957af512cae8ec838fd9b14bd576356edd2611
2016-07-07 18:59:55 +02:00
Rishabh Kumar
c56974019c
Reload the preset list after deletion
...
ValueSet assign Ids to entries when the list is loaded.
Ids are not changed after deleting entries.
Change-Id: Ia4442992561bf2cd82ff325abef8e34715851e1d
Reviewed-on: https://gerrit.libreoffice.org/26986
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in >
2016-07-06 22:01:26 +00:00
Rishabh Kumar
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
Noel Grandin
724e6762a5
loplugin:vclwidgets
...
Change-Id: Id276128a249aeac98ac3374b975bf1cd946d5aa7
2016-07-06 09:38:36 +02:00
Noel Grandin
716844c6ab
restore loplugin:vclwidget checking for calling clear() on VclPtr fields
...
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405
Reviewed-on: https://gerrit.libreoffice.org/26806
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-06 06:38:30 +00:00
Noel Grandin
2a23d9cc4d
when disposing popup menus, don't leave dangling pointers
...
Change-Id: Ia1b49937ba0693a567097367b99b75a3011666bf
Reviewed-on: https://gerrit.libreoffice.org/26960
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
Tested-by: Michael Meeks <michael.meeks@collabora.com >
2016-07-05 21:04:15 +00:00
Michael Meeks
adc3932dfc
cui: add calculation mode to Help->About.
...
Change-Id: I4765436bed8a58c5097afcf7dce768d3ec325015
Reviewed-on: https://gerrit.libreoffice.org/26964
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2016-07-05 20:40:20 +00:00
Caolán McNamara
3bbc0574d7
Resolves: rhbz#1352835 path options doesn't promptly destroy folder picker
...
Change-Id: I5133f63fd92f384221fa2812c6e2a0e7f3b37ac1
2016-07-05 10:17:22 +01:00
Noel Grandin
7855ea4830
remove comphelper::string::remove
...
and replace it with OUString/OString::replaceAll
Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a
Reviewed-on: https://gerrit.libreoffice.org/26850
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-07-04 06:49:52 +00:00
Noel Grandin
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
Otto Kekäläinen
428e23f4f7
Fix some spelling errors in comments and strings
...
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e
Reviewed-on: https://gerrit.libreoffice.org/26883
Reviewed-by: jan iversen <jani@documentfoundation.org >
Tested-by: jan iversen <jani@documentfoundation.org >
2016-07-04 06:11:36 +00:00
Arnold Dumas
68900bad94
tdf#57950: Replace chained OUStringBuffer::append() with operator+
...
Change-Id: I5e6cb493a5e742232cd312014d4b5b2820cf8314
Reviewed-on: https://gerrit.libreoffice.org/26878
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-07-03 15:48:42 +00:00
Rishabh Kumar
527b88efbd
tdf#100728: Crash when area dialog is opened
...
Change-Id: I2246c5bf3a1d33e7a08fa9062e568a4c95fef571
Reviewed-on: https://gerrit.libreoffice.org/26875
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in >
2016-07-02 20:34:35 +00:00
Michael Meeks
ef47ce2397
tdf#90336 - further cleanup of OpenCL options page.
...
Still problematic; since we only show OpenCL as being available
if it has already been initialized and used.
Change-Id: I5e82a3f778f4f2025408330b6d9da51402d01e79
Reviewed-on: https://gerrit.libreoffice.org/26866
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2016-07-01 19:02:57 +00:00
Rishabh Kumar
a2c09913d8
Remove unused controls in Pattern tab
...
Change-Id: Ie53dbbe652413c1ce098d1690d68ae8acc491ca4
Reviewed-on: https://gerrit.libreoffice.org/26858
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in >
2016-07-01 16:15:16 +00:00
Samuel Mehrbrodt
e4532e9d14
Mention that this is about *toolbar* icon size
...
Change-Id: Id48edf2677d6adc31983ca21e248447af9a58a23
Reviewed-on: https://gerrit.libreoffice.org/26859
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2016-07-01 15:13:18 +00:00
Szymon Kłos
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
Rishabh Kumar
4fbd96f6b3
Minor changes for Pattern tab
...
Change-Id: Ibc10b24c2367fd7a6ca068ee61fd4098d2f66bdb
Reviewed-on: https://gerrit.libreoffice.org/26825
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in >
2016-06-30 18:15:40 +00:00
Stephan Bergmann
8775290658
loplugin:staticmethods
...
Change-Id: I506f1e79a7500ab79dd0f199150949face091931
2016-06-29 20:50:28 +02:00
JBurant
c58ef7f108
tdf#90336, make it visible in options, if openCL will be used
...
I tried to hide the black and white list settings and
to add the info, whether OpenCL will be used.
Change-Id: Ida7d34078bdb6fc2597376a61138cf9ec0c8eeaa
Reviewed-on: https://gerrit.libreoffice.org/23847
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2016-06-29 17:06:02 +00:00
Laurent Balland-Poirier
9724eaa94e
tdf#100413 Use same default values for preview string and format list
...
Add specific default values for:
- scientific: to distinguish engineering notation
- fraction: to have quarter format understandable
Change-Id: I73b74713a4bc502e9967b8d2c9983cfc6244912e
Reviewed-on: https://gerrit.libreoffice.org/26391
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2016-06-29 09:46:20 +00:00
Muhammet Kara
541fcc978d
Move accessibility relations to .ui files, Part 12: tdf#87026
...
By removing unnecessary variables/strings/function calls,
and making proper changes in the related .ui files.
As of this commit, all accessible relations have been
moved to .ui files other than a few exceptions.
Change-Id: Ic9dffdde414d245c13f13ee08543f90884991222
Reviewed-on: https://gerrit.libreoffice.org/26707
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2016-06-29 09:17:53 +00:00
Rishabh Kumar
76585ae33f
Convert Bitmap tab to Pattern tab
...
Change-Id: I5cf02f1889090539f7adb826483c91a1ef3c3925
Reviewed-on: https://gerrit.libreoffice.org/26015
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de >
2016-06-28 19:37:44 +00:00
Tor Lillqvist
e7ca62bbd4
tdf#100222: Show the dialog just once even if both toggles were changed
...
Change-Id: If6058d68f80ebc3e235f0a681cfe3240985e2429
2016-06-27 10:29:48 +03:00
Noel Grandin
98747742b2
loplugin:singlevalfields in cui
...
Change-Id: Iead1e3130779566661eccf91556816724afcaa66
Reviewed-on: https://gerrit.libreoffice.org/26635
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-06-27 05:18:44 +00:00
Caolán McNamara
2184b08dd1
Resolves: tdf#100619 vclptr assert with menu set to menubutton
...
Change-Id: I2e621567e3bbc01d6f52844014dba9e46fe79f41
2016-06-26 21:03:09 +01:00
Tor Lillqvist
c7c27b9b19
tdf#100222: Inform user that a restart is needed after toggling OpenCL use
...
Change-Id: Ic33cb02440276bc0601c86f2c9eab7d74a6b9874
2016-06-23 17:46:35 +03:00
Noel Grandin
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
Miklos Vajna
eb0fb156e4
cui: fix loplugin:passstuffbyref warnings
...
Change-Id: Ic756db3decb4b4bfde345bc0adc092907622287e
2016-06-17 16:14:28 +02:00