summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-04-04callcatcher: update unusedcodeCaolán McNamara
mostly changed due to loplugin:constantfunction Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
2015-04-03Resolves: tdf#89885 use a readonly GtkEntry for locationCaolán McNamara
Change-Id: I324d5e0776da942eae62984b96951d9947702b49
2015-04-02Kill INetProtocol::NewsTor Lillqvist
Change-Id: I393edc816aaf189b1001e630c76f67dd53fd5be3
2015-04-02Kill INetProtocol::Imap and Pop3Tor Lillqvist
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
2015-04-02tdf#72337: sfx2: make the SfxMedium stream-reuse hack runtime-optionalMichael Stahl
SfxMedium::GetOutStream() does something different on WNT to solve sharing issues on one kind of file server but that causes issues with some other kind of file server that worked before. Make this runtime-changeable with (undocumented) env variable SFX_MEDIUM_REUSE_STREAM. (regression from 3d12549335229aca1a6a57575292111274709992) Change-Id: Id7a1fc8169dbf09c67a109b36ffa312ef33231c5
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02Remove obsolete INET_PROT_PRIVATE aliasStephan Bergmann
Change-Id: I6c82dad9d69e19d5596f23eacfbd20768f9f6442
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I1fee5879bbf0293dc765247f0587ce52c1570a3e
2015-03-31sfx2: fix VBA crash when disposing SfxBaseModelMichael Stahl
Crash on WNT in CppunitTest_sw_globalfilter testSkipImages() SfxBaseModel::dispose() calls some event listener that deletes the BasicManager instance; unfortunately SfxObjectShell_Impl has a SfxBasicHolder member that still refers to the deleted BasicManager and then something calls vba::getVBAServiceFactory()... Try to fix that by clearing the SfxBasicHolder member via SfxListener. Change-Id: I65f2ec8e9eb598be218136c06ed8de35a464a971
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I872e6010b1068fe0f19f5f934c1124c7073160e1
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
2015-03-28Bin a few SAL_INFOs that basically just say "we are here"Tor Lillqvist
Such are fairly pointless to keep permanently in the code. Use a temporary SAL_DEBUG if you need tracing output when you reach a certain lines while hacking. Change-Id: I13a898486731c6d2995e92e2c5dcd0d1429e47cc
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I59526bea5104def80e98902e4cf16e7bcfaa250c
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-24SkipImages option for document importLászló Németh
This option allows images and drawings to be skipped while importing DOC and DOCX, for text-only conversion or indexing. Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918 Reviewed-on: https://gerrit.libreoffice.org/14733 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert SfxPopupWindowType to enum classNoel Grandin
Change-Id: I03813103d648c5745beab740403c7912cdff2756
2015-03-24convert FILTER_APPLICATION to enum classNoel Grandin
Change-Id: I9ad1d1c9a2d9d538a4cc95f0b65f45f631116916
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24convert SvxZoomType to enum classNoel Grandin
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24convert sfxlink to enum classNoel Grandin
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-24convert SfxChildAlignment to enum classNoel Grandin
Change-Id: I9013bc6dace79421b0a9ad0401a4fb59365d4dcf
2015-03-24convert SfxPopupAction to enum classNoel Grandin
and move it out of the header file, because it's only used inside one .cxx file Change-Id: I94b8cb957b86b1ee51e654b2d247269ef2cec88a
2015-03-23tdf#90095 Fixed wrong behavior of template delete dialogMichael Horn
The template delete dialog was coded in such a way that the default behavior was to delete the template/folder unless the user pressed no. This caused the template to be deleted if the dialog was closed using the "x" button. I changed the logic so that the dialog will only delete the template if the user presses yes. Any other button press will do nothing but close the dialog. Change-Id: I7977fd48b3e0cc440cc1e15056b448e7ae23476f Reviewed-on: https://gerrit.libreoffice.org/14937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-23HAVE_FEATURE_SCRIPTING, but no config_features.h include.Jan Holesovsky
Change-Id: I46119fbae611a762930db9cccdd11c35788c9f9c
2015-03-19coverity#1288895 Explicit null dereferencedCaolán McNamara
Change-Id: I3b8fe2e1aec18b41b1d4553bca0fa6c52d5cfde6
2015-03-19WaE: -Werror=maybe-uninitializedCaolán McNamara
Change-Id: I310099e8e12fb6440e98fbca97af512a4f872ac0
2015-03-19loplugin:constantfunction: sfx2Noel Grandin
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18sal_uIntPtr->SotClipboardFormatIdCaolán McNamara
Change-Id: I087c82cb5f0e5194ddd799b393d1fd55a4ad06d0
2015-03-18SotClipboardFormatId::FILE->SotClipboardFormatId::SIMPLE_FILECaolán McNamara
Change-Id: Ice4963da8a856b1d2ada13e5b699157a0217e06c
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-17loplugin: add Dialog to unusedvariablecheckNoel Grandin
so that we find dialog that have been instantiated but not actually executed Change-Id: Ia308e832780627c0a8de71a9d64dabcb3b861a9c
2015-03-17SfxTabDialog: avoid changing const input parameterZolnai Tamás
* SfxTabDialog constructor has a const pointer parameter pointing to the input set and also the corresponding member is a const pointer which indicated that set is not changed by the dialog, but this is not true, const is casted away and the input set is changed. * So use a copy of the input set instead, pointed by a non-const member, so we can spare some const cast and misunderstandings. * GetRefreshedSet not behaves as a getter method, but changes the input set instead, so redeclare it accordingly. Change-Id: Ic63f9ae68c50e65d4498b20f597547c1c075b94e
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-12sfx2: PVS-Studio V595 'pLastState' pointer could be nullMichael Stahl
... actually not but perhaps removing the pointless duplication helps. Change-Id: I004fea113674703264d22eb9c7a397916e85a2f6
2015-03-12sfx2: PVS-Studio V595 'pDispatcher' pointer could be nullMichael Stahl
... but actually not. Change-Id: Ia80b416875442dd257ab31f1426b06cc05ffa5c3
2015-03-12sfx2: PVS-Studio V595 'm_pResMgr' pointer could be nullMichael Stahl
Change-Id: I0701631c928f198e4bb0884c78b3586402a6fcd6
2015-03-11mailmerge doesn't need to use the singlefile technique for printingLuboš Luňák
It should be sufficient for every record to just update the fields and print the document. The printing code apparently rather expects to do the printing in one go, so split the functions up there. Conflicts: include/sfx2/viewsh.hxx include/vcl/print.hxx sfx2/source/view/viewprn.cxx sw/source/uibase/dbui/dbmgr.cxx sw/source/uibase/uno/unomailmerge.cxx vcl/source/gdi/print3.cxx Change-Id: I4d17c703b3220f47609fc4b054ce048b299a0c92
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-11convert CHILD_ constants to enum classNoel Grandin
Change-Id: I1aca134fcc0384df4797cacafa9fbc1ed88d6617
2015-03-11convert SfxDockingConfig to enum classNoel Grandin
Change-Id: I2cfc9f2f165f970daa2dc42ec4d733dde968b55a
2015-03-11convert SfxChildIdentifier to enum classNoel Grandin
Change-Id: I7fb7b76d0642653efb9f3cfe2b55e3a7c5972c5e
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06Idle Timer: Invented Base ClassTobias Madl
Change-Id: I03db46afcc0cb5e5d7a134b1bdd327abb542e63c