summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)Author
2016-01-11loplugin:unusedmethods unused return value in cuiNoel Grandin
Change-Id: Ib65ceeeb5e1be0de5e3808e652e910fff3820bf8
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10Cleanup FontCharMapPtr variable prefixesChris Sherlock
Change-Id: Ib106b91ab71ee45d5ad469d0beaf4ebaef8b57e1 Reviewed-on: https://gerrit.libreoffice.org/21306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08Bump copyright year to 2016Adolfo Jayme Barrientos
Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
2016-01-07svx: fix windows build, rename SvxEscapementItem::GetProp()Michael Stahl
90e07dd6f5d64a0d0041361c1592a6cd93ff2ac0 introduced a new unit test which calls SvxEscapementItem::GetProp(), and apparently the unit test also #includes windows.h somehow, so GetProp macro is defined to GetPropA and that fails to link since SvxEscapementItem doesn't have this member function. Thank you, C preprocessor, you barbarous relic. Change-Id: I6fd8e9d832ed5e1ce1a4fa7f1516c55d51a3283b
2016-01-07tdf#34882 Harmonize alignment of hex./decimal boxesAdolfo Jayme Barrientos
Change-Id: Ie2a5af6c3c46508df1763b33bf8446983e49e11c
2016-01-05Make SotFactory private to sot/ and clean a bitMatúš Kukan
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
2016-01-05tdf#94205: Use o3tl::make_unique insted of new+std::move.Sheikha AL-Hinai
Change-Id: I9ff14760479d2ac882546e2e5b74ab750ba2fa4b Reviewed-on: https://gerrit.libreoffice.org/20984 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-05new loplugin rangedforcopy - use reference in range based forAndrzej Hunt
Inspired by 6e6ae9803796b120e95f6e89575e03c5fd0ed3c2 Change-Id: Ia0f264d3a6bbf076aa5080e3398683e50bc6ef01 Reviewed-on: https://gerrit.libreoffice.org/20190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-04these fields can be static constantsNoel Grandin
Change-Id: Id56e219782d7f858cdeb26232c7aabd4f643c9d9 Reviewed-on: https://gerrit.libreoffice.org/21020 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-04vcl: split classes out of metric.hxxChris Sherlock
Change-Id: Id3b155abec7b7a2ff43d0a35e98709f5ee51c6b9 Reviewed-on: https://gerrit.libreoffice.org/21069 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-04Cleanup after removing vcl::FontInfo classChris Sherlock
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
2016-01-03vcl: Excise vcl::FontInfo classChris Sherlock
This may sound crazy, but literally vcl::FontInfo serves no purpose that I can see. The inheritance chain is like this: ┌────────────────────────┐ │ │ │ vcl::Font │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ vcl::FontInfo │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ FontMetric │ │ │ └────────────────────────┘ vcl::FontInfo (which, incidentally, needs to be put into the vcl namespace due to collisions with poppler!) literally does nothing and is acting as a bridge between FontMetric and vcl::Font. Unlike a bridge though, this bridge doesn't actually *do* anything. So I'm removing it, which means one less class to deal with in the vcl fonts world. Change-Id: I32725669c9bca7fbb0846b6a062135464046e4f6 Reviewed-on: https://gerrit.libreoffice.org/21058 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ic6407a57440fbd887f9ec9d5963e5748aa89a29e
2015-12-30Kill remaining plugin bitsMaxim Monastirsky
Change-Id: Icd99757b48626ef43313e8de42c4e5462f85a958 Reviewed-on: https://gerrit.libreoffice.org/21008 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-27Don't allow customizing menus without UI nameMaxim Monastirsky
If a developer wants a menu to be customizable, he'll probably set a name to show in the UI, not just leave the file name. The plan is to use popupmenus for different kind of things, like menubar sub-menus, toolbar buttons etc., not just as a context menus, and we don't want let people customize some of those. Change-Id: Ie258aa13924c10a26c9279793e64805dd000e285
2015-12-25Revert "Basic IDE Options code completion tweak."jan iversen
This reverts commit 536fcf91de1bdbfca4c300484ebe672f9cbca0e7. Based on a IRC discussion, it seems that a comment is enough to block a patch, and not as defined a -1. Furthermore this patch caused a core dump on the munich tinderbox, where the cause is very unclear. Change-Id: I0caeeb354444b33942ea08e056d26ead97264d74 Reviewed-on: https://gerrit.libreoffice.org/20924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-12-24Basic IDE Options code completion tweak.Olivier Hallot
Since the use of code completion depends on the option of using UNO Extended Types, the patch enables the Code Completion checkbox only if the Use Extended Type checkbox is checked. Furthermore, if the Use Extended Type checkbox is disabled, the Code Completion CB is unchecked. Change-Id: Ic24a318f0c4424204d42035515a4f5f8758a5177 Reviewed-on: https://gerrit.libreoffice.org/19114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-12-24loplugin:unusedfieldsNoel Grandin
Change-Id: I979592adb978c3757a1e54615021ee424a2e02bf Reviewed-on: https://gerrit.libreoffice.org/20892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-23New saving behaviorMaxim Monastirsky
Changes in this commit: - AlwaysAllowSave config is gone. Saving is always permitted, unless in a read only document. Also changed the behavior in dbaccess to match sfx2. - The toolbar save button is always enabled, to always give access to the dropdown. That's the case even in a read only document, except that it changes to DROPDOWNONLY, and the save as command icon+tooltip. In table/query designers we still disable the button in read only state. - When the document is modified, the toolbar button gets a special icon to indicate that. TODO: - Icons for the document modified state are still missing. I added some fake links to Tango's links.txt in order to test the new behavior. These links shouldn't stay as-is in a production version! Change-Id: I56c169bf48b78faaf53c2989ce8624f8297ffb6e Reviewed-on: https://gerrit.libreoffice.org/20839 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-23loplugin:unusedfields in cuiNoel Grandin
Change-Id: I7a1092708881d1d43debf0217a5401c5b65838a5
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-12-19Remove outdated industrial icon themeSamuel Mehrbrodt
A few icons are still left in the folder as these are used as fallback for tango. See industrial/README for details. Change-Id: Iaeb672609cd57bba5707cbafbfe295bfb8c5011d Reviewed-on: https://gerrit.libreoffice.org/19149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-12-19loplugin:stringconstantMatúš Kukan
Change-Id: Iafe0c422f8681bd2ed5b825af180facb59aaf531
2015-12-18tdf#80758:empty values in button name not respectedRishabh Kumar
In case of empty values , the accelerator character is passed as the button name which avoids extra spacing. Change-Id: I8a82f5226e17bf8977fb6a8fd59c99a244e59309 Reviewed-on: https://gerrit.libreoffice.org/14498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-12-18tdf#93008: use up/down/loseFocusHdl and max cache value fixedOliver Specht
use up/down/loseFocusHdl prevents a change of object cache value while writing the max. cache value is now set to 2047 MB as this prevents an overflow of the configuration value Change-Id: Ib98f7181b10e2875b2037e425eced3f12ba4c0b6 Reviewed-on: https://gerrit.libreoffice.org/20766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-12-18related tdf#96398 pull out more NPAPI-related codeThorsten Behrens
Fixup windows PCH plus pulling out more code now unused due to NPAPI removal. Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4. Change-Id: I8ad42a28139ceeab0cae1f608d55beb28c159db3 Reviewed-on: https://gerrit.libreoffice.org/20783 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17[API CHANGE] Remove NPAPI-related UNO APIThorsten Behrens
Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4, related to tdf#96398, removing more client code. The following published interfaces are removed: com::sun::star::mozilla::XPluginInstance com::sun::star::mozilla::XPluginInstanceNotifySink com::sun::star::mozilla::XPluginInstancePeer com::sun::star::mozilla::XPluginInstanceSyncPeer com::sun::star::mozilla::XPluginWindowPeer com::sun::star::plugin::PluginDescription com::sun::star::plugin::PluginException com::sun::star::plugin::PluginManager com::sun::star::plugin::PluginMode com::sun::star::plugin::PluginVariable com::sun::star::plugin::XPlugin com::sun::star::plugin::XPluginContext com::sun::star::plugin::XPluginManager Change-Id: I3818a23e0f46fd01bfe9be11b57f6a551c013441 Reviewed-on: https://gerrit.libreoffice.org/20780 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-14Related: rhbz#1289394 always provide the screen area the tip applies toCaolán McNamara
this will make it easier to implement native help tips Change-Id: I984dfadaf02e9b7bf542ba82cf070911c89cb699
2015-12-14Use scoped pointers to hold dialogsOliver Specht
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-14tdf#81519 Clarifying advanced options (unstable vs. limited)Joel
minor update to clarify unstable features against macro (limited) features Change-Id: I30c782144e5dff3c300cfcf431c745597f0c3db2 Reviewed-on: https://gerrit.libreoffice.org/20688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-13Get rid of this env. variableMaxim Monastirsky
Change-Id: I70222eaef9ab77f74bd7e200a3c4e849dcc4542f
2015-12-12No need for a separate <vcl/lstbox.h>Tor Lillqvist
Change-Id: Ib8d0e3d240e693c678d575b4791f69ca760919ec
2015-12-11No need for a separate <vcl/graph.h>Tor Lillqvist
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11No need for a separate <vcl/combobox.h>Tor Lillqvist
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
2015-12-11Update hardware/OS info in About dialogYousuf Philips
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-11tdf#96382: background color is not applied unintentionallyOliver Specht
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-09stray fprintfCaolán McNamara
Change-Id: If3665f573b2c4ec9e87646af0afcd2ba9c5a4f1c
2015-12-09Resolves: tdf#86845 hyperlink details not retained between tabsCaolán McNamara
Change-Id: Ib6c1df4a97598c156b10b1730debb078e362e0d2
2015-12-09tdf#96353 make spell options dialog resizableAndras Timar
Change-Id: I2e9ef88d471f8fa379a03f7b6b95bf14ce172acb Reviewed-on: https://gerrit.libreoffice.org/20498 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-09unnecessary nResId argumentCaolán McNamara
Change-Id: Id7d3df1af42cbe7b4f951c335063d26b59e7bc10
2015-12-09Use unique_ptr out-arg to in SfxBindings::QueryState to avoid mem leaksStephan Bergmann
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-07fix build, don't pass int as sal_uInt16, tdf#34449 follow-upEike Rathke
Change-Id: Ia813b4d4296235f273c826444fcce3e9217cdee7
2015-12-07tdf#34449 : ability of deleting borders of a cell from adjacent cellDennis Francis
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-07SvxMenuConfigPage: Disable controls when no menus foundMaxim Monastirsky
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-03uno::Sequence->std::vector in SfxIntegerListItemNoel Grandin
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
2015-12-01sc interpreter: Don't hide S/W Interpreter behind an environment variable.Jan Holesovsky
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-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-26mark UNO structs as SAL_WARN_UNUSED, where possibleNoel Grandin
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-25assign macro dialog: correct event name "errorOccured"Lionel Elie Mamane
"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