summaryrefslogtreecommitdiff
path: root/lotuswordpro
AgeCommit message (Collapse)Author
2014-10-08back out even more wrong tools::Time changes, geez..Eike Rathke
Change-Id: I52eb3400769999d7f554c3bdb8746f65b7990388
2014-10-01Remove leftover SAL_WNODEPRECATED_DECLARATIONS_PUSH/POPStephan Bergmann
...from times when code used std::auto_ptr. Change-Id: Ia4eca8b0b95a8846886884404009e895daba8a22
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30lotuswordpro: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I205b84f6dcb996935bd59ac9927313c6a88066b4
2014-09-15lotuswordpro: sal_Bool -> boolStephan Bergmann
Change-Id: I8a3d2aa6e0a6ee5bdb214f768870dc69d15e513d
2014-08-17warning C4800: forcing value to bool 'true' or 'false'Thomas Arnhold
Change-Id: I116d5e14116e6853765bce552b6b8a71c835942e
2014-08-17warning C4800: 'sal_uInt32' : forcing value to bool 'true' or 'false'Thomas Arnhold
Change-Id: Ib04d885fdbf3f46be08c857a28fcea210be1623a
2014-08-13update_pchThomas Arnhold
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-07-08Avoid undefined downcasts to wrong typeStephan Bergmann
...CUtList::cDummyElmt is always only of type CUtListElmt, not a derived type. Change-Id: Ibc372642e2a53c548421b5cfa7cc496986036815
2014-07-03bah, bogusCaolán McNamara
Change-Id: I94619f2a3274c719366ae947771e10ffc39f70fe
2014-07-03coverity#1222240 Untrusted value as argumentCaolán McNamara
and coverity#1222239 Untrusted value as argument Change-Id: I48bacfd988a34d67ffa542edba7cba1bb9b0b3cc
2014-07-01New loplugin:stringconcatStephan Bergmann
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-27tweak assert so comment appears in abort messageCaolán McNamara
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-17coverity#736883 Unintended sign extensionCaolán McNamara
Change-Id: I8e6a81b6c1605bd1be33f5f8d75d2472a39361d4
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-14coverity#736885 Unintended sign extensionCaolán McNamara
and coverity#736886 Unintended sign extension promote from unsigned short to size_t immediately rather than implicitly to int and then have the int result widened to size_t Change-Id: I3156ed9628287a84da35d97caec8d91ce942986d
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: Ieceecb849ade05a4f6dcd6c783da6ab53508323d
2014-06-11Fix memory leaks, by refcounting XFContentStephan Bergmann
Change-Id: I8c94c63230eec13bf22043ff07f9f480a0463111
2014-06-11Dead codeStephan Bergmann
Change-Id: Ifdb7c139fa6db7fef2896098f758769cb5284b28
2014-06-11Remove useless IXFPropertyStephan Bergmann
Change-Id: Id4d5d6aaf537172ad8e1f6c422465c6f84d99dbf
2014-06-11Remove useless IXFObjectStephan Bergmann
Change-Id: I11bdee00bd42ef302dbbfe9f52de5824aec985ee
2014-06-11Dead codeStephan Bergmann
Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
2014-06-11Remove useless IXFContentStephan Bergmann
Change-Id: I727ae1c4a2c1a0c321580a9a8948c48ee9bbfcab
2014-06-10Duplicate #includeStephan Bergmann
Change-Id: If83bcfb0e39c0b41ea5323b0ad3832bd65185c6c
2014-06-09fix build errorCaolán McNamara
Change-Id: I9db006805bfd457663762e2fd2863d096b2547b4
2014-06-09compile fixNoel Grandin
after my commit 184a00b96235f6432294ded63ce4a4a318effdb5 "loplugin: inlinesimplememberfunctions" Change-Id: Ib46d862b90566506c3035a12eeb01892b225ed51
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-06coverity#735444 Logically dead codeCaolán McNamara
Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
2014-06-06coverity#735442 Logically dead codeCaolán McNamara
Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
2014-06-06coverity#735441 Logically dead codeCaolán McNamara
Change-Id: I790904fb030d2bfc96cd967b2b4b449e62f8c536
2014-06-06Fix memory leaks, by refcounting LwpObjectStephan Bergmann
Change-Id: I1539597cd5bcabcbf0295d1acc320c503ad53604
2014-06-06Avoid undefined mis-aligned memory accessStephan Bergmann
(assuming this shall always be little endian, given "Intel" in the function names) Change-Id: Iff7e1305108dd0f8d9fae762c1f715e2e7b481b3
2014-06-06Fix memory leaks, by refcounting XFFontStephan Bergmann
Change-Id: Iecfddf21f19313f46ee2544fad9c4df1e399e0f5
2014-06-04DeInitVCL at end of testsStephan Bergmann
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories l10ntools/, lotuswordpro/, and rsc/ Change-Id: I9c034d4bb5c92d78378bda4658d43a8b603d5281 Reviewed-on: https://gerrit.libreoffice.org/9581 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-25cppcheck: unusedFunctionThomas Arnhold
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
2014-05-25fix encoding: GB2312 -> utf8Thomas Arnhold
Change-Id: I1fc0d86a73615aa80fc9bb17167d6bc5b85088d1
2014-05-20fix-includes.pl: lwpThomas Arnhold
Change-Id: Ib0c5d5c0b0b3c6c290e7e1bbe18464155232ace3
2014-05-20update_pch: add lwpThomas Arnhold
2m21s -> 47s Change-Id: I5fd321bb34840c71f22705790aab06e83350261e
2014-05-19lwp: remove using namespace css from headersThomas Arnhold
Change-Id: I0461ef7af824e1fda04135154682fc4dba8a8693
2014-05-19lwp: remove using namespace std from headersThomas Arnhold
Change-Id: Ied5806a1706473ac0fe4e1baebb71256cf56681d
2014-05-13remove dead codeNoel Grandin
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
2014-05-13unusedcode.easy: remove LWPFilterReader::LWPFilterReader()Thomas Arnhold
Change-Id: Iefbf36d2ce0f98c61a0d9f5d04b77a3505980e80
2014-05-10coverity#738741 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ia603fd0fca212d4c67daaab87199906c29e3cec7
2014-05-08coverity#735443 Logically dead codeCaolán McNamara
Change-Id: I869b2efee4648b02cf1b8d5b3667004d6933c40d
2014-04-23lotuswordpro: sal_Bool->boolNoel Grandin
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
2014-04-22coverity#1202751 max huffman code word len is 31Caolán McNamara
Change-Id: I7ef74df22a65c1de396fc9211ac1adefc48fe849
2014-04-19fixincludeguards.sh: lotuswordproThomas Arnhold
Change-Id: Ic3e01b5ecfb159d88c7c849a85ff612cdda5b418