summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
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>
2015-10-20Avoid some confusing uses of "document name" instead of "document URL"Stephan Bergmann
Change-Id: I88258d3aaa2a18315a5a38ea01e77bdfd4bc1a84
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I06cebd331b04ee496b2c3efecce4542705092e12
2015-10-20tdf#89694 Password dialog for opening OOXML shows url-encoded pathTomofumi Yagi
We need to convert a path string to decoded it for OOXML with a password as ODF is so. This patch adds the converting process for OOXML. In addition, this patch moves the decoded-point of URL into css.task.Document[MS]PasswordRequest ctor from the outside. This decoded-point of URL into ctor is common for OOXML and ODF. (notes: Strange to say, css.task.Document[MS]PasswordRequest ctor needs "aDocURL", but methods in interaction-handler use "aDocumentName" as the parameter. Probably this will be fixed in near future.) Change-Id: I0ecfddf0f70ea5810df52d9ca8637f483a26df2f Reviewed-on: https://gerrit.libreoffice.org/14677 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I6cd2eeba413ef518413f765eabc12b9705b6acb2
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19cleanup some local var declarationsNoel Grandin
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-19WaE: loplugin:defaultparamsTor Lillqvist
Change-Id: I39c1e5664a7a03617258830b4aa21efb89fb14bc
2015-10-19sfx items: Some cleanup.Jan Holesovsky
Change-Id: I8fdd710b4248de03db6591665489146cb2674aab
2015-10-19sfx items: Kill the SFX_ITEMSET_GET macro.Jan Holesovsky
Change-Id: I110a4f25646eb3f0fa93673c84dc67cf64a3b7a0
2015-10-17Revert "sfx2: -Werror=unused-parameter"Christian Lohmaier
This reverts commit 7ad750aed1f97ae195e7db896d101116d0c23534. A fixup that now as a leftover causes build-breaks on its own after 192e1cd86f0b072c3efaa7ad32afb303efbff9d9 did revert the reason for it
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16Revert "tdf#95095: Don't create thumbnails on load."Jan Holesovsky
It looks more ugly than I had hoped :-( I'll try to fine-tune it more. This reverts commit 468b55301f385771d65d2f15f9ad7879af29f1cf.
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-16sfx2: -Werror=unused-parameterMiklos Vajna
Change-Id: I942976f995bffe0ae47720a6bc4692e20d2a3377
2015-10-15tdf#95095: Don't create thumbnails on load.Jan Holesovsky
Creating thumbnails is quite an expensive operation, so let's avoid that on load, and do that only on the document save or document close. In case the user chooses not to save a modified document, thumbnail is not generated which can lead to document that has no thumbnail; but that's probably a good tradeoff for the speedup. Change-Id: I61bf5ec3fae9596e87963ac7a28ba6e4e52c4e99
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15convert Link<> to typedNoel Grandin
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14java:remove unused importsNoel Grandin
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#735849 Unchecked dynamic_castCaolán McNamara
Change-Id: Ia8f6b24db5d83337d56599214d0acdb9b144cfc3
2015-10-14coverity#1326292 Unchecked dynamic_castCaolán McNamara
Change-Id: I4fc0282463fdfd3e023dafae5b3184b3e016c624
2015-10-14Bump gtk+ version to 2.18Riccardo Magliocchetti
2.18 is the version available in RHEL 6 released in 2010. Change-Id: I4cd4fc89f6b51e6f58ca72b8182f80316b1f4f88 Reviewed-on: https://gerrit.libreoffice.org/19330 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-14convert Link<> to typedNoel Grandin
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13START CENTER: Set new open remote file icon and labelYousuf Philips
Change-Id: I7bede0cb520f446582d01bc0e5f583ddf4655ce0 Reviewed-on: https://gerrit.libreoffice.org/19178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-12tdf#92217: The infobar text should have a transparent background...Jan Holesovsky
...instead of setting background at various places. Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3