summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2014-07-30Resolves fdo#79278: not too dark, not too bright background colorAdolfo Jayme Barrientos1-1/+1
This patch is based on Caolán's one at 68075a61c28a5c72429f78776a822ed45fdcb4a7 I've chosen the background color used in Windows program Paint.NET as our default background color. It's a nice compromise that doesn't look out of place anywhere. Change-Id: I5081201043be4a7ad6152d1ce59451daa4ece1ac Reviewed-on: https://gerrit.libreoffice.org/10527 Reviewed-by: Stefan Knorr <heinzlesspam@gmail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2014-07-24fdo#51534 - rulers should have app-background by default (apparently).Michael Meeks1-1/+5
Change-Id: I981febb02074ed323732ef7c19e89f1e946604f1 Reviewed-on: https://gerrit.libreoffice.org/10519 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-06-25fdo#51763 - make title of dialog localisableJoren De Cuyper2-4/+2
Following the bug report the title is currently not correctly localisable for Catalan language due format issues. Change-Id: I09107acb3f4acd7acf5a614216265373c59938b2 Reviewed-on: https://gerrit.libreoffice.org/9883 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 6162191b4a258d071382aeaa88aa80852b04ae2a)
2014-06-23fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida6-53/+83
(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9) Conflicts: sd/source/ui/view/sdview3.cxx xmloff/source/chart/SchXMLExport.cxx Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a Reviewed-on: https://gerrit.libreoffice.org/9836 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-19sizeof(bool) is not required to be 1Caolán McNamara1-1/+1
(cherry picked from commit 3daec14fd62a6a1655813d26e470513237129263) Conflicts: svtools/source/contnr/imivctl2.cxx Change-Id: I19ba4e27a4403d2c17d0bbf3f29c42e4745e4c41
2014-06-16Resolve fdo#79913 by checking index boundsArnaud Versini1-1/+1
Change-Id: I023a625d73724332245d612a61cb786acefc4cf2 Reviewed-on: https://gerrit.libreoffice.org/9791 Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 7eceffef49c9f498c5758d5e351c0f22126003e5)
2014-06-10avoid problems with poppler's and vcl's FontInfo during runtimeMarkus Mohrhard3-45/+21
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8 Conflicts: include/vcl/metric.hxx svtools/source/control/ctrlbox.cxx svtools/source/control/ctrltool.cxx svtools/source/control/stdmenu.cxx svx/source/sidebar/nbdtmg.cxx
2014-06-02add LANGUAGE_USER_FRENCH_TOGO 0x8C0C [fr-TG] French (Togo), fdo#79353Eike Rathke1-0/+1
Change-Id: Id1e127a3652d4bef280327c2a62d95c17c012656 (cherry picked from commit b247e5f77d23e5cc43ea7e176a5dc01e6b30f17d)
2014-06-02add LANGUAGE_USER_FRENCH_NIGER 0x880C [fr-NE] French (Niger), fdo#79352Eike Rathke1-0/+1
Change-Id: I6d793317bc1caef4a95275bad263a5b2feac12e4 (cherry picked from commit 4ffdd43ae43b504fbc920a3cf2685b00f8219580)
2014-06-02add French (Senegal) [fr-SN] to language list, fdo#79350Eike Rathke1-0/+1
Change-Id: I80e149700360eb9240c330e3e3d0c38c3785bfa4 (cherry picked from commit 469f5e51a938de824b72acdecf15df5ef60ed608)
2014-06-02add LANGUAGE_USER_FRENCH_BENIN 0x840C fr-BJ French (Benin), fdo#79351Eike Rathke1-0/+1
Change-Id: Idc54b0fae9283d795b79231214cf14aae43adca2 (cherry picked from commit 3a14b9357f13f777721d7af5539bdb385d09fdc5)
2014-06-02add French (Mali) [fr-ML] to language list, fdo#79349Eike Rathke1-0/+1
Change-Id: Ie37a547403d86906549babe87680be3c1658f603 (cherry picked from commit 1d6ef4f52d4bf187dc249a46469ea236fff930c4)
2014-06-02add French (Côte d'Ivoire) [fr-CI] to language list, fdo#79348Eike Rathke1-0/+1
Change-Id: I4041fe39c1a1186e381526ae5f806efb7e56dce0 (cherry picked from commit aa52f96089a8de1c734d856e41b96f434fce5cf9)
2014-05-23switch the Western language list box to SvxLanguageComboBoxEike Rathke1-0/+14
This allows the user to assign an arbitrary (but valid) BCP 47 language tag to a portion of text, so that customized spell-checkers or other language-dependent tools can be used without the need to wait for LibreOffice to add yet another language to the list in the next release. +bool SvtLanguageTable::HasLanguageType() (cherry picked from commit 2a8eff589a53c8dd65e18d7a9d11cdb98a937e68) + SvxLanguageComboBox EditModifyHdl(), SaveEditedAsEntry() (cherry picked from commit 29c024afbe6a46459e37c5ceec510de1cd0ca7c8) handle SvxLanguageComboBox edit (cherry picked from commit 1aad7628dcd7fd14d48814d00c3d04e4ec0c59d5) finally switch the Western language list box to SvxLanguageComboBox (cherry picked from commit dbe8b3b6d4f2d2cc2e8c702b78034e9013f71e8f) advance start of edit selection on a matching entry ... to allow continuous typing. (cherry picked from commit fe2b8ef18b11b226fddd1cf3fc7f9133426a1b1a) Change-Id: Id57eb51b69e50be78f85d19a7b3623c1acdf6509 Reviewed-on: https://gerrit.libreoffice.org/9447 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet5-15/+15
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold5-6/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-18Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part17Julien Nabet7-77/+77
Change-Id: Ie6dbe87599c9cf53c7b9cc6becb9438e62cdb537
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante2-2/+2
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-16fix memory leak on pasting metafiles into writerCaolán McNamara1-1/+1
copying from mspaint to writer and then deleting the image in a loop will eventually exhaust all memory. regression since 004a29b9ac66f68af5ea12a2303a4b2be77d8145 Change-Id: I381285cda3823de7df0c1725a339943caf9536fe
2014-05-16trivial cleanupsCaolán McNamara1-3/+1
Change-Id: I50bc7ab36690e572825109de9f0b1bb11d26867f
2014-05-15p is for pointers.Kohei Yoshida1-2/+2
Change-Id: I7df56e7549e8ccccdfa9ca1b88f85e8c81e4a946
2014-05-15Actually this empty() check here is redundant.Kohei Yoshida1-2/+1
ResortChildren() does that at the very beginning. Change-Id: I696c9d796cc6631048fb3d9409d6eda1085a7612
2014-05-15Sort ptr_vector using its own sort() method.Kohei Yoshida1-28/+25
This also fixes memory leak via nested calls of release(). Change-Id: I3ba90901366319bb3ee870903130042b375f733c
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold9-25/+25
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-13BrowseBoxCheckInvariants appears to be unused [loplugin:unreffun]Matúš Kukan2-31/+0
Change-Id: Ie6c546ee085b20bd3eb39cdfb7b38394c0a35b67
2014-05-13Revert "remove unused code -SvtLanguageTable::AddLanguageTag"Eike Rathke1-0/+6
This reverts commit d812b784313ed85ae5085d54a3ae50aa064c053c. I added that code in preparation of changes I'm doing.
2014-05-13remove unused code -SvtLanguageTable::AddLanguageTagNoel Grandin1-6/+0
Change-Id: Ibb0dda4b48c711e72574c3f5aec9e3d1186d1526
2014-05-12whitespace cleanupMarkus Mohrhard1-8/+0
Change-Id: I511412f8b6d8ac2fcbac738d1ef5e6d5cd9928bb
2014-05-11remove external header guardsThomas Arnhold1-7/+2
Change-Id: I1c8b193c336d4fcb765e51e059032f84126b270e
2014-05-11fix-includes.pl: svtoolsThomas Arnhold67-166/+135
Change-Id: I509299306ab6cd97c96e9a26d4674f983bbffbec
2014-05-10coverity#708306 Uninitialized pointer fieldCaolán McNamara1-1/+2
Change-Id: Ia249608d5166273bb6be7b52185d48dffbc918d9
2014-05-10coverity#708336 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Ie4b6ea734d8ab77060848cd813b44d0727eb47c4
2014-05-10add on-the-fly language tags to the language tableEike Rathke1-0/+6
Change-Id: I5ca9e212374821de425729863c82f7b4699487a7
2014-05-10added SvtLanguageTable::AddLanguageTag()Eike Rathke1-0/+5
Change-Id: Ic8be508bff3767f2f8ab1146447b3fe4bffff3b3
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky3-3/+3
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-08WaE: -Werror=maybe-uninitializedCaolán McNamara1-1/+1
Change-Id: I8f63bc51c48d69eaa81bf080b05747c026871f08
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin2-4/+4
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08svtools: sal_Bool->boolNoel Grandin57-734/+734
Change-Id: Idd9a3ccf0eb6d14cec158daa17a6b2da625f7ffa
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann4-9/+9
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-05-06move ResArray into SvtLanguageTableImplEike Rathke1-7/+21
Change-Id: I0921fcef306f1ca60196fc9dfa2652e91db63004
2014-05-06ditch the last temporary SvtLanguageTable instanceEike Rathke1-4/+2
Change-Id: I66a9d45089039c332b3fe7e279a27b81f8bb4aea
2014-05-06provide static GetLanguageEntryCount() and GetLanguageTypeAtIndex()Eike Rathke1-0/+10
Change-Id: I89dc5d25b37169ebc1581ebf957d33dd7b0e204c
2014-05-06Move headers included only in svtools to svtoolsTor Lillqvist26-29/+1011
Change-Id: I66e443b5b641aaf16e1918f139a6b6a173ef7d4c
2014-05-06consistent percent sign in commentsThomas Arnhold1-1/+1
Change-Id: I9906b4e58fd8672e51f6aa2e56ec68bb28772500
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin2-2/+2
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-30handle brightness+contrast from msoffice (bnc#875713)Luboš Luňák2-0/+22
This is the same like 1139d618b8bc6ab823a96184bd0f0257980aad24, for docx. Change-Id: I1ef4e18444e8c60e9ae8f67249bcef1053f0d62d
2014-04-30Related: fdo#72142 lighter ruler default colorCaolán McNamara1-2/+2
Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0
2014-04-29fdo#75058: Optimize autofilter item filling for non-tree items.Kohei Yoshida1-1/+10
2014-04-29Resolves: fdo#72142 darker default workspace colorCaolán McNamara1-1/+1
Change-Id: I7fec37c5edd42d974bddb4abbecb0d2b3dd86f14
2014-04-29Related: fdo#50697 reset the cache timeout on GetGraphicCaolán McNamara1-2/+18
so the graphic gets swapped out Xms after the last use and not Xms after initial creation regardless of if it got used a moment earlier. Change-Id: I1458f307d090ecd8d8d031b545f23e78bf1bcb67