summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2015-10-25clean-up for sfx2/source/appl/shutdowniconaqua.mmDouglas Mencken1-43/+36
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 Francis1-0/+1
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 Rathke1-0/+1
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 McNamara1-6/+8
Change-Id: Ib80e5f5d9e41c6511779e7a956cdba9b856c25ba
2015-10-21afl-eventtesting + VclPtr: only current context decks getting disposedCaolán McNamara2-30/+12
but they all have to go, not just the current one Change-Id: I84819c2a74042ad028fbdd8acba5d925c7fdedab
2015-10-21refactor out some com::sun::star typedefsNoel Grandin2-6/+4
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-21tdf#95095: Rename "AvoidRecentDocs" to "PickListEntry" for consistency.Jan Holesovsky2-3/+3
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 Holesovsky1-5/+5
Change-Id: I292281e300e8976bf5ae286262a6a3e20de41858
2015-10-21tdf#95095: Implement "AvoidRecentDocs" property for loadComponentFromURL().Jan Holesovsky4-51/+32
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 Behrens1-2/+28
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 Bergmann1-3/+1
Change-Id: I88258d3aaa2a18315a5a38ea01e77bdfd4bc1a84
2015-10-20loplugin:defaultparamsStephan Bergmann13-25/+21
Change-Id: I06cebd331b04ee496b2c3efecce4542705092e12
2015-10-20tdf#89694 Password dialog for opening OOXML shows url-encoded pathTomofumi Yagi1-1/+1
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 Bergmann9-20/+20
Change-Id: I6cd2eeba413ef518413f765eabc12b9705b6acb2
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin2-2/+2
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 Grandin17-26/+26
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19cleanup some local var declarationsNoel Grandin2-2/+2
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-19WaE: loplugin:defaultparamsTor Lillqvist1-1/+1
Change-Id: I39c1e5664a7a03617258830b4aa21efb89fb14bc
2015-10-19sfx items: Some cleanup.Jan Holesovsky3-59/+33
Change-Id: I8fdd710b4248de03db6591665489146cb2674aab
2015-10-19sfx items: Kill the SFX_ITEMSET_GET macro.Jan Holesovsky2-4/+4
Change-Id: I110a4f25646eb3f0fa93673c84dc67cf64a3b7a0
2015-10-17Revert "sfx2: -Werror=unused-parameter"Christian Lohmaier1-2/+0
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 Holesovsky24-214/+148
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky9-97/+74
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky8-73/+69
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky23-161/+146
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16Revert "tdf#95095: Don't create thumbnails on load."Jan Holesovsky2-4/+4
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 Grandin6-19/+18
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 Vajna1-0/+2
Change-Id: I942976f995bffe0ae47720a6bc4692e20d2a3377
2015-10-15tdf#95095: Don't create thumbnails on load.Jan Holesovsky2-4/+4
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 Grandin6-18/+9
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 Grandin5-25/+25
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14java:remove unused importsNoel Grandin1-2/+0
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#735849 Unchecked dynamic_castCaolán McNamara1-4/+2
Change-Id: Ia8f6b24db5d83337d56599214d0acdb9b144cfc3
2015-10-14coverity#1326292 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I4fc0282463fdfd3e023dafae5b3184b3e016c624
2015-10-14Bump gtk+ version to 2.18Riccardo Magliocchetti1-4/+2
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 Grandin1-1/+1
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13START CENTER: Set new open remote file icon and labelYousuf Philips1-2/+7
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 Holesovsky1-4/+2
...instead of setting background at various places. Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann96-708/+708
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann3-5/+5
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin7-31/+22
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12loplugin:mergeclassesNoel Grandin1-1/+17
Change-Id: I660b102e0e053e632ea6f1880e92652bc1ed5e5e
2015-10-12convert Link<> to typedNoel Grandin1-3/+2
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09correctly dispose the chart sidebar when leaving chart, tdf#94292Markus Mohrhard1-9/+20
This is a much better approach than my old one that tried to use the correct XModel with the chart sidebar. Now everytime we leave the chart edit mdoe we destroy the chart sidebar panels and recreate them when we go back to chart edit mode. As a result we no longer need to have worry that much about using the correct ChartModel and about the lifecycle of the ChartModel. Change-Id: Ie85ad82968e20a81f059d4bd930a83a70da35fc9
2015-10-09no need for using rtl::OUString in core codeMarkus Mohrhard1-1/+0
Change-Id: I6fc8a928374de48910395685b500ba95e8621d39
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I539f08ed94326d27c9ae8808d006c31d8403cd18
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: Iaa340068ed1361e6bc0160ae9c44873c06085abf
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+0
Change-Id: Iaacaa3767398cea4c7850c3a8d186cf3754c4736
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-7/+3
Change-Id: I08c015da8f93b2c32c8c467ee633b4cd5a71a550
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: I30263e362a30f9b625d4e87f82c2ad2c403a1882