summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2016-01-18loplugin:unusedfieldsNoel Grandin
Change-Id: I321b594f1190cdd997b4769161e1c02d31f46213 Reviewed-on: https://gerrit.libreoffice.org/21566 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-14sfx2: Convert the exception to one that we actually announce.Jan Holesovsky
Otherwise saving to a non-existing http:// URL leads to a crash. Change-Id: Ia4b49e2872616545dcedb2fc5553cf5a20a1f97d
2016-01-14loplugin:unusedmethods unused return value in sfx2Noel Grandin
Change-Id: I9c16c3f2754f181571faf7d5e1c48fa8bda59f7d
2016-01-14tdf#95845 Use CommandInfoProvider to receive UNO command labelssusobhang70
Change-Id: I04227652cc1b94129514ddb61ce66d7d9b365807 Reviewed-on: https://gerrit.libreoffice.org/21402 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-01-13Just use the strings as suchTor Lillqvist
Change-Id: Iab4d669ef5dc397786de2aadc2222d4efb7a244a
2016-01-13Increase relevancyTor Lillqvist
Change-Id: I3a7e46f96898d535b4beff35fdf7245c0eea989e
2016-01-13Revert "svl, sfx2: WaE - unused variables removed"Stephan Bergmann
This reverts commit d2dc3c20ab6240884164ab89f9388958069697fc, conflicts with 200434b1419afe375e104da76c68f81253374645 "-Werror=unused-but-set-variable" pushed slightly earlier.
2016-01-13svl, sfx2: WaE - unused variables removedChris Sherlock
Change-Id: Icb465506f945ab35a732db488ae9cef8f248d09f Reviewed-on: https://gerrit.libreoffice.org/21417 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-13-Werror=unused-but-set-variableStephan Bergmann
Change-Id: I142e95b9736545c7771274e315419cec12d9cf49
2016-01-13loplugin:unusedmethods unused return value in include/sfx2Noel Grandin
Change-Id: Id4017bdfe18f8224d28a9f787865c7a880aeeed8
2016-01-12SfxObjectShell::ImplAnalyzeSignature: handle SfxFilterFlags::SUPPORTSSIGNINGMiklos Vajna
Change-Id: I9d45d3a39c8332c01fcc23dcc5da8db7ed4c5cdc
2016-01-12comphelper: initial SfxFilterFlags::SUPPORTSSIGNINGMiklos Vajna
Currently digital signatures can be made only on OWN formats. Add a new flag that can be used to mark filters (only DOCX as a start) which could also support signing and fix the first place that assumes that only OWN formats support signing. Change-Id: If9fbf956b765d75838986762e4d4063a9e8c0b5e
2016-01-12GetImageFromURL/SetImageProducer unusedNoel Grandin
looks like these have been abandoned recently in the toolbar manager update Change-Id: I5556833dfef0db5958a5779bdb32482c18a46a5f
2016-01-11loplugin:defaultparamsStephan Bergmann
Change-Id: I919f9f5f9ccb1429624f9c8e75574fec71a2b370
2016-01-11Merge BitSet into IndexBitSet (and remove unused parts)Stephan Bergmann
Change-Id: I8cab0aac2f67b88936e4bed459dd43b08429b136
2016-01-11loplugin:privatebase: Make derivation from BitSet explicitly privateStephan Bergmann
Change-Id: I9c61aee4cbf3f461c84f064ac8259e51aa7b0ada
2016-01-11loplugin:privatebase: Make derivation from noncopyable explicitly privateStephan Bergmann
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
2016-01-11sfx2: change variable jan to aUsageInfoMessage for clarityChris Sherlock
Change-Id: Icc9d9b277ce2dca5ee13c381a105c387a42525c7 Reviewed-on: https://gerrit.libreoffice.org/21337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11PCH support on LinuxAshod Nakashian
Fixes and improvements to support Precompiled Headers on Linux. Change-Id: I8145c146b0dba56c7a4d0fdf9c330164b67ada53 Reviewed-on: https://gerrit.libreoffice.org/21307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10tdf#95505 Dump usage stats to text fileAybuke Ozdemir
1de031c94b2ef9c4ae45a8906b250a95d3c47c47 Change-Id: I1de031c94b2ef9c4ae45a8906b250a95d3c47c47 Reviewed-on: https://gerrit.libreoffice.org/20413 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-01-08SfxTemplatePanelControl doesn't have to be a DockingWindow anymoreCaolán McNamara
so we can drop one more DockingWindow from .src files leaving just one left Change-Id: I2e12398ce7682193aace966ebb8d153ec9acea2e
2016-01-08Float is never a SfxDockingWindow anymoreCaolán McNamara
Change-Id: I22ddb6416c48ab72bf3ee4a7e7d664bfd0dd51f1
2016-01-08implement the style pane right toolbar the same as the left toolbarCaolán McNamara
Change-Id: I1a031facad52afbc84b06610f9bdd0a9f118ebeb
2016-01-08Bump copyright year to 2016Adolfo Jayme Barrientos
Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
2016-01-06tdf#96926 Restore still used stringsMaxim Monastirsky
Regression of 7dd77a12713c0557c5826d3541e97ef6120e1d00 Change-Id: I7f4bb251b831c9f5ee9e3c6ae2f9b1b8f7c34686
2016-01-05Make SotFactory private to sot/ and clean a bitMatúš Kukan
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
2016-01-05tdf#91065 Support localization of Properties dialog titleArul
Having a place holder for substituting the file name instead of concatenating it in Properties dialogue title. Change-Id: I8b3bafbc95c857fa5957bfdafbded5dde94e0e64 Reviewed-on: https://gerrit.libreoffice.org/21107 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-05tdf#94205: Use o3tl::make_unique insted of new+std::move.Sheikha AL-Hinai
Change-Id: I9ff14760479d2ac882546e2e5b74ab750ba2fa4b Reviewed-on: https://gerrit.libreoffice.org/20984 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-04Remove two pointless DBG_ASSERTs "There is no Dde-Service"Tor Lillqvist
Avoid hundreds of presumably pointless warning messages in some unit tests at least. The code explicitly checks and handles the asserted condition not being true right after the DBG_ASSERTs. Change-Id: I5482c56aeeadb8f85dfdd03e12960abd7e769c56
2015-12-27sal_uLong/sal_uIntPtr/sal_uInt16 to sal_uInt32Matteo Casalin
also avoid some explicit temporaries and group some checks. Change-Id: I7795b208dde53fd383b8c75f72dd9f56429aea2b
2015-12-24loplugin:unnecessaryvirtualNoel Grandin
and unwind some apparently now unused VCL OpenGL and GlyphCachePeer stuff. Change-Id: Ic85302d4e1ad4056dabc49c97a608891052e3167 Reviewed-on: https://gerrit.libreoffice.org/20920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-23loplugin:unreffunMaxim Monastirsky
Change-Id: If2ad0e252d2cfa204564b86cb2c6d0886d5fa107
2015-12-23New saving behaviorMaxim Monastirsky
Changes in this commit: - AlwaysAllowSave config is gone. Saving is always permitted, unless in a read only document. Also changed the behavior in dbaccess to match sfx2. - The toolbar save button is always enabled, to always give access to the dropdown. That's the case even in a read only document, except that it changes to DROPDOWNONLY, and the save as command icon+tooltip. In table/query designers we still disable the button in read only state. - When the document is modified, the toolbar button gets a special icon to indicate that. TODO: - Icons for the document modified state are still missing. I added some fake links to Tango's links.txt in order to test the new behavior. These links shouldn't stay as-is in a production version! Change-Id: I56c169bf48b78faaf53c2989ce8624f8297ffb6e Reviewed-on: https://gerrit.libreoffice.org/20839 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-23loplugin:unusedfields in /includeNoel Grandin
Change-Id: Ia406e727890a365cc89831c96140cad8240f9b61
2015-12-21loplugin:unusedfields in sfx2,slideshow,starmath,stocNoel Grandin
Change-Id: If3622b23c45dd3a2a4e9869452142d1f6b47919e
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-12-20sfx2: SAL_WARN on the early error returnMichael Stahl
Change-Id: I77269323a54309658d959adc3076f0d7af0353ce
2015-12-18LOK: get feedback for all of the font/back color commandsMihai Varga
Change-Id: Id4aac707666420752b985bcfd03b5b9bb99f79f1
2015-12-18tdf#93837 sfx2: Allow loading xml menus by resource nameMaxim Monastirsky
Change-Id: Ibaeeb0f891017862578440ad874f2ceb91d11874
2015-12-18related tdf#96398 pull out more NPAPI-related codeThorsten Behrens
Fixup windows PCH plus pulling out more code now unused due to NPAPI removal. Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4. Change-Id: I8ad42a28139ceeab0cae1f608d55beb28c159db3 Reviewed-on: https://gerrit.libreoffice.org/20783 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17nConfigId is always 0Maxim Monastirsky
Change-Id: Ic314bc04a22ebf23fa7b06dca06e4d2afae096f9
2015-12-17[API CHANGE] Remove NPAPI-related UNO APIThorsten Behrens
Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4, related to tdf#96398, removing more client code. The following published interfaces are removed: com::sun::star::mozilla::XPluginInstance com::sun::star::mozilla::XPluginInstanceNotifySink com::sun::star::mozilla::XPluginInstancePeer com::sun::star::mozilla::XPluginInstanceSyncPeer com::sun::star::mozilla::XPluginWindowPeer com::sun::star::plugin::PluginDescription com::sun::star::plugin::PluginException com::sun::star::plugin::PluginManager com::sun::star::plugin::PluginMode com::sun::star::plugin::PluginVariable com::sun::star::plugin::XPlugin com::sun::star::plugin::XPluginContext com::sun::star::plugin::XPluginManager Change-Id: I3818a23e0f46fd01bfe9be11b57f6a551c013441 Reviewed-on: https://gerrit.libreoffice.org/20780 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17Fix creation of infobarSamuel Mehrbrodt
Fallout from 7dd77a12713c0557c5826d3541e97ef6120e1d00
2015-12-17gtk3+wayland: start floating windows hiddenCaolán McNamara
once they are visible we can't move them under wayland, so start then hidden, move them and then show these floating windows are very delicate. Change-Id: Ia233c23f25cec453df79ef70cab6210dbdd280a0
2015-12-17Remove unused ToolPanel (aka TaskPane)Samuel Mehrbrodt
Superseded by the Sidebar Change-Id: I54970d71cd9d42de4f47b223e50dd9474b40632a Reviewed-on: https://gerrit.libreoffice.org/20724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-16sfx2: clean up no longer needed SfxObjectShell::isTiledRendering()Miklos Vajna
Change-Id: Ia4fb0b489509364c641f8e1e695353bbdb036b59
2015-12-15fix missing BaseURL when loading embedded objectsMichael Stahl
When the object is edited in the UI, the m_xClient is set to a SfxInPlaceClient and the DocumentBaseURL is retrieved from it. But if the object is not edited, it will be loaded during export via the API and without a m_xClient; in this case the DocumentBaseURL must have been set previously to be available during import. There appears to be no way to get the URL of the document via the API while it is being imported; SfxBaseModel's m_sURL is unfortunately only initialized from SfxObjectShell::FinishedLoading(). During ODF import, the SvXMLEmbeddedObjectHelper creates the embedded object, so let's make it pass in the parent's BaseURL. The "DefaultParentBaseURL" parameter already exists but was unused previously. Change-Id: I3d1ed29b3a2c0e77ec606a1d09f7bc07e7860733
2015-12-15sfx2: fix valgrind warningMichael Stahl
==7727== Conditional jump or move depends on uninitialised value(s) ==7727== at 0x9121E24: SfxDockingWindow::Resize() (dockwin.cxx:451) ==7727== by 0x3CADFAC3: SmElementsDockingWindow::Resize() (ElementsDockingWindow.cxx:753) Change-Id: Ie6e8a61f6c295373e5ccad409e2557e7c2dd6c1a
2015-12-15tdf#95792: fix saving file the first time on some WebDAV servers.Giuseppe Castagno
Some WebDAV servers don't implement section 7.3 of RFC4918: <http://tools.ietf.org/html/rfc4918#section-7.3> This lack of implementation breaks 'Save As...' functionality when the target is a WebDAV server, by not locking the URL ('reserve the name for use', in RFC4918 parlance). The server not implementing this usually answers with one of '405 Method Not Allowed', '501 Not Implemented' or '412 Precondition Failed' http error codes. The fix should manage this lack of implementation. Change-Id: Ie4689a076aafa365106d02b3ea16459a28fcde65 Reviewed-on: https://gerrit.libreoffice.org/20600 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>