summaryrefslogtreecommitdiffstats
path: root/cui
Commit message (Collapse)AuthorAgeFilesLines
* dispose SfxControllerItem objects correctlyLászló Németh2015-06-012-0/+7
| | | | | | | | Change-Id: Id5f80e06e5609b4e85f3d6db7bc37aabe6ef0dac Reviewed-on: https://gerrit.libreoffice.org/15976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin2015-05-291-1/+1
| | | | | Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
* convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin2015-05-291-4/+4
| | | | | | | | Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
* Rewrite all calls like Dialog(params).Execute()Philippe Jung2015-05-2813-49/+49
| | | | | | | | | | | | | Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Fix accidental mis-uses of VclPtr address-of operatorStephan Bergmann2015-05-271-2/+2
| | | | | | Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb (cherry picked from commit 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7, w/o the accidentally included sw/htmlexport-swobjects.patch)
* Resolves: tdf#89904 allow the options color page to load/save palettesCaolán McNamara2015-05-262-18/+6
| | | | | | | | | Change-Id: I02c5d57db9ffb854b096c9382d740923e9cc3b89 (cherry picked from commit 0f98a035806aed03ba56e292bc7ee17b242ff2a0) dynamic_cast of this to the type is already is (cherry picked from commit 004b026865839a044fb9cd2e08e5eca46a64c8fe)
* tdf#91469: convert links in help/about to httpsJulien Nabet2015-05-251-1/+1
| | | | | | | | | | | | Change-Id: I1274f75a49a999285488e99713782956e2287249 Reviewed-on: https://gerrit.libreoffice.org/15870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit ffa560e0dec34d71f4593b7bf23ad50321548c60) Reviewed-on: https://gerrit.libreoffice.org/15877 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
* VclPtr: crash on exit after visiting MSOffice compat pageCaolán McNamara2015-05-201-1/+1
| | | | | Change-Id: Ibc2fa183ee0847f92ace08388559d236898b1826 Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier2015-05-208-77/+77
| | | | | | | renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
* convert DEFAULTCONSTANT constant to scoped enumNoel Grandin2015-05-202-2/+2
| | | | Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
* convert TEXT_DRAW constants to scoped enumNoel Grandin2015-05-205-28/+27
| | | | Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
* tdf#91185 - appearance settings lifecycle fix.Michael Meeks2015-05-191-2/+12
| | | | Change-Id: I4efe8e68419a3d878acf3c4eb741239794b26d85
* make ui string translatableAndras Timar2015-05-181-1/+1
| | | | Change-Id: Ic65c7d3ea00f83642b7c9f0bcafb71837e474862
* perform a boundary checkTakeshi Abe2015-05-181-1/+2
| | | | | | | | Change-Id: I54ec8841c0f162ee33bcf1de2507465b9c49cb71 Reviewed-on: https://gerrit.libreoffice.org/15744 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* Remove include stdio (part2)Julien Nabet2015-05-181-1/+0
| | | | | | | Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl2015-05-181-1/+1
| | | | | | | | | | | | | - Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
* Add missing ellipsis to the color picking buttonAdolfo Jayme Barrientos2015-05-161-1/+1
| | | | Change-Id: I19fc41fdffc2579a6316807ba3dc4d937864a37c
* tdf#91280 Fix capitalization in OpenCL white/blacklist dialogAdolfo Jayme Barrientos2015-05-151-91/+91
| | | | | | | Remember: Title case for headings and command buttons & menus, and sentence case for labels, tooltips, etc. Change-Id: Iec0f56798ec3ea0cc3b31252e9dd0a83c206f035
* tdf#62475: partial handmade fixesAndrea Gelmini2015-05-1527-136/+19
| | | | | | | Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* conver MENU_FLAG_ constants to scoped enumNoel Grandin2015-05-152-5/+5
| | | | Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
* convert LISTBOX_ENTRY_FLAG constants to scoped enumNoel Grandin2015-05-152-3/+3
| | | | Change-Id: Id7ca4853094c214b464e2dee53b10558f1f5a3ba
* tdf#65509 - Auto Save Also Too DisabledJoel2015-05-141-1/+1
| | | | | | | | | | | | Disabled "Autosave this document too." This feature never worked right. I just made it invisible until someone figures out how to make it work properly in order to avoid confusion and possible data loss. Change-Id: I9fdcf35944eec456c8b569817ddde95c13e9378e Reviewed-on: https://gerrit.libreoffice.org/15721 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* refactor cui tabpages controls to use RenderContextTomaž Vajngerl2015-05-144-346/+200
| | | | Change-Id: I91db162053cddfd669abe081e39bb85d3ee3e1f5
* refactor SvxCropExample to use RenderContextTomaž Vajngerl2015-05-142-15/+15
| | | | Change-Id: I06e8702ecea2db2529eda538128d6a1693971185
* cleanup cui headersTomaž Vajngerl2015-05-143-29/+3
| | | | Change-Id: I717854b9394549dfa375bd384677d5fd51c6c31b
* refactor ThesaurusAlternativesCtrl to use RenderContextTomaž Vajngerl2015-05-141-5/+4
| | | | Change-Id: I65d55c9d57eeb5eb878008885417d1e2118a946d
* refactor SvxHlmarkTreeLBox to use RenderContextTomaž Vajngerl2015-05-141-8/+6
| | | | Change-Id: I15f259cd68a628fc298ca086000b94abf018a938
* refactor PseudoRubyText to use RenderContextTomaž Vajngerl2015-05-141-35/+41
| | | | Change-Id: Icdf70e6f3bd87f6a5bc66365441f07b1ab510b93
* refactor GraphicPreviewWindow to use RenderContextTomaž Vajngerl2015-05-141-13/+11
| | | | Change-Id: I3471ca2c51782f6537d2bbc2fabc791c5f63d66c
* refactor SvxShowText to use RenderContextTomaž Vajngerl2015-05-141-19/+18
| | | | Change-Id: I7e059c36bb5a130f823a6da5feb981b0926b3294
* refactor ColorPreviewControl to use RenderContextTomaž Vajngerl2015-05-141-324/+411
| | | | Change-Id: I59bfd279a78f049721df419debb0022c5e36c291
* refactor AboutDialog to use RenderContextTomaž Vajngerl2015-05-141-16/+18
| | | | Change-Id: I7ce9df8c9f26d417d2400628cbb91f8ae18bc4d6
* convert BUTTON_DRAW constants to scoped enumNoel Grandin2015-05-133-6/+7
| | | | Change-Id: I6ad6558c855736a4a5268593ced9c8300235d4bd
* fixes of SvxParaPrevWindow refactoringTomaž Vajngerl2015-05-132-10/+10
| | | | Change-Id: If9ca3234f9f3ea1ed176d3fc020d4b6d7a554937
* tdf#91904-Import Image for bullets through "Add and Resize" ButtonHeena Gupta2015-05-125-3/+133
| | | | | | | Change-Id: I25390268da3b16261d054cd4c093b35a9ee3ce26 Reviewed-on: https://gerrit.libreoffice.org/15642 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Switch VclBuilder constructors to use VclPtr.Michael Meeks2015-05-1212-18/+16
| | | | Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
* Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks2015-05-1112-16/+16
| | | | | | | | Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
* Switch VclBuilder constructors to use VclPtr.Michael Meeks2015-05-1112-16/+16
| | | | Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
* convert COMMAND_ constants to scoped enumNoel Grandin2015-05-111-5/+4
| | | | | | | Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann2015-05-112-4/+4
| | | | Change-Id: If95a985badc34d3789e82fb576836730aff9cefc
* LO crash when Tools -> Customize -> Event -> ESCPhilippe Jung2015-05-111-1/+2
| | | | | | | Change-Id: Iae2687d980b126912ed1e9c7045605a90aeb7ffe Reviewed-on: https://gerrit.libreoffice.org/15700 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* refactor ValueSet to use RenderContextTomaž Vajngerl2015-05-111-1/+2
| | | | Change-Id: I3985804f8cfd1b6807bc02bef5af3e24e5cb3cbf
* refactor Ruler to use RenderContextTomaž Vajngerl2015-05-111-6/+6
| | | | Change-Id: Ic4c57e161419a9b185b2c5ee8e8b79d3da9e4a7e
* refactor TreeListBox to use RenderContextTomaž Vajngerl2015-05-118-110/+104
| | | | Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
* Crash Options->Advanced->Advanced, missing disposeAndClearPhilippe Jung2015-05-101-0/+1
| | | | | | | | Change-Id: Ibf0c2893f0ccd784430fbed3c9fdc5985f5bb708 Reviewed-on: https://gerrit.libreoffice.org/15696 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* SfxMacroTabPage::mpImpl is never assigned to...Stephan Bergmann2015-05-101-12/+9
| | | | | | ...so these must be redundant aliases Change-Id: I6c48f24f7808f336e206d8cba257f9bc063bdfc7
* _SvxMacroTabPage::mpImpl is never assigned to...Stephan Bergmann2015-05-101-2/+1
| | | | | | ...so this must be a redundant alias Change-Id: I6a4d74f89e65521010cbe1cacaa0ef4206d9c58c
* Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann2015-05-101-5/+2
| | | | Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
* No more need for EMPTYARG in C++11Stephan Bergmann2015-05-109-14/+14
| | | | Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
* Use IMPL_[STATIC_]LINK_NOARG where applicableStephan Bergmann2015-05-101-1/+1
| | | | Change-Id: I1e24b032bdeea017b0e77c5446e55310899ce752