summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Idd5bec160e81deac2b570ee3137a1d5ccdc55975
2015-11-11coverity#1338604 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ifb5bdfe677127911303455735997fcf271e80aa6
2015-11-11loplugin:nullptrStephan Bergmann
Change-Id: Id6dd74c1642914394d0e3f6f1af22480a65a0df1
2015-11-11loplugin:nullptrStephan Bergmann
Change-Id: I8007a7f0ed75fd1271520e900826a155c7a41463
2015-11-11tdf#93837 Create Thesaurus popup menu controllerMaxim Monastirsky
The old context menu implementation adds the thesaurus sub-menu by manipulating the menu at runtime, which isn't a good idea in general. Since it's a sub-menu anyway, better to have it as a separate controller, so it can be added to the xml, and users could decide if they want it, and where. Most of the code adapted from sfx2 (menu/mnumgr.cxx, menu/thessubmenu.cxx), hence the Apache-based license header. Change-Id: I4f533fcdd5d6480fae8ebcf53ec7c69675025adb
2015-11-11fix sfx2 buildCaolán McNamara
Change-Id: Iff8317bc59b033b5765d2ba3356f8185cc40a6b3
2015-11-115th step to remove tools/rtti.hxxOliver Specht
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-10sal_uIntPtr to sal_Int32Matteo Casalin
Change-Id: Ib21faeca4ca05bcb534c0418025c7f2607d21077
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: I65de14686d730743abc5becb139a296c6a4a537d
2015-11-10loplugin:bodynotinblockStephan Bergmann
Change-Id: I10e532dcbe98384fde9c553ccd2e151abf53251f
2015-11-10tdf#87995 - settings : missing a checkbox in order to avoid thumbnail savingbureken
Change-Id: I9822c930bb7e133306a3e90fd80f29648877d5f9 Reviewed-on: https://gerrit.libreoffice.org/19596 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:stringconstantStephan Bergmann
Change-Id: Ibb9114d34f2695aa85858e456518e36dbcbe0af1
2015-11-10loplugin:oncevarStephan Bergmann
Change-Id: Iee9987aeafed126e4324d8d487289469577fafa2
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06tdf#92866 startcenter: Make the accellerators work again.Jan Holesovsky
I still have no idea what is the root cause here (why the accellerators do not work 'automagically') - I suspect it is because we don't have a shell there, and instead only a vcl::Window, or something like that :-) Either way, when we handle the accellerators already in PreNotify(), it works as expected, so let's live with that for the time being. Change-Id: Id050fd8f5fff38914821cb64eaa3ae7281fc6d50
2015-11-06tdf#89852 on Windows do not decode the filename for email subjectAndras Timar
... because MAPISendMail does not accept Unicode Change-Id: Id48a41d1cf25d1a991b0f83fd5daa1a65896e958
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann
Change-Id: I779395274a480a0f1f4dc9d5ea8d323bba682031
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: Ibb9e09fb39d9e3a2191a2e7028d5ec42a83bfa55
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: Id9e7621ca7170d6cc80d8ce14f155ce564691ec0
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: I9dde988e95e3c574c6643c4e008a1090270bad5f
2015-11-03notifyer -> notifier.Jan Holesovsky
Change-Id: Ic009398d1d00550577d9f25b4d904632b063d54f
2015-11-02dock icon's menu doesn't begin with separator anymoreDouglas Mencken
... even when there's no open windows Change-Id: I8c1d8f254e621d1867a100ad984f8b77ed8cfc5a Reviewed-on: https://gerrit.libreoffice.org/19677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29Cleanup in sfx2 treeMario J. Rugiero
Replaced a few std::for_each occurences by range based for loops, and the only boost::bind in such tree by a lambda, alongside with a bind2nd call and boost/bind.hxx headers cleanup. Change-Id: Ie5e58f5b7d23ec846fd7457a6bad0132e0278dbf Reviewed-on: https://gerrit.libreoffice.org/19662 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-29LOK: font/back color callback - use sal_Int32 instead of longMihai Varga
Change-Id: I2e2ebc5a12794e9641a6195f07fa4b2d1a7369a9
2015-10-29LOK: font/back color feedbackMihai Varga
This is used to know the current font/back color Change-Id: Ic524fcb5c26e1c15ec9c50b2879465152ac8ee34
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-29remove the USE_APP_SHORTCUTS #define and simplify the code in the processNoel Grandin
it was effectively always being set to true Change-Id: I9e29819d10985708e37e87daa37be72b3e160c7e Reviewed-on: https://gerrit.libreoffice.org/19639 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29com::sun::star->css in sfx2Noel Grandin
Change-Id: I20d9b45e4b28c2a4a511774d3154aceb0471d197 Reviewed-on: https://gerrit.libreoffice.org/19643 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28handle scrollwheel events in TabBar of SidebarBjoern Michaelsen
- using the scrollwheel in the TabBar used to scroll the document: - even though the deck next to it handles scroll event on its own - thus there are two areas that arent even touching (separated by the deck) scrolling the same area - instead, now we capture mousewheel scrolls and switch through the decks of the sidebar. This should also severely simplify navigating them. Change-Id: Ie2136f4ec67dedf72ff6b56d16356f6a12de74ea
2015-10-27don't allocate rtl::Reference or SvRef on the heapNoel Grandin
There is no point, since it's the size of a pointer anyway Found by temporarily making their 'operator new' methods deleted. Change-Id: I265e40ce93ad4bad08b4f0bd49db08929e44b7d6 Reviewed-on: https://gerrit.libreoffice.org/19628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27don't allocate uno::Reference on the heapNoel Grandin
There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27better i18n of STR_DDE_ERROR stringAndras Timar
Change-Id: I23db46dddae093a85dc4dcb0f7b12630a1e7aa3f Reviewed-on: https://gerrit.libreoffice.org/19624 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-27inline SvBaseLinkRef typedefNoel Grandin
Change-Id: I0684db21c260e38d1d2e32eb5924cf7e25212b4d
2015-10-27inline SfxMediumRef typedefNoel Grandin
Change-Id: Id6dc03a5957adf657d12db7941273593a9f7c10f
2015-10-26Let Gtk handle icon names instead of ResMgr for window and trayiconSimon Steinbeiss
The icons in the themes should be deleted in a second step and the defines should be transformed into an ENUM and stored in one place. Furthermore we will have to decide whether to live with gtkimagemenuitem despite its deprecation in Gtk3.10 or whether to pack GtkImages and GtkLabels in GtkBoxes inside GtkMenuItems and live with the additional padding, which potentially looks horrible. Change-Id: I8dec44375e40a4d2b6668792bc4b813efe83ff31 Reviewed-on: https://gerrit.libreoffice.org/19601 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-26remove extra spaces around ::Noel Grandin
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-25clean-up for sfx2/source/appl/shutdowniconaqua.mmDouglas Mencken
Change-Id: I459e00ca0b6578be6f7543eb220720b1a48c1ac7 Reviewed-on: https://gerrit.libreoffice.org/19584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23tdf#48456 : when searching for a number, consider formattingDennis Francis
Change-Id: I4a1e3e269a269bb37e88aa8810a46d0f4ecfc518 Reviewed-on: https://gerrit.libreoffice.org/19420 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-22add missing SearchFiltered to SvxSearchItem slot definitionsEike Rathke
Already since 26d5cf1ecadc17e5c6aff071b8750b9fadaa1d28 there was one SfxTypeAttrib element less in aAttrib[n] than defined MID_SEARCH_... values in include/svl/memberid.hrc, also SearchFiltered was missing from sfx2/sdi/sfxitems.sdi As a consequence the generated slot definitions workdir/SdiTarget/sc/sdi/scslots.hxx lacked that item. Change-Id: Ic901b3a85fb5242037d713f3642971e7073e684d
2015-10-22coverity#441226 Dereference null return valueCaolán McNamara
Change-Id: Ib80e5f5d9e41c6511779e7a956cdba9b856c25ba
2015-10-21afl-eventtesting + VclPtr: only current context decks getting disposedCaolán McNamara
but they all have to go, not just the current one Change-Id: I84819c2a74042ad028fbdd8acba5d925c7fdedab
2015-10-21refactor out some com::sun::star typedefsNoel Grandin
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-21tdf#95095: Rename "AvoidRecentDocs" to "PickListEntry" for consistency.Jan Holesovsky
It turns out that Base already has a similar property called "PickListEntry". Let's make it consistent then, and rename "AvoidRecentDocs", so that it works in all the apps the same way. So instead of setting "AvoidRecentDocs" to true, set "PickListEntry" to false. Change-Id: Idf0dd8e8892218f387944f0ad43b292c4b052be6
2015-10-21lok: Avoid adding to recent documents completely.Jan Holesovsky
Change-Id: I292281e300e8976bf5ae286262a6a3e20de41858
2015-10-21tdf#95095: Implement "AvoidRecentDocs" property for loadComponentFromURL().Jan Holesovsky
When "AvoidRecentDocs" is set to true, the loaded document is not added to the recent documents list, avoiding the (a bit expensive) thumbnail creation. Useful when loadComponentFromURL() is called from macros, or when LibreOffice is controlled via UNO. See the bug for an example. Change-Id: I99d516cae8b278199a01276686465f716b9b4cec
2015-10-20tdf#85767: Make also sidebar toolbox item order RTL-sensitiveKatarina Behrens
do more-less the same as 2fd93f19cf6c1ce808214c does for main app toolbars Change-Id: If271bbb049915f4201fbce2ea587b753940a8de7 Reviewed-on: https://gerrit.libreoffice.org/19451 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>