summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2014-05-22+bool SvtLanguageTable::HasLanguageType()Eike Rathke1-0/+14
Change-Id: Id57eb51b69e50be78f85d19a7b3623c1acdf6509
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
2014-04-28WaE: implicit conversion from bool to 'long'Tor Lillqvist1-2/+2
Change-Id: Ibe8bf3070fb64b447315b280c7c06a7851f7a7ed
2014-04-28remove unused code from TabBarNoel Grandin1-15/+3
Change-Id: I9f975d99893135b414c749c4fe86912362375c4e Reviewed-on: https://gerrit.libreoffice.org/9162 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-28Improve TabBar return typesNoel Grandin1-8/+8
DeactivatePage() goes from returning long to returning bool. StartRenaming goes from returning long to returning bool. AllowRenaming goes from returning long to returning a constant from a new enum. Change-Id: Ib87e8d7ceb4e23846547257b358ca4dfd41eb6ca Reviewed-on: https://gerrit.libreoffice.org/9161 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-28VCL: Renamed two functionsChris Sherlock1-1/+1
Renamed functions: + supportsOperation -> SupportsOperation For consistency + DrawAlphaBitmap -> DrawDeviceAlphaBitmap I want to make it more clear that these are the functions that call on mpGraphics to actually draw on the graphics device Change-Id: Ic4951bfcc0ac0c09fe5b6908dfdf1f699a634265
2014-04-26fdo#72006 Populate "Load URL" dropdown from picklist.Andrzej Hunt1-2/+2
f7feb4227d83f4f095597a44826277aaae2bc0df stopped any newly opened documents from being added to the "History" list (and instead adds them to the picklist), since the history list is not used anywhere else, and since the picklist performs an equivalent function, it makes most sense just to use the picklist to populate the list of URLs. Change-Id: I5a06e7fefe3dc1fbe266f3191de4fbac03601858 Reviewed-on: https://gerrit.libreoffice.org/9104 Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com> Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-04-24make SvDetachedEventDescriptor::hasByName return boolNoel Grandin1-2/+2
Also, since this is a utility method, and it does not override a method from an UNO interface, it does not need to be virtual. Change-Id: I2dd90331e8ff49572bdfcb6ea2e2e3ed2fd95051
2014-04-24add missing modelines to cxx and hxx filesThomas Arnhold3-0/+9
some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
2014-04-24add missing modelines to hrc and src filesThomas Arnhold1-0/+2
Change-Id: I82d9727c4f991c606a19b9eba27732e7e2397db6
2014-04-23huge hrc and src file cleanupThomas Arnhold2-97/+0
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-23coverity#707218 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ia7ed41a0d0bfa24a64f6d140922c095de5dd9c0c
2014-04-22stray commaCaolán McNamara1-1/+1
Change-Id: I7771fbb76fe83ba605cb6b86824396c2b1414253
2014-04-22coverity#708335 Uninitialized scalar fieldCaolán McNamara1-2/+11
Change-Id: I14ce77fe16acdf6491ce49cdbe7550ef303f0ff9
2014-04-22coverity#708334 Uninitialized scalar fieldCaolán McNamara1-2/+4
Change-Id: I01e8a8b18d07e035a57fbc731b4666c98148c102