summaryrefslogtreecommitdiff
path: root/svtools/source
AgeCommit message (Collapse)Author
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-24add border width to optimal size when presentCaolán McNamara
Change-Id: I37c396c3c61521e140d290fd8f17220f60c43284
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-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-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 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-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-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-03ditch unused LANGUAGE_USER[1-9]Eike Rathke
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-02drop prefix from ::cssThomas Arnhold
as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
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
2013-04-01svtools: restore filedlg2.hrc/srcMichael Stahl
This was removed in f7f9b74163acd6811ccfaabb2a1d762225258e15 but is still used in Mac-only fps_aqua library. Change-Id: I227c6962906b533754ec999f36a2f9224465ce22
2013-04-01Related: #i119403# take transparency into account in both InvalidatesCaolán McNamara
which would seem to be a good idea Change-Id: Id6981851f7ecacab60247af1ef38e06ebb9a7f82
2013-04-01Resolves: #i119403# GridControl not refreshing after deleting rowsJürgen Schmidt
fix: take care of transparency attribute of the control Patch By: Tsutomu Uchino Found By: Wolfgang Becker Review By: jsc (cherry picked from commit 44f7914e0606caff822957b189a4459ccc5e2aad) Change-Id: I77c5339747aa5ad223b8c220f934627d0202d4cb
2013-04-01Resolves: #i119149# - Fix triggering of selection changed eventAriel Constenla-Haile
Original author: Tsutomu Uchino <hanya.runo at gmail.com> (cherry picked from commit d81d9022c27648c993df820c01a6e1bf2bf1ad8a) Change-Id: I6d485c2c6f9c81f67c07c313737db637991232fc
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I7b3fb6f5c8b4dfed5ff225edecfe41d85a6f621d
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I947709235e714a208eff6b57a7eba2f7dd386893
2013-03-30Prefer to be sure not to have invalided iterator problemsJulien Nabet
Change-Id: I2d520b88927c6acb3d248da05815822315bd066f
2013-03-30Optimize a bit iterators stuffJulien Nabet
Change-Id: I93de737265651a47a2ed0a56bca27bd19a5c5770
2013-03-30Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
+ convert some while loops in for loops Change-Id: Ia68ce1b6297ad061233e56be2abf5b6ea98d3ddd
2013-03-29replace PathDialog to xFolderPicker, remmove obsoleted PathDialog classAndras Timar
and at the same time we got rid of tools/fsys.hxx dependency in svtools Change-Id: I5237529681a8b6ec32f41086af41ac575fbcff9b
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26WaE: private field 'mxSourceDocument' is not usedTor Lillqvist
Change-Id: I83d5f4bdbd80dcbd53e4576919779233fbcfb699
2013-03-26WaE: unused variable 'nPages'David Tardon
Change-Id: Iccc8dc88e9afe7713e5d8b7ffdd94b0a42277b23
2013-03-25Export current Writer page as jpg/pngTomaž Vajngerl
This is first step to rework of graphic exporting. The idea is to replace the exporter that works only for Draw/Impress and replace it with a general exporter for any object. With this it will be far easier to export objects as charts. Currently only Writer is supported and only jpg/png. Additionally, this commit introduces a new Export dialog which supports setting the pixel width, height and DPI. Change-Id: I7302b26bd432840d7ef0c3d2d2e13ff150cd2a07
2013-03-25Fix spelling errors and typos: 'unkown' change to 'unknown'vincent
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-23fdo#61379 Java options are under Options - LibreOffice - AdvancedAndras Timar
Change-Id: Ic7b262f4b75e7f2069f88f753cea5ff8f59610b7
2013-03-21coverity#735364 Logical vs. bitwise operatorJulien Nabet
Change-Id: I116db00e16a8cb962ee7c98d9bfafb69312c1333