summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2013-04-27some eco-activismThomas Arnhold
Change-Id: Ib447cd8633c3102ee78c919cfbeabcc88018b130
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-26EmbeddedObjectRef: guard against div by zeroMiklos Vajna
With this, if dc92bac5df72ecca123472a5e945b1864a17f457 fails, it won't crash, just the assertion will fail. Change-Id: I9830094088819cade7cf47d1f25d34bb6eb52ae6
2013-04-25fix scrolling performance of listboxes with hundreds of entriesCaolán McNamara
make it approximately infinitely faster a) add a method AdjustEntryHeightAndRecalc that just does AdjustEntryHeight and RecalcViewData and replace all the places that do the two of those together with that utility b) in our SetFont now only call AdjustEntryHeightAndRecalc if the new font is different to the old font, ignoring color which doesn't have a bearing on row size. c) where we originally called SetFont(GetFont()), which would have triggered AdjustEntryHeightAndRecalc, now call the new AdjustEntryHeightAndRecalc explicitly. The performance problem apparently a regression from ac7acb0ab1329913b0cec79790adcde0263960be where we seem to now end up drawing on ourself and calling SetFont on ourself rather than on a pImpl without an overridden SetFont. So when we redraw on scrolling we triggered a cascade of calculations and force text layout of every row. Change-Id: I3c284c360f06ac383e8c38045fc4c2946f505b35
2013-04-25PCH quickfixStephan Bergmann
Change-Id: I457288d881ba74db2127e8543b0de70b6498002d
2013-04-25fdo#62088: Fix regression introduced by the DateTime incompatible change.Jan Holesovsky
It is not good to mess with the stream operators, more so when the size of the data changes ;-) Change-Id: Id02b83224496a28575f4e12196892de198793983
2013-04-25update pchThomas Arnhold
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-24add border width to optimal size when presentCaolán McNamara
Change-Id: I37c396c3c61521e140d290fd8f17220f60c43284
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22restore a FontSizeBox::GetValue variantCaolán McNamara
correctly removed by 994a737a317165db736f2a2f6a25b3439207da5d but we will need it again soon Change-Id: Ifedf8da2a33e834a5cba6da11c63c784572bd58d
2013-04-22restore FontNameBox from ResId ctorCaolán McNamara
removed by ecda52f6b3919950870f3ddb195d34d3baf71168 but we'll need it again soon Change-Id: I3a038c162beba7147ac7abc8bb4085b41140bf5c
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Remove pass-through header svtools/inc/svtools/txtcmp.hxxMichael Dunphy
Change-Id: I605ae778e57a12588dca274a4ee34a018004034e Remove pass-through header sfx2/inc/sfx2/imgdef.hxx Change-Id: I9a5ebabefccdd63b55d64aec26488542d0d362e3 Remove pass-through header xmloff/inc/xmloff/xmlcnitm.hxx Change-Id: If880679499daee2f77d1f6e148dba963d09bbb9c Reviewed-on: https://gerrit.libreoffice.org/3477 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18allow tree and tab boxes to have borders via .uiCaolán McNamara
Change-Id: I988f307d2ce88ac5f7e1ee7d7c5cffd352c963e0
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17Update pchAurimas Fišeras
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17-Werror=unused-macros (MinGW, svtools)Stephan Bergmann
Change-Id: I843a14b093c2cc21364dd3e3f1c6b5b5566999b0
2013-04-16UniString->OUStringCaolán McNamara
Change-Id: I217944d40ed7cd3a2fca4ad0d61729ff5d94ed96
2013-04-16Resolves: fdo#47209 and rhbz#927223 syntax highlighter crashCaolán McNamara
when trying to parse empty lines looking for the matching bracket Change-Id: I3961a3d0e804d136de286e21934c6ba5ab0496cf
2013-04-15make SvtURLBox ui buildableCaolán McNamara
Change-Id: I13a917c84678d4dc5a0e6dae80a1a494909ca1d3
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 informations -> informationThomas Arnhold
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-13Secure EmbeddedObjectRef::GetGraphic to react when something goes wrongArmin Le Grand
when trying to get the replacement graphic, better fallback to default ole replacement graphic (cherry picked from commit 9dc64b4255ed0f2eda0df3a3bbf59fa47202788c) Conflicts: svtools/source/misc/embedhlp.cxx Change-Id: I31db9bf954cfca8f9c10163b03346c2b796ee0c8
2013-04-11rename UI to UIConfigDavid Tardon
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-10SvtPathOptions with LanguageTagEike Rathke
Change-Id: I33f43c6d0249a6681d451a4be8c5548da4987f9c
2013-04-08Resolves: rhbz#949238 div by zero on pagedown in 0 width task paneCaolán McNamara
Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08fdo#46808, Convert svt::ToolboxController to XComponentContextNoel Grandin
.. and all of it's friends Change-Id: I408d9308d1d1a4f8ed0055ac5f4042d729c44d1e
2013-04-08convert address template dialog to .uiCaolán McNamara
seeing as it's an obscure dialog I didn't invest time in moving all the entries into the .ui and rework the scrolling logic Change-Id: If1dccbf01901bf4f754e49d5b38baf2033316410
2013-04-07Some cppcheck cleaningJulien Nabet
Change-Id: I07ef58fd99bc9fc4fd601570b59f9a3581824aa9
2013-04-07export RTF_LISTPICTURE and RTF_LEVELPICTUREMiklos Vajna
Change-Id: I5aac0e49013ce0f4b2e8e227bf4a6b61138884d4
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05Added and fixed various vba APINoel Power
Added OLEObject.LinkedCell Added ComboBox.LinkedCell Added Validation.Type Change-Id: I5ffc2212e689870d58ca99d1fbdfd7d101f8b50f
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
2013-04-03ditch unused LANGUAGE_USER[1-9]Eike Rathke
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-02implement import/export of RTF_MNORMiklos Vajna
Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11
2013-04-02drop prefix from ::cssThomas Arnhold
as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-02update pch filesThomas Arnhold
Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
2013-04-02remove XACC macroThomas Arnhold
Change-Id: Ide6eb5df56747d7ff1575f9eacd7fa2a9f627ca1
2013-04-01remove boilerplate commentsThomas Arnhold
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01svtools: re-add filedlg2 to ResTarget, and remove un-used resourcesMichael Stahl
Change-Id: I4e06e2d021e61d9816cf785322c13b80844f7415