summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2016-05-31Remove inline renaming of title in ThumbnailViewItemAkshay Deep
Change-Id: I8fa2cae3390dd1576aab531bc826b8bb5985eaf9 Reviewed-on: https://gerrit.libreoffice.org/25645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-31loplugin:unusedmethodsNoel Grandin
Change-Id: Ifeb818227a960cab8fd2e8e7352468efbfe1232c Reviewed-on: https://gerrit.libreoffice.org/25668 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31Convert PrinterSupport to scoped enumNoel Grandin
Change-Id: I2bde7261b8e8f31e6dd5a02cd4130156a04b8a7f Reviewed-on: https://gerrit.libreoffice.org/25657 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Context Menu for templates and other fixes in Start CenterAkshay Deep
Removed: 1: Save Mode Variable. 2. maSelTemplates and maSelFolders 3. OpenRegionHdl 4. cmpSelectionItems Change-Id: I108da3a0ddfb4954a60fbb0df44eba0457326ca9 Reviewed-on: https://gerrit.libreoffice.org/25459 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-30Convert SelectionMode to scoped enumNoel Grandin
Change-Id: I86c435de3918540cb54a0cb24568e58456c2f9d1 Reviewed-on: https://gerrit.libreoffice.org/25611 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Convert ApplicationEvent::Type to scoped enumNoel Grandin
Change-Id: Ie65951d5fd1e155e3d3b36d4725792fb95fb9a52 Reviewed-on: https://gerrit.libreoffice.org/25608 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Resolves: Error when overwriting a template in Template Save As DialogAkshay Deep
After overwriting a template, overwritten template does not exist in the template manager because SfxDocumentTemplates is not updated.. Change-Id: I7e8605091de71b921f8dbed5ab2022ac292fe4b2 Reviewed-on: https://gerrit.libreoffice.org/25584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-30loplugin:unusedmethodsNoel Grandin
Change-Id: I08e9bb65b2530148b80c67f01d51e594fc698acb Reviewed-on: https://gerrit.libreoffice.org/25543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-29coverity#1362173 Dereference after null checkCaolán McNamara
Change-Id: I75c6f6fba947ac56c198afdef9b5ad078a76cdc5
2016-05-28Improve alignment and use of space in Document Properties dialogAdolfo Jayme Barrientos
Change-Id: Id4da1138931ef1601541b7108a4e90b3656a5ccb
2016-05-28lok: add uno command AssignLayoutHenry Castro
Change-Id: I959d1a57945a3b5aa3f2c273c4b885ed5f628f6e Reviewed-on: https://gerrit.libreoffice.org/25569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-05-27Template Manager: Option to rename categoryAkshay Deep
Change-Id: I7a9a0a42afbf5f8a293a130a0b84e72a54540579 Reviewed-on: https://gerrit.libreoffice.org/25539 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-27Convert GRAPHIC to scoped enumNoel Grandin
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26tdf#89329: use unique_ptr for pImpl in sfxhelpXisco Fauli
Change-Id: I357b53f644384452c5dc2b74d3aba3d3dafae00e Reviewed-on: https://gerrit.libreoffice.org/25314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26Start Center: Rename "Edit Templates" to "Manage Templates"Akshay Deep
Change-Id: I184c0508dba673153153a83cf033c9fb057a3435 Reviewed-on: https://gerrit.libreoffice.org/25507 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-26cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ibb6bc9a17418a8fb0b5f882285088a5b80fd5beb
2016-05-26loplugin:unusedmethodsNoel Grandin
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-25(nearly) nothing uses GetUniqueId anymore, so remove it.Caolán McNamara
The odd one out is the usage in Formula, which attempts to restore focus to a particular window identified by an unique id. In this case restore focus by keeping a VclPtr to the desired window. Change-Id: I1dc335325c109d75745c6bba2e12662e6ae50638
2016-05-25because pCW->bCreate is always set to true, the conditional isn't usefulCaolán McNamara
Change-Id: Icba66b3832cdf8dbd916604f08cb1d5f9bb81873
2016-05-25Fix typosAndrea Gelmini
Change-Id: I860cc4aa04b4e5cd1437b2f24176ee2ccdec3266 Reviewed-on: https://gerrit.libreoffice.org/25420 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-25Template Manager: ListView in Save As and Category Selector DialogAkshay Deep
Change-Id: Ie3e12e345096c570be11280833889321d0cf7aa5 Reviewed-on: https://gerrit.libreoffice.org/25370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-25New Template Manager: Remove inheritance of TemplateContainerItemAkshay Deep
Conflicts: include/sfx2/templatelocalview.hxx sfx2/source/control/templatelocalview.cxx Change-Id: I5eb120853be768c3770a71829c40d00c97fcdadb Reviewed-on: https://gerrit.libreoffice.org/25272 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-25Template Manager: Filter by Application (Default)Akshay Deep
Change-Id: I3ff4a55e3c53df15079730a8d0a283108a74f212 Reviewed-on: https://gerrit.libreoffice.org/25377 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-25Creating a new category on move should update the category listAkshay Deep
Change-Id: I54ba75056d8fa47ff2153914182ad354da7c07f6 Reviewed-on: https://gerrit.libreoffice.org/25398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-25Template Manager: Tooltips to display categoryAkshay Deep
Display categories in search view or all application filter Change-Id: If4a14ef822a84b4a651ce47d0a448767cfbce80b Reviewed-on: https://gerrit.libreoffice.org/25352 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-24Revert "remove some manual ref-counting"Noel Grandin
until I have a better understanding of the UNO reference counting. This reverts commit 111de438ea3e512a541281dc0716cc728ea8d152.
2016-05-24tdf#89329: use unique_ptr for pImpl in filedlghelperXisco Fauli
Change-Id: I50eb43fb87e971d9d65214d24b8f7f5c73ef0c96 Reviewed-on: https://gerrit.libreoffice.org/25308 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-24tdf#89329: use unique_ptr for pImpl in tabdlgXisco Fauli
Change-Id: Idf5d0d1f8b2dd68b1fe1a43e1fb1bf46837b58ec Reviewed-on: https://gerrit.libreoffice.org/25321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-24tdf#89329: use unique_ptr for pImpl in tbxctrlXisco Fauli
Change-Id: I309435b73e3d490cc091dd875f7f600e6f2f354c Reviewed-on: https://gerrit.libreoffice.org/25322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-24Fix tdf#99506: Insert OLE object with icon failedGuillaume Smaha
Change-Id: I7fe5814b268e4c70977699edaa89926ca3fda92e Reviewed-on: https://gerrit.libreoffice.org/25080 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-24tdf#89329: use unique_ptr for pImpl in shellXisco Fauli
Change-Id: Ie925d6c47d718ef46349c11b7450b1f2c1a93c21 Reviewed-on: https://gerrit.libreoffice.org/25318 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-24remove some manual ref-countingNoel Grandin
triggered when I noticed a class doing acquire() in the constructor and then release() in the destructor. found mostly by git grep -n -B5 -e '->release()' Change-Id: Ie1abeaed75c1f861df185e3bde680272dbadc97f Reviewed-on: https://gerrit.libreoffice.org/25363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23tdf#89329: use unique_ptr for pImpl in frmdescrXisco Fauli
Change-Id: I337e1ee34fe1571ca75c8ff8762b5d43fecc2cb4 Reviewed-on: https://gerrit.libreoffice.org/25310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23tdf#89329: use unique_ptr for pImpl in progressXisco Fauli
Change-Id: Ie591d3ac8af2b1a05be51c672ebf5a6ed7ac87f2 Reviewed-on: https://gerrit.libreoffice.org/25320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23Convert SbxClassType to scoped enumNoel Grandin
Change-Id: I48afcdd9924d22b52a8db21aa253061e4d38c85b Reviewed-on: https://gerrit.libreoffice.org/25259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23lok: Subcribe to more uno commands for state changePranav Kant
Change-Id: Id2870b176de4163fbe01e4ac380b4981d3187d90
2016-05-23loplugin:staticmethodsNoel Grandin
Change-Id: I49d23df461ba8922b2e561c0f9466f3a625e0479
2016-05-23New Template Manager: Default Thumbnails in TemplateSearchViewAkshay Deep
Change-Id: Iff0cb63defaf3bb98022d891f91339044931cb39 Reviewed-on: https://gerrit.libreoffice.org/25251 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-23tdf#89329: use unique_ptr for pImpl in requestXisco Fauli
Change-Id: Idc1bc93c10bcef7344fc5f816a509308fc0c40c7 Reviewed-on: https://gerrit.libreoffice.org/25317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23tdf#89329: use unique_ptr for pImpl in printerXisco Fauli
Change-Id: I8adbac922b7a44ae99325a489f87762dd86397de Reviewed-on: https://gerrit.libreoffice.org/25316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23tdf#89329: use unique_ptr for pImpl in newXisco Fauli
Fix "error: declaration of ‘pImpl’ shadows a member of 'this' [-Werror=shadow]" too Change-Id: Ib0fc66375ed7d9ae700d5a81a2adb5975fcae592 Reviewed-on: https://gerrit.libreoffice.org/25319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-23New Template Manager: Improved search for templatesAkshay Deep
Change-Id: I0a94abe09d82a58d892eb83aea0952d28aeb05ea Reviewed-on: https://gerrit.libreoffice.org/25249 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-05-22loplugin:staticmethodsStephan Bergmann
Change-Id: Icd00538ececfb6ebff795f75ab17e50b536b67b2
2016-05-22loplugin:passstuffbyrefStephan Bergmann
Change-Id: Ia243148779b82bd8a1d1e82990622c01e2026a06
2016-05-22tdf#89329: use unique_ptr for pImpl in childwinXisco Fauli
Change-Id: I500912a67696eab72c58e2c72fc3aec97542925d Reviewed-on: https://gerrit.libreoffice.org/25303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22tdf#89329: use unique_ptr for pImpl in docfileXisco Fauli
Change-Id: Ib073dd45dae3f26d4528288e83d53122102866de Reviewed-on: https://gerrit.libreoffice.org/25306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22tdf#89329: use unique_ptr for pImpl in frameXisco Fauli
Change-Id: I34256941b366e0a3d7c78818b6e8576f4a5669a2 Reviewed-on: https://gerrit.libreoffice.org/25309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22tdf#89329: use unique_ptr for pImpl in bindingsXisco Fauli
Change-Id: I57d06a0e534062259acdeb7ecb0aee71500dac2c Reviewed-on: https://gerrit.libreoffice.org/25304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22tdf#89329: use unique_ptr for pImpl in dockwinXisco Fauli
Change-Id: Id5e2496d218d15ddc571ff49d4bf5b86fa4aae3d Reviewed-on: https://gerrit.libreoffice.org/25307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22tdf#89329: use unique_ptr for pImpl in basedlgsXisco Fauli
Change-Id: I02838652d59933218055a8a67ea3a865cd10c192 Reviewed-on: https://gerrit.libreoffice.org/25302 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>