Commit Graph

2849 Commits

Author SHA1 Message Date
01ef12d173 Related: rhbz#1289394 always provide the screen area the tip applies to
this will make it easier to implement native help tips

Change-Id: I984dfadaf02e9b7bf542ba82cf070911c89cb699
2015-12-14 14:36:09 +00:00
17df8859ea Use scoped pointers to hold dialogs
assigning a component or a script to a dialog control should not results in a crash in
dbgutil-enabled build

Change-Id: I06d11d8d51d0fe8d1b2a7217c51c1dfc8d3f8c97
Reviewed-on: https://gerrit.libreoffice.org/20695
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-12-14 10:27:00 +00:00
9e820dc8e6 Get rid of this env. variable
Change-Id: I70222eaef9ab77f74bd7e200a3c4e849dcc4542f
2015-12-13 11:08:41 +02:00
52856b6ea7 Update hardware/OS info in About dialog
Change-Id: I2c70e88cfa2663d0b3db48c309d7cf1630bbddbd
Reviewed-on: https://gerrit.libreoffice.org/20632
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-11 12:20:14 +00:00
e5246a6b67 tdf#96382: background color is not applied unintentionally
background color attribute should only be applied in a dialog
if the user selects it

Change-Id: Idf03840f7332a8cdbbfd616ce47ac26b3602d840
Reviewed-on: https://gerrit.libreoffice.org/20592
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-11 06:42:20 +00:00
9e84157a7a stray fprintf
Change-Id: If3665f573b2c4ec9e87646af0afcd2ba9c5a4f1c
2015-12-09 17:21:27 +00:00
eb38493c41 Resolves: tdf#86845 hyperlink details not retained between tabs
Change-Id: Ib6c1df4a97598c156b10b1730debb078e362e0d2
2015-12-09 17:15:10 +00:00
ff39b78d74 unnecessary nResId argument
Change-Id: Id7d3df1af42cbe7b4f951c335063d26b59e7bc10
2015-12-09 11:35:44 +00:00
4754afddc3 Use unique_ptr out-arg to in SfxBindings::QueryState to avoid mem leaks
Change-Id: I35df02de675068478a36ef05266ffc2d3054b07f
Reviewed-on: https://gerrit.libreoffice.org/20477
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-09 07:16:34 +00:00
da150e5e30 fix build, don't pass int as sal_uInt16, tdf#34449 follow-up
Change-Id: Ia813b4d4296235f273c826444fcce3e9217cdee7
2015-12-07 19:46:02 +01:00
2e512174f2 tdf#34449 : ability of deleting borders of a cell from adjacent cell
Change-Id: Ieb13a9ea88faa220d1ee352b0e47268a7fda5f38
Reviewed-on: https://gerrit.libreoffice.org/19715
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-12-07 13:49:53 +00:00
2cd9ecd864 SvxMenuConfigPage: Disable controls when no menus found
We reuse this page for context menus, but not all modules
have context menus. This is the same behavior now as in
the toolbars page (but ideally we shouldn't show those
pages at all in such case).

Change-Id: I66e308400d50934044179f07709c371578db8c39
2015-12-07 00:47:26 +02:00
e6721d2d17 uno::Sequence->std::vector in SfxIntegerListItem
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
2015-12-03 13:57:23 +02:00
bd8a89f208 sc interpreter: Don't hide S/W Interpreter behind an environment variable.
Instead provide a user setting that can be enabled so that the S/W Interpreter
is used on a subset of the operations.  The operations for which it is used
are controlled by a whitelist in ScCalcConfig::setOpenCLConfigToDefault().

Change-Id: I7d3f3a864fcb1231e5484ec23961f14fca1466c5
2015-12-01 16:40:44 +01:00
ec3f724158 loplugin:unusedfields
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-30 10:34:38 +02:00
a508f639a0 mark UNO structs as SAL_WARN_UNUSED, where possible
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-26 13:26:25 +02:00
11f1029be5 assign macro dialog: correct event name "errorOccured"
"errorOccured" is an English spelling mistake, but is the
name of the event, which cannot / should not be changed for
backwards compatibility reasons.

Spelling was boguously "corrected" in:

  commit 60a9b5172bcbd90b5764125b76279c189dd5563c
  Author: Takeshi Abe <tabe@fixedpoint.jp>
  Date:   Sat Dec 4 12:56:38 2010 +0900

      Replace all occured, occurance etc.

This was leading to impossibility of assigning a macro
to that event, since it was not appearing in this dialog.

Change-Id: Ib0373501cba8af8f4abb1c62faddf8d65c926a7e
2015-11-25 16:26:24 +01:00
1f86864e97 loplugin:unusedfields various
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-25 13:57:29 +02:00
a4af308d90 loplugin:unusedfields in include/svx
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25 08:25:10 +02:00
56a9594649 Update-check, expand to allow reporting of H/W and OS versions.
Off by default.
Expand config options to show the user agent used.
Re-use this to show more useful info in Help->About too.

Change-Id: I1044116ef9beeb341a537c0f4451dca54e198f67
Reviewed-on: https://gerrit.libreoffice.org/20098
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-23 11:18:08 +00:00
216879f1ed loplugin:unusedfields in cui
Change-Id: I92d7c3e2dde0808304ee3877ba1fbd13ee63eb38
2015-11-20 13:04:26 +02:00
2554efabb6 use comphelper::containerToSequence
in chart2, we remove a local equivalent of the method

Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-19 09:33:29 +02:00
53f16c39f5 remove unused typedefs and inline use-once typedefs
and improve the script a little

Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84
Reviewed-on: https://gerrit.libreoffice.org/20033
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-18 10:38:08 +00:00
1b9956c2b1 tdf#34882 Adding hex and decimal code search
Change-Id: I809bac4b28e679c7dad8ed3ad28e36379bce4760
2015-11-17 16:19:20 +02:00
96c26b0d9d use initialiser for Sequence<OUString>
using variations of:
git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\;
\s*OUString\* pArray.*;
.*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g"

Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3
Reviewed-on: https://gerrit.libreoffice.org/19971
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15 12:20:39 +00:00
25aec383f9 use initialiser for Sequence<OUString>
replaced using:
git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)'
| xargs perl -0777 -pi -e
"s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\);
.*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g"

Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9
Reviewed-on: https://gerrit.libreoffice.org/19969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15 12:18:55 +00:00
54d22957bc use initialiser for Sequence<OUString>
performed using:
git grep -lP 'Sequence.*OUString.*\(1\)'
| xargs perl -0777 -pi -e
  "s/Sequence<OUString> (\w+)\(1\);
.*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g"

Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f
Reviewed-on: https://gerrit.libreoffice.org/19968
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15 11:31:23 +00:00
8e234c5b7d use initialiser syntax for Sequence<OUString>
replaced using the script:

git grep -lP 'Sequence.*OUString.*\(1\)'
  | xargs perl -0777 -pi
    -e "s/Sequence< OUString > (\w+)\(1\);
.*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g"

Change-Id: I23688a91562051a8eed11fc2a85599545c285c34
Reviewed-on: https://gerrit.libreoffice.org/19967
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15 10:13:08 +00:00
d5c28d2616 cui: loplugin:override
Change-Id: I5a14762a64e88aae67d10d0a6ef80d38bb26320a
2015-11-13 13:37:25 +01:00
9c7d3345b0 clear VclPtr warning
Change-Id: I13f08989034a656bc6f0ae6b556272802f4b8fc2
2015-11-13 12:20:27 +00:00
de0a391137 Related: tdf#95682 set edit to modified after insert symbol/paste
Change-Id: If5892931649bde3d1fc00c0e5817149d0623cb1e
2015-11-13 11:30:45 +00:00
b08b76774f Resolves: tdf#95682 spell dialog: add a button to open special character
Change-Id: I0d070dee9e940b93b294c6b2de180005a5c2248e
2015-11-13 10:17:26 +00:00
98785dbb95 fix tdf#95689 - List indent is broken
caused by my commit e85b2333bce7b1dcae73861df6d90b48b9f4efe5
"convert Link<> to typed"

Change-Id: Ieeb9e6fa5d5be3789ea70549e85d4bd3ffd51e59
2015-11-12 12:29:26 +02:00
318c3a48c6 tdf#93837 Support nice UI names for context menus
Can be configured in various *WindowState.xcu files,
like toolbars.

Change-Id: I55a827344f03b31491cb793b9b211b59ff92287c
2015-11-11 22:48:51 +02:00
c65e00d908 tdf#93837 Make customization actually work
Change-Id: I004c9ad3a7d389228b9bb532a1b2c5d6294f7e42
2015-11-11 15:43:36 +02:00
899453aa84 tdf#93837 Add context menu customization UI
Depends on env. variable for now. Nothing to
customize yet anyway.

Change-Id: I70edd33b51d931632fac454684d6c22906a727fe
2015-11-11 15:43:35 +02:00
fa91dd31f3 5th step to remove tools/rtti.hxx
tools/rtti.hxx removed
completed the interface of some Sdr.*  Items
and removed pseudo items

Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11 10:49:30 +00:00
5ec7d783ed cui: convert boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I96a1090ea8617644748afdea2786949fb0506b72
2015-11-10 15:30:02 +02:00
13815efe3d cui: boost::ptr_vector->std::vector<unique_ptr>
Change-Id: Ieddd13abc6bb23904db10f303dfc85cd87cfaa03
2015-11-10 15:30:02 +02:00
c83bf01e6e cui: boost::ptr_vector->std::vector<unique_ptr>
Change-Id: If2e8e7eddd5e75a211940416b4370c8f7768849e
2015-11-10 15:30:02 +02:00
b58d56c510 loplugin:nullptr (automatic rewrite)
Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca
2015-11-10 10:31:22 +01:00
8b037a1ed1 loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I042d922e31d6feeb5d4b4fbc542826a386fb2fbd
2015-11-06 12:31:59 +01:00
5de01333b6 loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I52bdf6e2ee843e9cc08d0d4f1eb1bc6dcd15f10a
2015-11-06 09:35:16 +01:00
eafd3ee3f0 tdf#95210 SetHandleControllerPosition is busted wrt HandleFlags::REFX
so instead of saving the initial pos and trying to restore the pos, instead use
a bigger hammer and save the entire geometry and restore that instead.

Change-Id: Id06ea8f205f30771987089c5dc949bb52adc7a27
2015-11-05 13:44:13 +00:00
b3f7880694 OpenGL options: clarify setting descriptions, and provide a live status.
Hopefully this will un-confuse users about whether GL is enabled; the
settings only take effect on re-start, so show a current status line too.

Change-Id: I82832fd8d35bc76ab2cf1f394f11a881fde80774
Reviewed-on: https://gerrit.libreoffice.org/19790
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-05 09:49:36 +00:00
4882664e39 loplugin:vclwidgets
Change-Id: I3e5d88bdc2ecae6164c75da8ddf1b8cfe0ed325f
2015-11-05 07:49:11 +01:00
d4d4e00a5a Resolves: tdf#95352 resize the columns when the edits reposition
instead of assuming they are in their final position when the
top level dialog resizes. Cause there's a timer/idle involved
so the final position isn't known yet

Change-Id: I713e938b0e275f181514315cb4ce4531f36191ca
2015-11-04 13:55:57 +00:00
59b072e22b yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04 14:10:44 +02:00
14bf5784e9 tdf#86595: Highlight color it is
Change-Id: Ic0a3083c05ba1cce974d76aecf60ed7bc4c72a36
2015-11-03 12:22:11 +01:00
9fbdb3d37f Fix popup menu IDs after .ui conversion
Change-Id: I8955bee3ac2bb7a757c1f70dd46141833a068517
2015-11-02 15:10:38 +02:00