summaryrefslogtreecommitdiff
path: root/svtools/source/control
AgeCommit message (Collapse)Author
2014-06-04new loplugin: inlinesimpleaccessmethodsNoel Grandin
Create a rewriting plugin for finding methods that simply return object fields, and should therefore be declared in the header, so that the compiler can reduce method calls into a simple fixed-offset load instruction. Change-Id: I7a620fc54250b79681918dc31ed9a8f21118c037 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-04avoid problems with poppler's and vcl's FontInfo during runtimeMarkus Mohrhard
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-04remove whitespaceMarkus Mohrhard
Change-Id: Iae0f6b9818f84a92c46b24f90d3051c7b6a45d94
2014-06-04remove whitespaceMarkus Mohrhard
Change-Id: Iff12a4106369114eb785c0ce242c0e296a877495
2014-06-04remove whitespaceMarkus Mohrhard
Change-Id: I08a89e40d24bc6f4b106c5063c197fe201f32bf6
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories stoc/, and svtools/ Change-Id: Ib6691b0e3fa09d71696ab947d357e489eb35df66 Reviewed-on: https://gerrit.libreoffice.org/9584 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-11fix-includes.pl: svtoolsThomas Arnhold
Change-Id: I509299306ab6cd97c96e9a26d4674f983bbffbec
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 headers included only in svtools to svtoolsTor Lillqvist
Change-Id: I66e443b5b641aaf16e1918f139a6b6a173ef7d4c
2014-04-30Related: fdo#72142 lighter ruler default colorCaolán McNamara
Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0
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-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-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-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-17coverity#704807 Dereference after null checkCaolán McNamara
Change-Id: Ifbfdbc016cde790a2027a0036294b3be9e37a85c
2014-04-15sal_Bool to bool in SvtRulerAccessibleNoel Grandin
Change-Id: Ib5f451fadb9eedc49d6bded0cbd92cfbbde71bae
2014-04-09Remove unused codeStephan Bergmann
Change-Id: Ifaab2aecec65ec6e81056e5fca430df8ca3af908
2014-04-04coverity#704828 Explicit null dereferencedCaolán McNamara
Change-Id: I5e27241334cfeb4dffecbbf1d010abe94fbc52df
2014-04-04callcatcher: update unused codeCaolán McNamara
Change-Id: I23ad8bcbef9a0ef17aaa5d401d111c40a6560ee2
2014-04-02Resolves: fdo#76905 long delay when changing font size from % to ptCaolán McNamara
Change-Id: I33d72b51536ab96653ccda64c6e058c497289327
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01coverity#984148 Uninitialized pointer fieldCaolán McNamara
Change-Id: I17a4a4e1c5aa1b5481e283f1c232e6483c135e84
2014-04-01Kill FSYS_MAC which is for ancient non-OS X MacTor Lillqvist
Change-Id: I51e91b97217507bcdca8c82f8a8683758d871185
2014-03-28coverity#982312 Logically dead codeCaolán McNamara
Change-Id: I2b40ac902812ad27dc06bd20603414dff3358eef
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25svtools: sal_Bool->boolNoel Grandin
Change-Id: I05dd992f332ab2f3dbcc65aed6dac909872168d4
2014-03-25svtools: sal_Bool->boolNoel Grandin
Change-Id: I6c57a52b4fc3ecb993af4526fefcca352ad269b5
2014-03-25svtools: sal_Bool->boolNoel Grandin
Change-Id: Ia0280d3d4f2d5b8a93a37a93847951391e928028
2014-03-24coverity#735504 Logically dead codeCaolán McNamara
Change-Id: Idb3b2e4fe3ab67c65324de9625807808e1355cee
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I2044e6c1f15579b6051fad5d36fcfa8795f88953
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I35c9c1514c67860e61b6e2457ab4548d04a4d159
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I56072620f9ea28833e1590a7fff7d71ed11fc34c
2014-03-19Add dash-dot and dash-dot-dot line styles.Kohei Yoshida
We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
2014-03-14ToolbarMenu does not implement XStatusListenerStephan Bergmann
Change-Id: Ia0195e794ac5e23905035738f0ab7e658c3bb92b
2014-03-13coverity#708296 Uninitialized pointer fieldCaolán McNamara
Change-Id: I05b10b0b9812a79ea8c55e5af3bcde83f24e12cf
2014-03-13svtools,svx: prefer passing OUString and OString by referenceNoel Grandin
Change-Id: Iceb2cbcda9d8ddb4ee00db9365c751e0e5d8b3a6
2014-03-10svtools: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I2534ad4a720dd5d13324ac6fb19b8676ae50ff4e
2014-03-09coverity#708299 Uninitialized scalar fieldCaolán McNamara
Change-Id: I15b3c6d8a2af7be1fd8cada39c58ed706271f307
2014-03-07coverity#704317 Logically dead codeCaolán McNamara
Change-Id: I680efdff5be6a9f699b8954c11eddc027f972a76
2014-03-05crash indexing -1Caolán McNamara
Change-Id: Ia339bed9bad3b43ec1e4ea813646cab81cf3a619