Commit Graph

2476 Commits

Author SHA1 Message Date
2ec55fd6a1 Related fdo#82088: removing namespace alias in hxx
Change-Id: Iaf455e8361653bc1262cda3bccc2e798b3c60580
Reviewed-on: https://gerrit.libreoffice.org/11225
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-02 04:01:27 -05:00
880c18f230 Resolves fdo#83278: Missing type of directory at "Tools/Options/LODev/Paths"
Revert "remove unused optpath.src"

This reverts commit b11d0a4d2b3b65a9ca06fd1de4ec4502eef2baa9.

Change-Id: I9c5f8c15b36c38e94603186cb9d2bb316bf31674
2014-08-31 01:06:43 +02:00
e0c2ea6bde Consistency around SdrMetricItem in svx/sderitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I4a0715b18bc3aa032779252cad2450c905a467a4
2014-08-25 17:25:40 +02:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
f4246fab77 fdo#56456 fdo#75578 fdo#63271 fdo#75805 Improve hyperlink dialog
Changes made:

* Rename "Back" to "Reset" like in other dialogs (eg. Writer - Format - Character).
* Apply-Button, which reflects the old behavior of the dialog, and doesn't
  close it automatically.
* Added an OK-Button, which applies the changes made and automatically closes the
  dialog.

With this both use cases should be handled:

* Inserting one single URI with simple close.
* Modifying multiple URIs without closing the dialog.

Hopefully all users are happy with this ;)

Change-Id: I1881dee083945cd165fbb8f8444395c1b04a0607
Reviewed-on: https://gerrit.libreoffice.org/10946
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:33:06 -05:00
8b62a475f7 QueryBox RID_SFXQB_SET_LANGUAGE -> MessageDialog + string
Change-Id: Ic1b5233563ff9ce3e3453b47fe86138ae2497a18
2014-08-21 14:07:55 +01:00
566e6fe58e QueryBox RID_SVXQB_DELETE_COLOR_CONFIG -> MessageDialog + string
Change-Id: I3ae71cf2fd4a8cf0db76845c60f633285bd00e27
2014-08-21 14:07:54 +01:00
d27cdf1caf QueryBox QUERY_DELETE_CONFIRM -> MessageDialog + string
Change-Id: Ieae9977fd77f7b28991771a31c18e15be4a4f0dd
2014-08-21 14:07:54 +01:00
8fce2ef6c3 QueryBox QBX_CONFIRM_RESTORE_DEFAULT -> MessageDialog + string
Change-Id: I93911342a316beaba0d33b35bda1bfa4355befe2
2014-08-21 14:07:54 +01:00
24e76b6506 QueryBox QBX_CONFIRM_DELETE_TOOLBAR -> MessageDialog + string
Change-Id: If03a966ab6519d1335903b7d76cb44c38113a4a3
2014-08-21 10:17:48 +01:00
ac57362b23 Typo: and->end
Change-Id: I8c3707dbf537261d7ed9a69807fc1bdeae851526
2014-08-21 07:33:38 +02:00
69d673b1ae dangling unused .ui file
Change-Id: Ifc1968e5474c7f252960d4b790d6f01db29cab8a
2014-08-19 16:39:53 +01:00
759f5d24b0 Consistency around XColorItem in svx/sdshcitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
2014-08-18 18:18:08 +02:00
69dd9c669a Consistency around SdrPercentItem in svx/sdshtitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I4e98c362f811c19f03766d0c78f10c795d3ac79d
2014-08-18 17:38:08 +02:00
08edafa656 Consistency around SdrOnOffItem in svx/sdtcfitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
2014-08-18 14:56:55 +02:00
839cc63e7d prevent out-of-bounds string access
... while entering a   *   star symbol format code and there's no fill
character following the * yet.

Change-Id: I006f125ceefccba6a95ea033fd434d98e5d4f1c2
2014-08-18 14:50:16 +02:00
d21d5a7261 drop unnecessary shl.hxx includes
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18 12:59:49 +01:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
a51c423743 Consistency around SdrMetricItem in svx/sdsxyitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
2014-08-18 10:55:36 +02:00
bf6c743fb6 various unused QueryBoxes
Change-Id: I6ce6aa7cc4420bf8f82a578b7985e795c99e0898
2014-08-18 04:16:57 +02:00
06a485f02b InfoBox IBX_MNUCFG_ALREADY_INCLUDED to String
Change-Id: I343948a9a5e093f210cae1049caa92eeb614a2d7
2014-08-18 02:18:20 +02:00
1401c11145 fdo#72333 Changed [T] description to reduce confusion.
As described in the bug report, removed Autoformat as it was creating
confusion.

Change-Id: Ia22ba529bd3cfa08fe86de4ba7947baef94f4061
Reviewed-on: https://gerrit.libreoffice.org/10953
Reviewed-by: Cor Nouws <oolst@nouenoff.nl>
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2014-08-17 16:14:06 -05:00
4376c524a3 remove unused strings
Change-Id: I1665bb72203964be071835547c50440f86e1761d
2014-08-17 13:42:27 +02:00
b11d0a4d2b remove unused optpath.src
all definitions are not used and the file is never included.

Change-Id: If88fab7843122bf6b5649808ea16c5fe0cc30b12
2014-08-17 13:42:26 +02:00
47e2fd0dc8 Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16 21:52:32 +02:00
384cb5ff7b Consistently use size_t and SAL_MAX_SIZE
Instead of a mix of sal_uIntPtr, sal_uLong, int, and so on.
Also change CONTAINER_ENTRY_NOTFOUND=ULONG_MAX to SAL_MAX_SIZE as
return value in case of failure and in the related tests.

Change-Id: Ie778a849253b4be84fbcdab9557b7c4240233927
2014-08-16 21:52:28 +02:00
549fd2d229 fix build
Change-Id: I770b941c065ca41541f27d01f78727d9d0e32a7e
2014-08-16 00:43:15 +02:00
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
18f3a1a71d InfoBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String
Change-Id: Ideeb3ae8aa6493fc2d2a761d46f95baf0158c6e8
2014-08-15 23:30:31 +02:00
2f46431fd0 ErrorBoxes from optjava to String
Change-Id: Ia3e200277a8a47b62a1ecbc21d9a83ba35c7ef7e
2014-08-15 23:30:28 +02:00
dd97e42661 ErrorBoxes from fmsearch to String
Change-Id: I0c2d12a79e8af2125c3aad7f0a6cb873ce3b4d2c
2014-08-15 23:30:27 +02:00
b64d7c9ecc remove unused RID_SVXERR_OPT_DOUBLEPATHS
Change-Id: I08cf8a3ecfa181fafe03e27fdbe0c43739bd4ad3
2014-08-15 23:30:26 +02:00
18b0e91e6c ErrorBox RID_SVXERR_OPT_PROXYPORTS to String
Change-Id: I1ab70b37d54c11023c161f76363a36acad78de62
2014-08-15 23:30:26 +02:00
2e3d7c742a fdo#48110 disable the "Automatically" currency unless already used
This disables the "Automatically" currency listbox entry in the number
formats dialog and makes it unselectable, unless such currency format
was already used at the current position of a loaded document.

Getting completely rid of the listbox entry if not used is more
cumbersome as the positions are tied to the list entries in
SvxNumberFormatShell::aCurCurrencyList, but at least the disabled entry
prevents accidental or ill intended selection of that awkward format.

Change-Id: I16f3e88feede34e3f83afb108f253fb53d82d34d
2014-08-15 22:58:43 +02:00
24454779e9 HIG-ization of latest Persona search dialog
Fix some HIG issues with latest Persona search dialog
* frames to compartimentalize options
* wording of text
* status messages just above dialog buttons

Change-Id: I28d066e117cf1a49f2690ea44f5caca9cab9dd7d
Reviewed-on: https://gerrit.libreoffice.org/10936
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-15 14:37:47 -05:00
b5688eb152 Replaced %1's with URL's to make the errors more descriptive.
Change-Id: I441085a7704eb3464e13723d8dc2ee1df833bd46
Reviewed-on: https://gerrit.libreoffice.org/10931
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-08-15 04:08:40 -05:00
5180edb7f2 WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: Ib2154a93192aa8342660b309f5307c1cb443063c
2014-08-15 02:26:53 +03:00
a6fc653bbf personas: Added a TODO FIXME wrt. ssl negotiation.
Change-Id: I5f5889b6e63e8e6763abc39690adb78d48929783
2014-08-14 19:44:47 +02:00
f4003ccbe4 personas: Better default searches, improved error messaging.
Change-Id: I0a1303f5864516efbf69e7a0227f17e43aea4af7
2014-08-14 19:43:34 +02:00
5a23c290b5 Removed hardcoded strings.
Replaced the hardcoded strings with their CUI_RES equivalents.

Change-Id: I1f4e0451839cd9fe10aa9d1c5ae82af9fa13dc4e
2014-08-14 19:43:34 +02:00
3fcd1064b3 Changed Select Persona Dialog.
The result buttons are visible initially but are disabled. These get
enabled when the results are available.

A little code clean up.

Change-Id: I6217d59220d871909bd001a6c7f3636b05cdf911
2014-08-14 19:43:33 +02:00
53162944da Added title to the Select Persona Dialog.
Change-Id: Ia54e94c84e71fb794e7dec67f89306a5dd465f68
2014-08-14 19:43:33 +02:00
01153faccf Fixed crash when cancel is clicked without searching.
Change-Id: I67ca901270874794ec55d5b7db2cd18e6d3a997d
2014-08-14 19:43:33 +02:00
e372d28cbd Fixed thread related issues.
Added a data member m_bExecute which defaults to true but is set to
false when StopExecution is called. During execution, the member's value
is checked at various positions, if it is false, the execution is stopped
by returning from the execute method.

Following issues have been resolved:

* Multiple searches can be performed. The previous search is halted.
* Cancel button can be pressed in between any search or application of
  the persona.
* A theme can be selected and applied by clicking on OK while the search
  is being done.

Change-Id: Ic76c224ca0d317a6e1a44b3e8933a3ba50b371cb
2014-08-14 19:43:32 +02:00
95771f49f0 The "Select personas installed via extensions" label is invisible by default.
The label is not shown if there are no persona extensions installed.

Change-Id: I758bb7ff7f22d56bfb7fe212908f9f5f1f3e7979
2014-08-14 19:43:32 +02:00
d64f6d2087 Improved UI: Large buttons are not shown.
* In the Personalization Tab Page, the button sizes are not affected
  by the presence of the preview buttons. THey remain their original
  size.
* Added some padding and spacing to avoid cluttering of the widgets.

Change-Id: Iea919b9fbfce4a7bfc82f73ccb49f94aa10ec804
2014-08-14 19:43:32 +02:00
9160e57847 Minor fix: Own persona selected when user selects installed persona.
Change-Id: I5ecd9e3b4a9b878cf5aeb2ccce2e51b45ce9a70a
2014-08-14 19:43:31 +02:00
e653a1fd2d Changed Personas installed through extensions procedure.
The UI now consists of a TreeView that lists all the personas that were
installed through extensions. When the user selects any name from the
list, the preview is shown in a button besides the list.

If there are no extensions installed, the list stays hidden.

Change-Id: I030d99549fd5b15d1104224116257ad62cdd1891
2014-08-14 19:43:31 +02:00
5bed7be540 Moved the personas installed through extensions handling to 'own'.
Change-Id: I12baaf22bfad73e228d3ed55dcf365f8eba9cf0a
2014-08-14 19:43:30 +02:00
7b57ab7a98 Fixed Bug: Persona info is deleted if No Persona is selected.
If the user selects 'Plain look..' and clicks OK, the previous persona
information is removed from the registry so that if the user selects either
of the other option and clicks OK, the previous theme is not applied.

Change-Id: I5f6a707e5f2724d2a3c39965d155cf47c898d392
2014-08-14 19:43:30 +02:00