summaryrefslogtreecommitdiffstats
path: root/lotuswordpro
Commit message (Collapse)AuthorAgeFilesLines
* cppcheck:redundantAssignmentNoel Grandin2015-06-151-3/+1
| | | | Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
* Fix typosAndrea Gelmini2015-06-131-1/+1
| | | | | | | Change-Id: Ifaa52b49b717d893846fc1e7ae4ac50735f824ac Reviewed-on: https://gerrit.libreoffice.org/16260 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* cppcheck: noExplicitConstructorCaolán McNamara2015-06-1131-71/+61
| | | | Change-Id: Id6291335945a8f10cef3afd1a2b3bae65fdf4562
* cppcheck: noExplicitConstructorCaolán McNamara2015-06-102-6/+6
| | | | Change-Id: I0081113bf312287fe6e14749a569709ee892d8dd
* loplugin:unnecessaryvirtualsNoel Grandin2015-06-092-3/+3
| | | | | | | | Improve the plugin a little. Create a python script to process the output. Run it again. Change-Id: I05c21d8a21c8f4243af739c412fda0a521f9b5f0
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-081-2/+2
| | | | Change-Id: I5060e9560f394f872c2338409813dd41f20a2fff
* Remove include stdio (part7)Julien Nabet2015-06-073-4/+0
| | | | | | | Change-Id: I7058ac53f4bbf96eff9a36a03279ab0753cc42ba Reviewed-on: https://gerrit.libreoffice.org/16135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* these types come directly from the file itselfCaolán McNamara2015-06-051-2/+1
| | | | | | so while invalid they can appear here Change-Id: I36d43958bf578e677f216aea09400ab764ed82ae
* loplugin:loopvartoosmallNoel Grandin2015-06-015-10/+10
| | | | Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
* loplugin:staticmethodsNoel Grandin2015-05-0530-52/+52
| | | | Change-Id: Ib765ce5a61916b0598ebb42cb9445a5f09c8d37f
* redundant castCaolán McNamara2015-04-291-1/+1
| | | | Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
* Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks2015-04-281-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Automated conversion of VclPtr construction to use Instance template.Michael Meeks2015-04-101-1/+1
| | | | | | | | Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
| * Fix OutputDevice members / stack allocation: desktop, sfx2, lwp.Michael Meeks2015-04-101-4/+4
| | | | | | | | Change-Id: I5563cfa35142f088533ae998d087dec669a13287
* | More loplugin:simplifyboolStephan Bergmann2015-04-273-4/+4
| | | | | | | | Change-Id: I1ed1841c7cfbf69abfc8ba19cca348077da7b6d1
* | loplugin:simplifyboolStephan Bergmann2015-04-247-31/+30
| | | | | | | | Change-Id: If09fcea7bea9d246e81e3fb9824d284212e8719b
* | Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann2015-04-237-29/+29
| | | | | | | | | | | | ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
* | remove unnecessary use of void in function declarationsNoel Grandin2015-04-1523-124/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
* | tdf#90028 avoid crash if style is not foundDavid Tardon2015-04-141-4/+8
|/ | | | Change-Id: I4ffc8cdcb67ecb4c4afa641c9219dd465fe13d29
* loplugin:staticmethodsNoel Grandin2015-04-021-1/+1
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-1/+1
| | | | Change-Id: Ib2c9196c8c0b6d57cb45e552eda771046f67c5ee
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-282-3/+3
| | | | Change-Id: Iad2178f516b4a123175008efcc485fd6812f1027
* fix windows buildNoel Grandin2015-03-241-2/+2
| | | | | | | | after my commit d7a4135b072a693cb5ebf94c250d34d5beb741e3 "loplugin:constantfunction: lotuswordpro" it appears that Visual Studio does not support this yet Change-Id: Ide04fde905e0991e27ec03c3e216fcbd25b1f10b
* loplugin:constantfunction: lotuswordproNoel Grandin2015-03-2413-36/+14
| | | | Change-Id: I16fbba302c7330010f9b4c888f48a868ad6b921e
* TyposJulien Nabet2015-03-231-1/+1
| | | | Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
* convert SFX_FILTER_ constants to enum classNoel Grandin2015-03-191-2/+2
| | | | Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
* create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin2015-03-181-2/+2
| | | | | | | | | | | | of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
* TyposJulien Nabet2015-03-121-1/+1
| | | | Change-Id: I55d7440ba5bee16bbce5930c81c604858131b5c7
* lotuswordpro: PVS-Studio V674 comparing long to doubleMichael Stahl2015-03-121-1/+1
| | | | | | | Not sure if the GetMRest is supposed to be multiplied with something, but ~nobody knows or uses that format anyway so just suppress the warning. Change-Id: I883d090901cf0be0978579ade24beaed6f6ae5c1
* slightly odd stuff hereCaolán McNamara2015-03-111-16/+7
| | | | Change-Id: I715d49722ebe4658c108cb9b7bd6fa3934d973f8
* TyposJulien Nabet2015-03-082-3/+3
| | | | Change-Id: Ibc378fa5f515de61bb768b4ef082638b40c94e00
* V813: Decreased performanceCaolán McNamara2015-03-046-47/+35
| | | | Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
* TyposJulien Nabet2015-02-243-3/+3
| | | | Change-Id: I5f2577dd1f047331a58d33e05684b673e6dbd11e
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-234-7/+7
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* Various typosJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I61d6a92e5301e07c9180d94dafec23ef1a06e0ef
* loplugin:deletedspecialStephan Bergmann2015-02-077-16/+16
| | | | Change-Id: Ic38c44e43d5006626f8673897234f7e11145901e
* coverity#1267642 Logically dead codeCaolán McNamara2015-02-061-2/+0
| | | | | | reviewed the 120+ callers and confirmed it is never NULL Change-Id: I5c029dc35b265d9e11a0a222170dad4d6a55ed2f
* coverity#1267665 Logically dead codeCaolán McNamara2015-02-041-2/+0
| | | | | | inspection shows it can never be null Change-Id: I5160fc1e212996ddea89075d86c6f3a0d0c5da94
* coverity#1267650 Logically dead codeCaolán McNamara2015-02-041-14/+4
| | | | | | inspection shows they can never be null Change-Id: Idffbed313769b232e5476a10ed4df815719606ed
* coverity#1267647 Logically dead codeCaolán McNamara2015-02-041-3/+1
| | | | | | inspection shows its always non null Change-Id: Idc2e0f62a29b635381685f81d0f9f88b3eef659d
* callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara2015-01-294-39/+0
| | | | | | | | | | | | | | | | | | i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual 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: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
* Some more loplugin:cstylecast clean-upStephan Bergmann2015-01-281-4/+4
| | | | Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
* new loplugin: change virtual methods to non-virtualNoel Grandin2015-01-268-60/+55
| | | | | | | | | | 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
* coverity#1266511 Useless callCaolán McNamara2015-01-251-3/+1
| | | | Change-Id: I0ca967e6e07cc00159612dd8e19648445e0a011a
* coverity#1266516 Useless callCaolán McNamara2015-01-251-1/+1
| | | | Change-Id: Icbf0e6ff8bad7e83c596f4e18003a06ba361b5eb
* valgrind: uninitialised valueCaolán McNamara2015-01-241-1/+1
| | | | Change-Id: If89368adbecbcf7197afe714fd725497c573b6a9
* cppcheck: memset on union containing floating pointer numberCaolán McNamara2015-01-241-1/+1
| | | | Change-Id: I63420f0bae89bae08ae71dc7dedf92dd90ca9728
* Some more loplugin:cstylecast: lotuswordproStephan Bergmann2015-01-202-11/+11
| | | | Change-Id: Ic3c08d1f72a61306113520cf2574822c85606689
* fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin2015-01-072-2/+2
| | | | Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-023-4/+6
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19