summaryrefslogtreecommitdiff
path: root/lotuswordpro
AgeCommit message (Collapse)AuthorFilesLines
2014-08-17warning C4800: forcing value to bool 'true' or 'false'Thomas Arnhold7-8/+8
Change-Id: I116d5e14116e6853765bce552b6b8a71c835942e
2014-08-17warning C4800: 'sal_uInt32' : forcing value to bool 'true' or 'false'Thomas Arnhold1-2/+2
Change-Id: Ib04d885fdbf3f46be08c857a28fcea210be1623a
2014-08-13update_pchThomas Arnhold1-0/+1
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-07-08Avoid undefined downcasts to wrong typeStephan Bergmann7-20/+20
...CUtList::cDummyElmt is always only of type CUtListElmt, not a derived type. Change-Id: Ibc372642e2a53c548421b5cfa7cc496986036815
2014-07-03bah, bogusCaolán McNamara1-1/+1
Change-Id: I94619f2a3274c719366ae947771e10ffc39f70fe
2014-07-03coverity#1222240 Untrusted value as argumentCaolán McNamara1-0/+10
and coverity#1222239 Untrusted value as argument Change-Id: I48bacfd988a34d67ffa542edba7cba1bb9b0b3cc
2014-07-01New loplugin:stringconcatStephan Bergmann2-5/+5
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-27tweak assert so comment appears in abort messageCaolán McNamara5-6/+4
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-24new compilerplugin returnbyrefNoel Grandin72-591/+557
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 McNamara1-1/+1
Change-Id: I8e6a81b6c1605bd1be33f5f8d75d2472a39361d4
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin4-15/+3
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-14coverity#736885 Unintended sign extensionCaolán McNamara1-1/+1
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 Bergmann3-4/+4
Change-Id: Ieceecb849ade05a4f6dcd6c783da6ab53508323d
2014-06-11Fix memory leaks, by refcounting XFContentStephan Bergmann16-75/+72
Change-Id: I8c94c63230eec13bf22043ff07f9f480a0463111
2014-06-11Dead codeStephan Bergmann2-45/+0
Change-Id: Ifdb7c139fa6db7fef2896098f758769cb5284b28
2014-06-11Remove useless IXFPropertyStephan Bergmann11-91/+6
Change-Id: Id4d5d6aaf537172ad8e1f6c422465c6f84d99dbf
2014-06-11Remove useless IXFObjectStephan Bergmann18-121/+26
Change-Id: I11bdee00bd42ef302dbbfe9f52de5824aec985ee
2014-06-11Dead codeStephan Bergmann7-122/+7
Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
2014-06-11Remove useless IXFContentStephan Bergmann14-146/+73
Change-Id: I727ae1c4a2c1a0c321580a9a8948c48ee9bbfcab
2014-06-10Duplicate #includeStephan Bergmann1-1/+0
Change-Id: If83bcfb0e39c0b41ea5323b0ad3832bd65185c6c
2014-06-09fix build errorCaolán McNamara1-1/+1
Change-Id: I9db006805bfd457663762e2fd2863d096b2547b4
2014-06-09compile fixNoel Grandin1-0/+1
after my commit 184a00b96235f6432294ded63ce4a4a318effdb5 "loplugin: inlinesimplememberfunctions" Change-Id: Ib46d862b90566506c3035a12eeb01892b225ed51
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin13-119/+34
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-06coverity#735444 Logically dead codeCaolán McNamara1-1/+1
Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
2014-06-06coverity#735442 Logically dead codeCaolán McNamara1-1/+1
Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
2014-06-06coverity#735441 Logically dead codeCaolán McNamara1-1/+1
Change-Id: I790904fb030d2bfc96cd967b2b4b449e62f8c536
2014-06-06Fix memory leaks, by refcounting LwpObjectStephan Bergmann64-485/+554
Change-Id: I1539597cd5bcabcbf0295d1acc320c503ad53604
2014-06-06Avoid undefined mis-aligned memory accessStephan Bergmann1-4/+4
(assuming this shall always be little endian, given "Intel" in the function names) Change-Id: Iff7e1305108dd0f8d9fae762c1f715e2e7b481b3
2014-06-06Fix memory leaks, by refcounting XFFontStephan Bergmann23-87/+101
Change-Id: Iecfddf21f19313f46ee2544fad9c4df1e399e0f5
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
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 Carl5-3/+26
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 Tschudin2-3/+3
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 Arnhold2-7/+0
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
2014-05-25fix encoding: GB2312 -> utf8Thomas Arnhold1-4/+4
Change-Id: I1fc0d86a73615aa80fc9bb17167d6bc5b85088d1
2014-05-20fix-includes.pl: lwpThomas Arnhold8-16/+13
Change-Id: Ib0c5d5c0b0b3c6c290e7e1bbe18464155232ace3
2014-05-20update_pch: add lwpThomas Arnhold6-3/+97
2m21s -> 47s Change-Id: I5fd321bb34840c71f22705790aab06e83350261e
2014-05-19lwp: remove using namespace css from headersThomas Arnhold4-30/+6
Change-Id: I0461ef7af824e1fda04135154682fc4dba8a8693
2014-05-19lwp: remove using namespace std from headersThomas Arnhold5-13/+8
Change-Id: Ied5806a1706473ac0fe4e1baebb71256cf56681d
2014-05-13remove dead codeNoel Grandin1-28/+1
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
2014-05-13unusedcode.easy: remove LWPFilterReader::LWPFilterReader()Thomas Arnhold2-71/+0
Change-Id: Iefbf36d2ce0f98c61a0d9f5d04b77a3505980e80
2014-05-10coverity#738741 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Ia603fd0fca212d4c67daaab87199906c29e3cec7
2014-05-08coverity#735443 Logically dead codeCaolán McNamara1-2/+0
Change-Id: I869b2efee4648b02cf1b8d5b3667004d6933c40d
2014-04-23lotuswordpro: sal_Bool->boolNoel Grandin165-1570/+1569
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
2014-04-22coverity#1202751 max huffman code word len is 31Caolán McNamara1-1/+1
Change-Id: I7ef74df22a65c1de396fc9211ac1adefc48fe849
2014-04-19fixincludeguards.sh: lotuswordproThomas Arnhold211-425/+425
Change-Id: Ic3e01b5ecfb159d88c7c849a85ff612cdda5b418
2014-04-18Unused functionsTor Lillqvist1-66/+0
Change-Id: I6c1f8dc33e3ba3257044889d7aae1223572590e9
2014-04-18callcatcher: update unused codeCaolán McNamara2-196/+0
Change-Id: Ia88d83a209113fa4c351c0300d407da0c71baeac
2014-04-14Remove unused codeStephan Bergmann2-183/+0
Change-Id: I4e1e9f8c9b98fa77c8149fc5f876a2e7777b19e8
2014-04-14typo: positon -> positionThomas Arnhold1-1/+1
2014-04-14typo: postion -> positionThomas Arnhold1-1/+1