summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
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
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06idle includes and enum useJennifer Liebel
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03TyposJulien Nabet
Change-Id: I64995f15e8367412f345c6505668a1c560eef1ef
2015-03-01fix loopDavid Tardon
Change-Id: I152f7bd7f528d0c485c11ba5e31e8678744a97fb
2015-02-25convert SFX_CHILDWIN constants to enum classNoel Grandin
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
2015-02-25remove unused header definitions in SotExchangeNoel Grandin
Change-Id: I795ce25011509de8f2aff488d4d46b86290ab3a3
2015-02-25convert SFX_SLOT_ constants to enum classNoel Grandin
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
2015-02-21Typo: "window" not "widow" hereJulien Nabet
Change-Id: I68fc6c2f6564ea61fd83bb610813a5476dcced39
2015-02-21-Typo: (dis)apear(s)->(dis)appear(s)Julien Nabet
Change-Id: Ie5d18aa59885172bd701ddcfb0e62f5ad3816de9