summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2014-05-13BrowseBoxCheckInvariants appears to be unused [loplugin:unreffun]Matúš Kukan
Change-Id: Ie6c546ee085b20bd3eb39cdfb7b38394c0a35b67
2014-05-13Revert "remove unused code -SvtLanguageTable::AddLanguageTag"Eike Rathke
This reverts commit d812b784313ed85ae5085d54a3ae50aa064c053c. I added that code in preparation of changes I'm doing.
2014-05-13remove unused code -SvtLanguageTable::AddLanguageTagNoel Grandin
Change-Id: Ibb0dda4b48c711e72574c3f5aec9e3d1186d1526
2014-05-12whitespace cleanupMarkus Mohrhard
Change-Id: I511412f8b6d8ac2fcbac738d1ef5e6d5cd9928bb
2014-05-11remove external header guardsThomas Arnhold
Change-Id: I1c8b193c336d4fcb765e51e059032f84126b270e
2014-05-11fix-includes.pl: svtoolsThomas Arnhold
Change-Id: I509299306ab6cd97c96e9a26d4674f983bbffbec
2014-05-10coverity#708306 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ia249608d5166273bb6be7b52185d48dffbc918d9
2014-05-10coverity#708336 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie4b6ea734d8ab77060848cd813b44d0727eb47c4
2014-05-10add on-the-fly language tags to the language tableEike Rathke
Change-Id: I5ca9e212374821de425729863c82f7b4699487a7
2014-05-10added SvtLanguageTable::AddLanguageTag()Eike Rathke
Change-Id: Ic8be508bff3767f2f8ab1146447b3fe4bffff3b3
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-08WaE: -Werror=maybe-uninitializedCaolán McNamara
Change-Id: I8f63bc51c48d69eaa81bf080b05747c026871f08
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08svtools: sal_Bool->boolNoel Grandin
Change-Id: Idd9a3ccf0eb6d14cec158daa17a6b2da625f7ffa
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann
...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 Rathke
Change-Id: I0921fcef306f1ca60196fc9dfa2652e91db63004
2014-05-06ditch the last temporary SvtLanguageTable instanceEike Rathke
Change-Id: I66a9d45089039c332b3fe7e279a27b81f8bb4aea
2014-05-06provide static GetLanguageEntryCount() and GetLanguageTypeAtIndex()Eike Rathke
Change-Id: I89dc5d25b37169ebc1581ebf957d33dd7b0e204c
2014-05-06Move headers included only in svtools to svtoolsTor Lillqvist
Change-Id: I66e443b5b641aaf16e1918f139a6b6a173ef7d4c
2014-05-06consistent percent sign in commentsThomas Arnhold
Change-Id: I9906b4e58fd8672e51f6aa2e56ec68bb28772500
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
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ňák
This is the same like 1139d618b8bc6ab823a96184bd0f0257980aad24, for docx. Change-Id: I1ef4e18444e8c60e9ae8f67249bcef1053f0d62d
2014-04-30Related: fdo#72142 lighter ruler default colorCaolán McNamara
Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0
2014-04-29fdo#75058: Optimize autofilter item filling for non-tree items.Kohei Yoshida
2014-04-29Resolves: fdo#72142 darker default workspace colorCaolán McNamara
Change-Id: I7fec37c5edd42d974bddb4abbecb0d2b3dd86f14
2014-04-29Related: fdo#50697 reset the cache timeout on GetGraphicCaolán McNamara
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 Lillqvist
Change-Id: Ibe8bf3070fb64b447315b280c7c06a7851f7a7ed
2014-04-28remove unused code from TabBarNoel Grandin
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 Grandin
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 Sherlock
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 Hunt
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 Grandin
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 Arnhold
some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
2014-04-24add missing modelines to hrc and src filesThomas Arnhold
Change-Id: I82d9727c4f991c606a19b9eba27732e7e2397db6
2014-04-23huge hrc and src file cleanupThomas Arnhold
* 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 McNamara
Change-Id: Ia7ed41a0d0bfa24a64f6d140922c095de5dd9c0c
2014-04-22stray commaCaolán McNamara
Change-Id: I7771fbb76fe83ba605cb6b86824396c2b1414253
2014-04-22coverity#708335 Uninitialized scalar fieldCaolán McNamara
Change-Id: I14ce77fe16acdf6491ce49cdbe7550ef303f0ff9
2014-04-22coverity#708334 Uninitialized scalar fieldCaolán McNamara
Change-Id: I01e8a8b18d07e035a57fbc731b4666c98148c102
2014-04-22coverity#708324 Uninitialized m_refCountCaolán McNamara
Change-Id: I1a8e548605570eb18ed455282d8f329a3f026409
2014-04-22coverity#708323 Uninitialized scalar fieldCaolán McNamara
Change-Id: Iea430ce93ac1add2be76222b8ee9ae6c0da53ff6
2014-04-21remove some more bloatThomas Arnhold
Change-Id: I7b6c04d99c41360ff49be774afcb4447a829d31c
2014-04-19Bin the now non-existent dtor from the class definition tooTor Lillqvist
Change-Id: I25bfba14fdc8b1c77217082922d13fad6c9bc41a
2014-04-19If it has been "not recommended currently" since 2007 it can go awayTor Lillqvist
Change-Id: I03f2822f1bad8f5d4128c5b0bd7e26b7ab968815
2014-04-19WaE: unused variable 's_pAccessibleFactoryFunc'Tor Lillqvist
Change-Id: I7654c7d88b9d4a84368551972ab945be3508f0e3
2014-04-18non-desktop: Avoid accessibility.Jan Holesovsky
When using the tiled rendering, LibreOffice provides only the content, so no need to instantiate accessibility. Change-Id: Ibc0ff672aa960409fa660a750f8f02c9261041be
2014-04-18svtools: valueset.cxx - use scoped_ptr and clean-upTomaž Vajngerl
Change-Id: I91528f55af39faccfe1bf95999ac29669ead0aad
2014-04-18Cleanup valueset.cxxTomaž Vajngerl
Change-Id: Ib0a27d8d3a3e974f73e7873ad8baae4721f6fb87
2014-04-18coverity#1202783 Division or modulo by zeroCaolán McNamara
Change-Id: I183416ad3db39108e52c1e69b60fb547448b21a8
2014-04-17introduce second static GetLanguageString() with explicit bool parameterEike Rathke
Change-Id: Ief79b8871701cc2e39e421145370feb246ce5e20