Commit Graph

80 Commits

Author SHA1 Message Date
Stephan Bergmann
170012948c Clean up C-style casts from pointers to void
Change-Id: I544fc582d375d1e49f84309e722f669d734cf029
2015-03-28 19:09:19 +01:00
Tobias Madl
8f9b0c8692 Idle: Changed to new enum name
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06 12:27:10 +00:00
Tobias Madl
2d95bc0510 Idle: Removed VCL_IDLE_PRIORITY_ prefix of enum
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06 12:27:09 +00:00
Tobias Madl
826143684d Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-06 12:27:05 +00:00
Tobias Madl
50fdcff56a removed unused timeout defines
Change-Id: I1ebada7b06657e0ac294e60bca5d6dd5b45e9d04
2014-12-09 12:35:04 +00:00
Jennifer Liebel
d843f3de73 changed timers to idle
Change-Id: I92f40d3dad133347f1b8db0b025b624d3305f885
2014-12-09 12:34:58 +00:00
Caolán McNamara
d2f3c168fd coverity#1242900 Unused value
Change-Id: I4276f5dabedac97c0508aa7904473a4e20767e62
2014-11-14 12:02:44 +00:00
Palenik Mihály
f92ab4da51 Improve SvSimpleTable class
It is possible to order columns. This is set in Expert Configuration
dialog. The header's itembits weren't set correctly therefore mouse
click handler didn't do anything. The comparsion was slow on big
table.

Conflicts:
	include/svtools/treelist.hxx
	svtools/source/contnr/simptabl.cxx

Change-Id: I7e1301d40433ef45b3d0a3fb300909345ede9d4d
Reviewed-on: https://gerrit.libreoffice.org/12070
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2014-10-30 13:03:44 +00:00
Caolán McNamara
f49e6e8b60 coverity#1242834 Unused value
Change-Id: I2a68873d335f5efc27679c7bae619d942bbc5efe
2014-10-03 16:30:28 +01:00
Caolán McNamara
61a84259e6 coverity#1242871 Unused value
Change-Id: I1204b904b446c2ec3132064e89aa6f20c5523470
2014-10-03 16:30:27 +01:00
Caolán McNamara
01539155df coverity#1242900 Unused value
Change-Id: Ic556e9ca669af5d514ebe4d6bcff7bdc9271dc7a
2014-10-03 16:30:26 +01:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Caolán McNamara
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
Markus Mohrhard
549fd2d229 fix build
Change-Id: I770b941c065ca41541f27d01f78727d9d0e32a7e
2014-08-16 00:43:15 +02:00
Thomas Arnhold
0ad58a0a45 WarningBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String
As it's like RID_SVX_MSGBOX_LANGUAGE_RESTART

Change-Id: I49c68537c22b348dd165fd1cfb78b67d8f3f7c88
2014-08-15 23:30:32 +02:00
Thomas Arnhold
2f46431fd0 ErrorBoxes from optjava to String
Change-Id: Ia3e200277a8a47b62a1ecbc21d9a83ba35c7ef7e
2014-08-15 23:30:28 +02:00
Stephan Bergmann
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
Stephan Bergmann
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
Stephan Bergmann
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
Noel Grandin
bf30c8b16d use new VCL IsValueChangedFromSaved method
follow to commit ff1a7a5943
"RFC: add IsValueChangedFromSaved to VCL button and listbox"

Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08 14:55:12 +02:00
Tor Lillqvist
0156dd3c67 WaE: unused function 'areListsEqual' (in the --without-java case)
Change-Id: I74674a70ec3a2f6b610b2ea8b8b826879ace0931
2014-04-24 12:22:36 +03:00
Luboš Luňák
d58e34c823 make local function static
Change-Id: Id9dccb63e335fdd771eb92e446c19c0ce128f335
2014-04-23 19:32:30 +02:00
Noel Grandin
5b1b1e55ce cui: sal_Bool->bool
Change-Id: Ib7dd1f27d4909d30ee794936364a472a9755c609
2014-04-16 11:51:51 +02:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Noel Grandin
34002c4e5c sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-27 13:45:09 +02:00
Noel Grandin
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
Eike Rathke
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
973b47a336 unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
Stephan Bergmann
3d21cb27ac bool improvements
Change-Id: I63078dd1ac7119d2886d4183e7267eeff3365b87
2014-01-22 08:22:35 +01:00
Jan Holesovsky
0ef9ed2628 Expert config: Introduce configuration key to disable expert config.
It is /org.openoffice.Office.Common/Security/EnableExpertConfiguration with
values true/false; defaults to true.

Change-Id: I5a18d16182c28a13169677b11f68884f34c11c63
2013-12-13 13:01:27 +01:00
Efe Gürkan YALAMAN
dde6090b1a fdo#67642 Expert Config Page Moved to its own window
Expert Config Page moved SfxTabPage to ModalDialog. It has its own
window as requested on this bug. Double click works as edit button
now for better usability. Also Default button renamed as Reset button.

Change-Id: Ie4732860b9677a313697d5faa72109c8b16b9c2d
Reviewed-on: https://gerrit.libreoffice.org/6704
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20 06:54:54 -06:00
Andras Timar
a5b9d4fba2 xub_Strlen to sal_Int32
Change-Id: I5cf06c6d9648f8f447b7669edfab8436e6f948ab
2013-11-07 20:33:19 +01:00
Noel Grandin
3d65dfa3c9 convert xub_StrLen to sal_Int32
Converts code that calls comphelper::string::getTokenCount() to
use sal_Int32 to store the return value.

Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05 13:18:14 +02:00
Noel Grandin
ea2c80bdcd convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
2013-10-01 10:08:42 +02:00
Caolán McNamara
d023339c2f Turn sidebar back to non-experimental
This reverts commit 7ce2a89f4f.

Change-Id: I53f572777e84f66fd4c3d18fb686dac09095804a

revert d38cb53e3b

Change-Id: I5b243b69e50084316aaeab250d6b01079c12b718

Revert "sidebar: disable impress task pane if sidebar is enabled."

This reverts commit ee1726bfdb.

revert 54d820a781

Change-Id: Ie7c83d88f5427a7e42fa50879280a0c4a7c2cdd1

Revert "Only register and use the Sidebar if it is globally enabled."

This reverts commit 66a5cc468c.

Conflicts:
	sfx2/source/view/viewfrm.cxx

Change-Id: I17fe702996c4adf7f387573d36ea993f8cc32c96

Revert "disable sidebar menu option if it is disabled."

This reverts commit 05f0eb5761.

Revert "finally get the taskpane rendering again"

This reverts commit 228bb7ffe0.

Conflicts:
	officecfg/registry/data/org/openoffice/Office/Impress.xcu
	sd/source/ui/framework/factories/TaskPanelFactory.cxx
	sd/source/ui/framework/tools/FrameworkHelper.cxx

Change-Id: I248cc9a769695cde19e78774d42ce666dc685599

Revert "don't throw up the sidebar on start."

This reverts commit 645db9a2bd.

Conflicts:
	officecfg/registry/data/org/openoffice/Office/Views.xcu

Change-Id: I911859757e2e019836e8ed5213d2ba69ff82aec8

Revert "update to the right service name for new URLs."

This reverts commit 55f49970f4.

Conflicts:
	sd/source/ui/framework/tools/FrameworkHelper.cxx

Change-Id: I1ba2762a4c969a9125ff8354a9b6035813290021

Revert "tentatively restore more UNO / task-pane goo ..."

This reverts commit 052ac10a6f.

Conflicts:
	officecfg/registry/data/org/openoffice/Office/Impress.xcu

Change-Id: I7e62f27329af033df811549436718648a6447dea

Revert "more reverts, first cut at making sidebar optional."

This reverts commit a65a423e22.

Revert "add experimental option for sidebar to 'Advanced' pane."

This reverts commit 54d820a781.

Conflicts:
	cui/source/options/optjava.cxx
	sd/source/ui/framework/module/ImpressModule.cxx

Change-Id: I09a6c0f7834c8ef330d05a014505aaaf09ae096f

Revert "Restore FrameworkHelper taskpane URLs."

This reverts commit e9c2d5b26b.

more foo

Change-Id: I2eaa2fbd74dc7a2f7ba937d310472cee6b5a0b57

really go to town on it

Change-Id: I885dc03cd0286bbfdf05c05da9f0bbea2b78bcf4
2013-09-20 16:35:29 +01:00
Faisal M. Al-Otaibi
59ff29f825 Convert java start parameters dialog to .ui
Change-Id: Ib3aaeb751ae67c0ed4e444f6febd676ddd94f924
2013-09-09 14:41:10 +03:00
Caolán McNamara
0025012cbf we can ditch the manual button sizing now its .ui converted
Change-Id: I2c4b95ef170509d2adb4ebab3d7b3ed2d8362a26
2013-09-02 12:38:54 +01:00
Faisal M. Al-Otaibi
e10667a4c6 Convert java class path dialog to .ui
Change-Id: I358651b9104b1fd274e70c090d5d16215cd9fd10
2013-09-02 11:47:07 +03:00
Tor Lillqvist
08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Caolán McNamara
52bce8fadd convert versions of dialog to .ui
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-16 12:45:56 +01:00
Tor Lillqvist
0badc40070 WaE: private fields are not used
Change-Id: I6c649804b0c03d8ca265e71be50aaa735e8fbeb2
2013-05-31 16:57:07 +03:00
Caolán McNamara
7ce2a89f4f prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
2013-05-31 09:33:07 +01:00
Caolán McNamara
1d95129bdc show the 'java' options page when java disabled
because there are now a bunch of unrelated to java things in there in its new
incarnation as the "advanced" tabpage

this removes the weird empty tabpage in options
in the java-disabled-at-build-time configuration

Change-Id: Ie59d8362d440c41e746b67a0195e4159848f162a
2013-05-24 15:24:48 +01:00
Michael Meeks
54d820a781 add experimental option for sidebar to 'Advanced' pane. 2013-05-20 11:33:37 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
elixir
7d1f4cdec3 fdo#38838: Converting String/UniString to OUString
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9
Reviewed-on: https://gerrit.libreoffice.org/2586
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11 15:50:44 +00:00
Caolán McNamara
4895dd454c add borders to simpletablecontainer
Change-Id: I9215516c21ce1330cf1fef07cbd647a1c318e241
2013-02-11 11:13:36 +00:00
Caolán McNamara
0aa5b4398e move java options page .ui to cui and adapt code
Change-Id: I481a4bbe06a5d0b3fb8701181d49d84d628fdd32
2013-02-08 10:51:11 +00:00
Stephan Bergmann
872d76228f Introduce a Restart dialog that allows to automatically restart LO
...instead of just telling the user to restart manually.

The one existing dialog (duplicated into svtools and cui) that got replaced by
this is the dialog asking to restart when the choice of JVM changed.  There are
more similar dialogs that would benefit from replacing them, like
RID_SVX_MSGBOX_OPTIONS_RESTART (cui/source/options/optjava.src), but that one is
called when closing a dialog nested within the Options dialog, and calling
OfficeRestartManger.requestRestart in such a nested situation still leads to a
crash.

The design idea is that when more similar dialogs are replaced, restartdialog.ui
contains a list of hidden GtkLables with the appropriate prose why a restart is
required in the given case, and restartdialog.hxx's RestartReason enum contains
corresponding values that will show exactly one of those GtkLables.

The new svtools/uiconfig/ui/restartdialog.ui is probably still pretty rough and
could benefit from some UX love.

Change-Id: Id939188ee22f24301a8a3598b83afb31339bded5
2012-11-27 12:51:39 +01:00