summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2014-07-20fdo#63756 build libxml2 with ICU supportDavid Tardon
Change-Id: I0523e49e640812be435ba4c97b1881ca253eb2ab
2014-07-17fix spelling structur -> structureNoel Grandin
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
2014-07-17rename the Weak stuff in tools/ref.hxx to WeakRefNoel Grandin
.. which more accurately reflects it's purpose Change-Id: Ibb87a47a3d1f3e35ac2820f14c71adf3b227c961 Reviewed-on: https://gerrit.libreoffice.org/10283 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-14fdo#81304 don't parse file name as part of URLDavid Tardon
... because the name is not URL-encoded at this point, so parsing it as a part of the URL will interpret special characters, e.g. #. Change-Id: I780baed1753e9674d835dc296d31c088b67d8ba7
2014-07-14inline tools::SvRefBaseRef typedefNoel Grandin
..it is only used in two places Change-Id: If333936b26592ed44d3525f2eb3c21aafde7dddc
2014-07-14Related: #i125226# expect DDE servers to be already upHerbert Dürr
"soffice" is always up anyway and other DDE apps should be started manually (cherry picked from commit e0bfdb26cef87c8d3b3435293116a33cf99c11f0) Conflicts: sfx2/source/appl/impldde.cxx Change-Id: I52ebb26528952a4abf33ac95cb67c598f08b2790
2014-07-13SfxModelessDialog ResId ctor bites the dustCaolán McNamara
Change-Id: Ia1bc255de0f38c058a3ab622d87af8b346a2075f
2014-07-11Convert DLG_TEMPLATE_INFORMATION to .uiPalenik Mihály
Change-Id: I66469c17a46c1157b8e3801c0dc2b252c569a4bd Reviewed-on: https://gerrit.libreoffice.org/10213 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11new loplugin: externalandnotdefinedNoel Grandin
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-10make label translatableAndras Timar
Change-Id: I1e7703489ad9c41efbd22863fc9dbe86afee5e3e
2014-07-10MD_DDE_LINKEDIT conversion to .uiSzymon Kłos
Change-Id: Id058400bad5a8b100ef5a07060ea1c5013c6e6d6 Reviewed-on: https://gerrit.libreoffice.org/10146 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-10Related: #i125226# disallow absolute and relative paths for DDE serversHerbert Dürr
(cherry picked from commit 6b64ada6e3a902ac4b44fe49476514d49138d4d4) Conflicts: sfx2/source/appl/impldde.cxx Change-Id: I127add375a127dbbd0eaf12a10884e2636f1a332
2014-07-10Related: #i125226# some macro preferences are directly...Herbert Dürr
applicable to DDE servers (cherry picked from commit 2c835e761e1e9ddb6794895e6f3538b918160dd1) Conflicts: sfx2/source/appl/impldde.cxx Change-Id: Ic16b3df34ac1b003a8a5cabab15ea655d05bdd18 Related: #i125226# typo fix (cherry picked from commit 727ea069c6342e01a50c8b068ec302574b251cbd) Conflicts: sfx2/source/appl/impldde.cxx Change-Id: I8db53b7e8529d05e660a2d69e669b44c9045712c
2014-07-10Related: #i125226# don't try to access known-bad DDE serversHerbert Dürr
(cherry picked from commit 88de6a59d9d7933b86fdcba733277aa4fbd5e132) Conflicts: sfx2/source/appl/impldde.cxx Change-Id: If4dcd49cfe15188d06e4e06cd8e58cdcc66ed5a4
2014-07-10coverity#1224981 Dereference null return valueCaolán McNamara
Change-Id: I1623f7d61e849a59c8f23f2df18827df4a9c25c0
2014-07-10coverity#1132691 Dereference null return valueCaolán McNamara
Change-Id: I0da2f6956cf7675cce0d7d82a0ec797b50542c7f
2014-07-09provide a route to get the default document targetsCaolán McNamara
Change-Id: Ia163d2a69b33c18e18f81f0f82855d1caa4c2c1a
2014-07-08use SimpleReferenceObject in svtools moduleNoel Grandin
to replace hand-rolled version Change-Id: I7a1048ff1ea335c3934fe7e91a09489a4d7aeb96
2014-07-07Resolves fdo#80477: duplicate key for Help button in Start CenterAdolfo Jayme Barrientos
Change-Id: If46baf8613c6202e84a985ad7e2ce658e1d42193 Reviewed-on: https://gerrit.libreoffice.org/10102 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-06coverity#706056 Unintended sign extensionCaolán McNamara
Change-Id: Iafb36f8135893186710ae3a939e50596a372d065
2014-07-06coverity#706055 Unintended sign extensionCaolán McNamara
Change-Id: Ie917cfd5f41a6f5e58a4c629a6a5b800e2e0b42f
2014-07-03error: reference cannot be bound to dereferenced null pointerStephan Bergmann
Change-Id: I4a5c83ba0f1e741104edc933459e7aea9c4aac1f
2014-07-03coverity#708816 Unused pointer valueCaolán McNamara
Change-Id: I2ea7d4a8b142d67afa43ce165b51d81f65d251de
2014-07-01salplug:literaltoboolconversionStephan Bergmann
Change-Id: I94b3bea97b6b4710bd4bf4c0fe88a1518a151de5
2014-07-01coverity#735850 Dereference after null checkCaolán McNamara
Change-Id: If164a92ed502502ce1b25ecddaa8852e83eb4f3c
2014-07-01Related: fdo#80633 cache optimal sizeCaolán McNamara
Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-30Make sure IMPL_STATIC_LINK's type matches Link::pFunc's typeStephan Bergmann
...to avoid -fsanitize=function warnings in Link::Call. Change-Id: I837b35bd3052716fbb41bf4f893961257d1f9b2c
2014-06-29Typo: beeing->beingJulien Nabet
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-27fdo#69036 do not try to create a sfxApplication when we are tearing-downNorbert Thiebaud
This was triggered by connectivity calc driver, which on shutdown was trying to 'dispose()' it's connection which in turn would, if the shutdown of calc was already done try to re-create an sfxApplication instance, just to delete illusory inexistant documents... Change-Id: Ic166367ca399d613743f379ebbfbffb5813701c0
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27Related: fdo#65634 make sidebar react to resizes when floatingCaolán McNamara
the parent isn't a SfxSplitWindow in this case, but it should still react to the resize Change-Id: Ia298d45b33fc272d6169df12cf2c58a881255163
2014-06-27Resolves: fdo#65634 improve wheel-scrolling sidebar panelsCaolán McNamara
Change-Id: I213d85a1e2bbd2377f6f0326433ddd57dc346721
2014-06-26loplugin:staticcallStephan Bergmann
Change-Id: Idea97df52106af64f6c5605460756d48296551e2
2014-06-26drop the functional partsCaolán McNamara
appears to work without it as far as I can see Change-Id: Ibe19addeeb38f853a515aef36d6bc83d338e1c0b
2014-06-26Resolves: #i124914# reset certain language dependent pool defaults...Oliver-Rainer Wittmann
before importing a document via <SfxObjectShell::ImportFrom(..)> (used for OOXML *.docx import) (cherry picked from commit 920bf1164fe0c3d232dc0f7d476eec1660f4690e) Conflicts: sfx2/inc/sfx2/objsh.hxx sw/inc/docsh.hxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx Change-Id: Id32bd6a8ef081dd4af4d832aa42317de7f64184f
2014-06-26clang: Branch condition evaluates to a garbage valueCaolán McNamara
Change-Id: I522f9e9178dbda466a355bc84d97f5458005e131
2014-06-26OSL_ENSURE->assertCaolán McNamara
Change-Id: Ib8ba49e89d03eaf3b3aae94dbbf121898ba9e8de
2014-06-26clang: Use-after-freeCaolán McNamara
Change-Id: I5dd857dbf39c8cd62df8b8cd0323b873a79976ae
2014-06-25remove spurious com::sun::star::util prefixMichael Stahl
Change-Id: I002a14fe0cb0cbdb4d5da51db8da6c8208cf604e
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-23fdo#76203 - use consistent titlecase for UI title labelsJoren De Cuyper
Change-Id: Icae67c083ca867c89cff7f9d5d44dbbe4aadcba9 Reviewed-on: https://gerrit.libreoffice.org/9858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-20Missing null checkStephan Bergmann
As Kendy found out, "In Writer: Enable the drawing functions [view -> toolbars -> drawing], choose 'Line Callout 1' among the presets Callouts [to the left from the stars], and attempt to click and drag in the document to insert it" triggers assert in SvRef<T>::operator* introduced in 160ae9889e4d16217a7cca7d930f776f5a645ec8 "Catch illegal null pointer dereferences early." Given how most places in sfx2/source/doc/sfxbasemodel.cxx already check for null m_pObjectShell, looks like this had just been missing here, and the SfxDocInfoListener_Impl's modified has probably never been called, so it went unnoticed that its m_rShell was a "null reference." Change-Id: I6b6dad831938d5fa89340895b98797686b60c5cc
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19GetFileTimeValue can produce a "null" DateTimeStephan Bergmann
Change-Id: I96bf1aa2d889c4d0925d073d1d7b4be47c23b3ac
2014-06-19Prevent null pointer dereferenceStephan Bergmann
Change-Id: Ia197152f6ece37dd2dd2ce1b41c1dfd1a985781c
2014-06-18coverity#1028261 Uncaught exceptionCaolán McNamara
Change-Id: I7dd08c182657084ffa635e1960f4d0def6d7a6bb
2014-06-18Use ImplInheritanceHelperStephan Bergmann
Change-Id: I259bf6012684e393765cfd73e813bcf2875abd5f