summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/icgm
AgeCommit message (Collapse)AuthorFilesLines
2015-05-06convert BMP_MIRROR constants to scoped enumNoel Grandin1-4/+4
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
2015-05-05loplugin:staticmethodsNoel Grandin3-13/+13
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks2-2/+3
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-27More loplugin:simplifyboolStephan Bergmann3-3/+3
Change-Id: I49ef963c3c10614d3dd3012a756a1ca81aa62391
2015-04-23loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: I2ee91d07cf9d46cdc385a4db8473550b05e2f0ad
2015-04-23loplugin:staticmethodsNoel Grandin1-5/+5
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-10vclptr: misc. bug fixing.Michael Meeks1-0/+1
Change-Id: Id56188c0f72b74bc9ce6eed558a8339d4175d628
2015-04-10Move OutputDevice members to VclPtr: filter, reportdesign, uui.Michael Meeks2-2/+2
Change-Id: Iafac8812714a0be68f5608f657c76c159f2912a0
2015-04-02loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann2-5/+5
Change-Id: I0f3ad94d6a0449ebecb1eb239a7c4e63b94a9720
2015-03-11redundant checkCaolán McNamara1-2/+1
Change-Id: Id6b72a1a3133e47a07ee274f4082dde0e7032894
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara2-141/+123
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-02-14TyposJulien Nabet1-4/+4
Change-Id: Ia3382b3b233d416c946090fc670a0ff029851c2a
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin1-7/+7
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin1-1/+1
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-20Some more loplugin:cstylecast: filterStephan Bergmann5-26/+26
Change-Id: If04f2b4e26abd7375a91bd49d7e0744ddd0f0ba6
2015-01-15coverity#704228 'Constant' variable guards dead codeCaolán McNamara1-1/+1
Change-Id: I60446644e7700f5c119dd94d4da08bb39f5bd268
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-11/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin1-1/+1
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2014-12-25fix new[]/delete mismatchMarkus Mohrhard1-1/+1
Found by asan. E.g. ooo45229-2.cgm
2014-12-14fdo#39440 reduce scope of local variablesMichael Weghorn3-7/+5
This addresses some cppcheck warnings. in addition: simplified some simple bool checks: "if (!bVar)" instead of "if(bVar == false)" Change-Id: I609b4a3ee7d43bbeeb91ba141af2c90511d0c8d7 Reviewed-on: https://gerrit.libreoffice.org/13455 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05fdo#84938: removed unused definesJennifer Liebel1-12/+0
Change-Id: Iaccc5ab6804c290b26e641c724051e497d00e32e Reviewed-on: https://gerrit.libreoffice.org/13308 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-11-14coverity#1209889 Untrusted loop boundCaolán McNamara1-2/+10
Change-Id: I63039ca0de1dc54b5aa9d048e5110c31bf930bdc
2014-10-24coverity#704228 'Constant' variable guards dead codeCaolán McNamara1-3/+2
Change-Id: Ia3ccd40ae4a83b58f7d5986273c5bd7d8310b467
2014-10-17Missing constStephan Bergmann2-2/+2
Change-Id: I8d05851c162ee9215f773ebfb9435e549b1572d4
2014-10-17Pass args by const &Stephan Bergmann1-1/+1
Change-Id: I510e1aba6772e1f8d4013b235e95a1e5599fd601
2014-10-15Make ImportCGM signature match ImportCGMPointer (in sdcgmfilter.cxx)Stephan Bergmann1-4/+1
Change-Id: I363777ff59b1756a15615d3daaa0c95542632361
2014-10-14fix tinderboxen with the right sort of brackets.Michael Meeks1-1/+1
Change-Id: I13869771890ce5702d64053e7823dd5cedc82a40
2014-10-14valgrind: init GroupLevelsCaolán McNamara1-4/+2
Change-Id: Idccebc826ade29a507e115108d20fd461b7bb4ec
2014-10-14stray ;s all other the placeCaolán McNamara2-76/+18
Change-Id: If67bf3361e082c1321f42ae7717cc941dc96e74b
2014-10-14valgrind: multiple errorsCaolán McNamara2-6/+26
Change-Id: Ic0ee492710650165004ad05f523424ba1b094473
2014-10-14check for short readsCaolán McNamara1-4/+9
Change-Id: I98a7d77cabe0207ff2b0190ccef47b87d1552930
2014-10-14sal_True->trueCaolán McNamara1-1/+1
Change-Id: Idbbc50afbb229dca1b62a7a0d1b2eeec9b0418d5
2014-10-14valgrind: Source and destination overlap in memcpyCaolán McNamara1-2/+2
Change-Id: I0b83a1955b6752c1253cfd7992a50b932aac078d
2014-10-14valgrind: Mismatched free() / delete / delete []Caolán McNamara1-5/+1
Change-Id: I78a9e08fb3535f9fe6c61a6e192c7aff4ef0c527
2014-10-14valgrind: Mismatched free() / delete / delete []Caolán McNamara1-2/+1
Change-Id: I293229dabb9a04f2e76b556e9da66921328ebe23
2014-10-10coverity#1242472 gold, Identical code for different branchesCaolán McNamara1-3/+5
Change-Id: Ibdba24ef03ee4732e216b32b3f9e665706e96e4a
2014-10-06loplugin: cstylecastNoel Grandin2-10/+10
Change-Id: I88a106081b7413bff6313d1e07f53e39d8350002
2014-10-01coverity#1242472 Identical code for different branchesCaolán McNamara1-3/+1
Change-Id: I32a74aa1ad42b975bca4b13403d261fd31deb8dd
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin3-5/+5
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30fdo#82577: Handle RegionNoel Grandin3-8/+8
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin4-10/+2
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-30coverity#706005 Unintended sign extensionCaolán McNamara2-2/+2
Change-Id: I5670617f03deaac0d8923a38f765c9870eacfc97
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin1-1/+1
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-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet1-10/+10
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-10coverity#1202962 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I3e85ecd27e5ee7a1b449bf7e63a7fcdfe9b2fc46
2014-05-10coverity#707812 Uninitialized scalar fieldCaolán McNamara2-28/+47
Change-Id: I738ed7b2a5c311a71f8dd7a638808acc98b31b7f
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8Julien Nabet1-3/+3
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-04-28remove some dodgy defines from the ICGM filterNoel Grandin2-36/+1
One of these looks it was somebodys temporary debugging code. The others constants are are always defined, so the #ifdef blocks are pointless. Change-Id: I4817e9ce268ab58f5e329830e2e332e2b4ebf4dc Reviewed-on: https://gerrit.libreoffice.org/9163 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>