summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/drawing.h
Commit message (Collapse)AuthorAgeFilesLines
* ofz#44991 keep paragraph's that failed to load until import is completeCaolán McNamara2022-03-031-4/+9
| | | | | | | | | | to avoid dangling references to them Change-Id: Ic8710f63a8cf6a6a665348c7c84bf0b43f0e2c83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130643 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit 4836ac408b04225b66246671e29a54cd0d6703cf)
* loplugin:useuniqueptr in LoadDrawingObjectNoel Grandin2022-03-031-14/+20
| | | | | | | | Change-Id: I6d6204128f40a87bc05987fa1ce724cf1d95aac1 Reviewed-on: https://gerrit.libreoffice.org/62220 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 55f0b65b0568b8a8b1d823578eea1cbf633f4134)
* tdf#120703 (PVS): redundant nullptr checkMike Kaganski2022-03-031-8/+5
| | | | | | | | | | | | V668 There is no sense in testing the 'hdo' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. Change-Id: Ic889dcba4e9d77a6dd27dd1603ed37d39e9fe581 Reviewed-on: https://gerrit.libreoffice.org/62152 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 2f6d20d4ff8a308979f84d823211408363502fac)
* loplugin:useuniqueptr in hwpfilterNoel Grandin2018-01-191-8/+2
| | | | Change-Id: Id276015425ea7de3cf55b9ef21b4e7ce54c2ce47
* Replace some lists by vectors in hwpfilterJulien Nabet2017-10-181-1/+1
| | | | | | | | | + simplify some parts Change-Id: I340d6b6d17f591a58c405965367c15be674103d0 Reviewed-on: https://gerrit.libreoffice.org/43439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* ofz#2899 increment pos before check, like all the other casesCaolán McNamara2017-08-251-2/+0
| | | | | | | Change-Id: Id49f747e36f767a3e82fc3610959eb94015a93d7 Reviewed-on: https://gerrit.libreoffice.org/40984 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* ofz#2906: direct-leakCaolán McNamara2017-08-111-0/+3
| | | | Change-Id: I61323f36922842ddc45b2a63a9ba7334c847a8fd
* loplugin:checkunusedparamsNoel Grandin2017-08-011-24/+24
| | | | | | | | | the "check for taking address of function" part was generating false+ Change-Id: Iad6203850901229b7b1b2f8938c68ec703cd343f Reviewed-on: https://gerrit.libreoffice.org/40613 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* ofz#820 oom terminateCaolán McNamara2017-04-041-2/+2
| | | | | | | | | | | | comments claim return is len of data, but negative numbers for compressed data errors are returned. Make things return the amount of successful data read and turn into unsigned size_t to match ofz#727 Change-Id: Iadddfae67bb5d4960ddf82e169fc2592ded85950 Reviewed-on: https://gerrit.libreoffice.org/35077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:nullptr: Better heuristic to determine code shared between C and C++Stephan Bergmann2016-07-111-17/+17
| | | | Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-7/+7
| | | | Change-Id: Idec97093ca48c14b825c7b87ec050cc99aadc526
* Reduce variable scopeStephan Bergmann2015-10-071-2/+1
| | | | Change-Id: I5d2d7e7991c3727ed6367fe22ebddd5c2e2e9265
* loplugin:removeunusedmethods, remove unused stuffNoel Grandin2015-09-291-35/+0
| | | | Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
* loplugin:simplifyboolStephan Bergmann2015-04-241-2/+2
| | | | Change-Id: Ic42cf05f9eddb0cd7724d16cc73a8d6495c193f2
* V668 no sense in testing the result of new against nullCaolán McNamara2015-03-111-4/+1
| | | | Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
* fix bustageCaolán McNamara2015-02-251-1/+0
| | | | Change-Id: I249fe09319d6e0995d9ffdc7e4396b9b1787ad28
* check if reads were successfulCaolán McNamara2015-02-251-105/+179
| | | | | | | Change-Id: I69ab0ca9c017c9a1c10d18fd850f32a92c641d12 Reviewed-on: https://gerrit.libreoffice.org/14631 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fixincludeguards.sh: some smaller dirsThomas Arnhold2014-04-191-2/+2
| | | | Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
* These should probably use OBJRET_FILE_OK instead of trueStephan Bergmann2014-01-101-7/+7
| | | | | | | | | ...given the set of four OBJRET_FILE_* defines that apparently shall be returned from these functions. Also, the only place that looks at these return values is the switch in LoadDrawingObject that does nothing for both OBJECT_FILE_OK (== 0) and true (== 1) anyway. Change-Id: I04770071cd2f8df34328efce7aa1c533948a00af
* Unused macroStephan Bergmann2014-01-101-2/+0
| | | | Change-Id: Ib5d70010aab13a3ab8ca67284aa0af1736e8017a
* More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza2012-10-171-5/+0
| | | | | Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* hwpfilter: improve text import and error handlingMichael Stahl2012-07-241-1/+6
| | | | Change-Id: Ib74b96200c9d57f55fc0d32b638601c64e7eb6fe
* re-base on ALv2 code. Includes:Michael Meeks2012-06-221-23/+14
| | | | | | Use ksc5601.h header from XFree86 Project Inc. Patch contributed by Oliver-Rainer Wittmann with minor changes from Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1179296
* Kill LinkedList in hwpfilterSzabolcs Dezsi2012-03-051-2/+5
|
* unroll this to help out simple minded compilerCaolán McNamara2011-03-101-6/+12
|
* WaE: gcc 4.6.0 various warningsCaolán McNamara2011-01-241-2/+1
|
* Remove some dead code.Thomas Arnhold2011-01-221-148/+0
|
* add modelines to .hxx files as wellCaolán McNamara2010-10-281-0/+3
|
* changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien2010-02-121-4/+1
| | | | Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
* INTEGRATION: CWS changefileheader (1.4.42); FILE MERGEDRüdiger Timm2008-04-101-23/+18
| | | | 2008/03/28 15:36:37 rt 1.4.42.1: #i87441# Change license header to LPGL v3.
* INTEGRATION: CWS warnings01 (1.3.4); FILE MERGEDJens-Heiner Rechtien2006-06-191-8/+10
| | | | | | 2006/02/10 14:25:08 os 1.3.4.3: #i59838# warnings removed 2005/10/13 09:53:16 os 1.3.4.2: #i53898# warnings removed 2005/10/04 08:25:16 sb 1.3.4.1: #i53898# Merged in lost 1.2.8.1.
* INTEGRATION: CWS ooo19126 (1.2.6); FILE MERGEDRüdiger Timm2005-09-071-50/+22
| | | | 2005/09/05 17:20:31 rt 1.2.6.1: #i54170# Change license header: remove SISSL
* INTEGRATION: CWS dr33 (1.1.26); FILE MERGEDVladimir Glazounov2005-02-161-5/+5
| | | | 2005/02/14 13:31:33 dr 1.1.26.1: #i42367# remove non-ASCII characters at end of line, even in comments
* #112673# initial checkin of HWP filterDaniel Vogelheim2003-10-151-0/+845