summaryrefslogtreecommitdiff
path: root/lotuswordpro
AgeCommit message (Collapse)AuthorFilesLines
2018-04-03loplugin:useuniqueptr in XFStyleContainerNoel Grandin34-306/+293
Change-Id: I0a9765ab4107a534f211e3531f7948516f1a0c02 Reviewed-on: https://gerrit.libreoffice.org/52297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-30Use for-range loops in lotuswordproJulien Nabet18-147/+101
Change-Id: Ib14bc1f00914253f000a2bb9c3f780b04fdd126c Reviewed-on: https://gerrit.libreoffice.org/52125 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-03-29lwp infinite loopCaolán McNamara1-8/+9
Change-Id: Ic384dfd66f834ee360c60e497b8b7b688c913f02 Reviewed-on: https://gerrit.libreoffice.org/52057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-29lwp infinite loopCaolán McNamara1-0/+4
Change-Id: I18506b74ac999893eab1d652b46ee2226f5a3dea Reviewed-on: https://gerrit.libreoffice.org/52058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-26ofz#7146 Infinite recurseCaolán McNamara2-5/+17
Change-Id: I0afc3a73933e3370c5b1aeca1beabec94c56a6e6 Reviewed-on: https://gerrit.libreoffice.org/51911 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25ofz#7109 infinite regressCaolán McNamara4-5/+16
Change-Id: Iac0bd81c9b0e3ac6b005bb0065895ca1b4ca4233 Reviewed-on: https://gerrit.libreoffice.org/51826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-22ofz#7063 ensure lifecycleCaolán McNamara2-18/+15
Change-Id: I18d62bc3bd409ca65c85ea47e8d5b3930481edf9 Reviewed-on: https://gerrit.libreoffice.org/51731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-21ofz#7043 already registeredCaolán McNamara2-0/+2
Change-Id: Ic94891c82944d04fe3391c0bd0731a6e3e4373e0 Reviewed-on: https://gerrit.libreoffice.org/51691 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-18ofz#5313 endless loopCaolán McNamara1-2/+4
Change-Id: I994944ce8b71b225334bd0aed8356a81d73a643a Reviewed-on: https://gerrit.libreoffice.org/51510 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-14cppcheck: useInitializationListJochen Nitschke2-5/+1
Change-Id: I7b3cce8d84176c13801a906af79e353a541135ce Reviewed-on: https://gerrit.libreoffice.org/51240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-09ofz#6800 Null dereferenceCaolán McNamara1-1/+4
Change-Id: I12a0b386917af64f489706ab960f11559ac6122a Reviewed-on: https://gerrit.libreoffice.org/50988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-09loplugin:constantparam in vclNoel Grandin1-1/+1
Change-Id: I1618280494ff10d884a3285501303c6a74ef3542 Reviewed-on: https://gerrit.libreoffice.org/50951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-08loplugin:unusedmethodsNoel Grandin4-191/+0
Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-07Fix typoAndrea Gelmini1-1/+1
Change-Id: Iacb4f5f93f6b2b9a06148844210784045f09d053 Reviewed-on: https://gerrit.libreoffice.org/50850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-03-06ofz: memory leakCaolán McNamara21-83/+80
Change-Id: Ida561d59f5fbd2b4dff5d0ef355a21a344a2afd2 Reviewed-on: https://gerrit.libreoffice.org/50808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-05loplugin:useuniqueptr in XFConfigManagerNoel Grandin2-18/+10
Change-Id: Ia442d2dba8c6fdf577c6cdc950d518cc863d6e0e Reviewed-on: https://gerrit.libreoffice.org/50741 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in DecompressionNoel Grandin2-10/+5
Change-Id: I0b224fd8e9f137e24375dd9975087e6a5891f8fc Reviewed-on: https://gerrit.libreoffice.org/50719 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in XFPageMasterNoel Grandin2-31/+24
Change-Id: I0255118c8b94c301e0be50cff358bfc77b84f834 Reviewed-on: https://gerrit.libreoffice.org/50753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in XFFrameStyleNoel Grandin2-20/+9
Change-Id: I812c9fc7ab297e962994265e69feb80f82adc49a Reviewed-on: https://gerrit.libreoffice.org/50752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in XFParaStyleNoel Grandin2-19/+12
Change-Id: I883c54698022d07dbcb72e66b1108178cf27a5ae Reviewed-on: https://gerrit.libreoffice.org/50751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in XFHeaderStyleNoel Grandin2-16/+9
Change-Id: Id1e29fde9d6dfcd3c816967272c80ace85d515cc Reviewed-on: https://gerrit.libreoffice.org/50750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in XFDrawStyleNoel Grandin2-9/+4
Change-Id: I91ade5500596765480940b82807504e5c3fafedb Reviewed-on: https://gerrit.libreoffice.org/50749 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpDrawBitmapNoel Grandin2-10/+5
Change-Id: I577a20f2b80689011f790e6ae97b2cade537fd3c Reviewed-on: https://gerrit.libreoffice.org/50740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpDrawPolygonNoel Grandin2-8/+2
Change-Id: Ia9a6b312a7e0ce189257395c84f65156546cb955 Reviewed-on: https://gerrit.libreoffice.org/50739 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpParaNoel Grandin5-60/+27
to simplify the management, use a std::vector instead of an embedded linked list for LwpParaProperty Change-Id: Ib09c6609967552a74d5cb2a43565104bf3f5c036 Reviewed-on: https://gerrit.libreoffice.org/50738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpSpacingOverrideNoel Grandin2-20/+12
Change-Id: I1f71c1e35c49b99c9fde1fe43fc9f5717158355e Reviewed-on: https://gerrit.libreoffice.org/50737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpParaBorderOverrideNoel Grandin2-31/+19
Change-Id: I2c561fe5cebd03f1cd49f5a1ec3451200ad99670 Reviewed-on: https://gerrit.libreoffice.org/50736 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpFribSectionNoel Grandin2-8/+3
Change-Id: I128a2ef532a72b47cd2bedd1ee80f47d892cc527 Reviewed-on: https://gerrit.libreoffice.org/50727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpLayoutColumnsNoel Grandin2-8/+2
Change-Id: Ic31823fc539f26ef9ba543375d115d84623043a6 Reviewed-on: https://gerrit.libreoffice.org/50726 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpGlobalMgrNoel Grandin2-42/+20
Change-Id: I04651e32dd036bc12ed12097e4ee3bf6e5bf3dcf Reviewed-on: https://gerrit.libreoffice.org/50725 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpFribPageBreakNoel Grandin2-7/+2
Change-Id: Id4d5c4c21a02be578d0cf571c744ec03b19d7d84 Reviewed-on: https://gerrit.libreoffice.org/50724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpDrawPolyLineNoel Grandin2-7/+2
Change-Id: I75060c28aa877973b490ecf145d7c4e491c2c0cd Reviewed-on: https://gerrit.libreoffice.org/50723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpFontNameManagerNoel Grandin2-7/+2
Change-Id: I900fd3205d8fd451bb587d3da795919a10128ad1 Reviewed-on: https://gerrit.libreoffice.org/50721 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpFontTableNoel Grandin2-7/+2
Change-Id: I91fd833fe42123845cd958b814112c367d964402 Reviewed-on: https://gerrit.libreoffice.org/50720 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpVirtualPieceNoel Grandin1-14/+12
Change-Id: I5e22ad5e80e542c6a0857e1af96647fecf22483a Reviewed-on: https://gerrit.libreoffice.org/50718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in LwpCharacterBorderOverrideNoel Grandin2-8/+6
Change-Id: I449c8739f3df112062b2bd52a72469eb1faf22fc Reviewed-on: https://gerrit.libreoffice.org/50717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05loplugin:useuniqueptr in HuffmanTreeNodeNoel Grandin2-16/+7
Change-Id: I30655c5ad44c93968ec39938ced9854105a831dd Reviewed-on: https://gerrit.libreoffice.org/50716 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-03ofz#6674 Direct-leakCaolán McNamara1-8/+8
Change-Id: Ia396d11cca424da1507bd470c04642bdb7482f72 Reviewed-on: https://gerrit.libreoffice.org/50681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-01ofz#6640 avoid recurse to deathCaolán McNamara2-5/+16
Change-Id: Ia798636a5b4013753a268fff68915ec56c384e5f
2018-03-01ofz: infinite loopCaolán McNamara1-0/+4
Change-Id: I88b3d8bef0c522e4aa5e16ea8d45f7ea79337300 Reviewed-on: https://gerrit.libreoffice.org/50559 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-01ofz: infinite loopCaolán McNamara1-1/+5
Change-Id: I2c0ac101ccdd3f5359a885d976275fa6e63a3f67 Reviewed-on: https://gerrit.libreoffice.org/50558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-01ofz: infinite loopCaolán McNamara1-20/+5
Change-Id: I15a0cbc5d4896e5390f5d422fb993325f22eedee Reviewed-on: https://gerrit.libreoffice.org/50557 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-28ofz#6602 infinite recursionCaolán McNamara2-2/+15
Change-Id: I358708f606655bcd0df948fd2e01725c706880c7
2018-02-19ofz: infinite loopCaolán McNamara1-0/+11
Change-Id: I2230a3fdd602063e66f56d23c15f79d6d4de4c8a Reviewed-on: https://gerrit.libreoffice.org/50000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19ofz: infinite loopCaolán McNamara2-3/+17
Change-Id: Ie515421f484c63d07f10e8551464c7dc11facb73 Reviewed-on: https://gerrit.libreoffice.org/50001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19ofz#6448 infinite-regressCaolán McNamara2-14/+16
Change-Id: Ie0c082a4b43355e935594f2dda694edfc9cdf315 Reviewed-on: https://gerrit.libreoffice.org/49950 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-17ofz: infinite loopCaolán McNamara1-0/+5
Change-Id: Ie54c22c65ccd962862cade77e3502a264164c2b2 Reviewed-on: https://gerrit.libreoffice.org/49912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-17ofz: infinite loopCaolán McNamara1-0/+4
Change-Id: Icbc19a6761a9972d61db45b779dab56361bf6db8 Reviewed-on: https://gerrit.libreoffice.org/49915 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-15ofz#6372 fix bitmap decoding of pattern in LwpBackgroundStuffNoel Grandin2-6/+6
after commit b90e098a354323b635bab3ee8f9c79deb1e734fe use BitmapEx in LwpBackgroundStuff <caolan> maybe the lotuswordpro original stride is really 4 after all (as a common stride), with the first byte on each line containing the 8bits for each row The original code in GetPattern() looked pretty dodgy since it was copying 32-bytes into an 8 byte buffer. Assume that the reversing part is right, and that the format is really a 1bit packed 8x8 image. Also fix the decoding of such a image in CreateFromData to assume packed format, which is more predictable. Also fix the bug in createDefaultCross_3x3 which changing the assert revealed. Change-Id: I7196ae601429bbe0f842399df61c8b858e022d3e Reviewed-on: https://gerrit.libreoffice.org/49808 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-14use BitmapEx in LwpBackgroundStuffNoel Grandin1-6/+2
part of making Bitmap an implementation detail of vcl/ Change-Id: I847a2371cd630637b11aed0fad7263809143c706 Reviewed-on: https://gerrit.libreoffice.org/49705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>