summaryrefslogtreecommitdiff
path: root/filter/source
AgeCommit message (Collapse)AuthorFilesLines
2015-05-05loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
2015-05-05loplugin:staticmethodsNoel Grandin17-84/+83
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-05-04Use typed TabControl::SetDeactivatePageHdl LinkStephan Bergmann2-3/+3
Change-Id: I487aad5217cb685ece971717445a68b4fb3d2b3a
2015-04-30Use typed MaybeFile LinkStephan Bergmann2-3/+3
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
2015-04-30Gradually typed LinkStephan Bergmann3-5/+5
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist1-1/+1
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist7-42/+38
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-29convert SDR*ALIGN constants to scoped enumNoel Grandin1-9/+9
Change-Id: I29b7b4fe1181133cbbb0bb43a1835941cf12210d
2015-04-29convert SDRESC_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I9488088d006ceae15368fae775aeebebfa7ce229
2015-04-29convert MSDFF_HANDLE_FLAGS_ constants to scoped enumNoel Grandin2-22/+23
Change-Id: Ica0fe759db5ac9afca524f46ecfdb85368066403
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl1-2/+2
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl2-2/+2
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks43-414/+669
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-28FlashExporter::exportBackgrounds return type is sal_uInt16Stephan Bergmann1-2/+2
Change-Id: Ic75d0893f4e0e8893c683661d3c6f3f91653b267
2015-04-28Dialog::EndDialog nResult param is of type long/VclResponseTypeStephan Bergmann1-1/+1
Change-Id: I31f1941daf158676518fcf259ef8a9e84863473e
2015-04-27More loplugin:simplifyboolStephan Bergmann18-53/+53
Change-Id: I49ef963c3c10614d3dd3012a756a1ca81aa62391
2015-04-27enhancement : tdf#90225 Cannot open compressed csv files from calcDennis Francis1-1/+27
Change-Id: I5098fd25f1747b49e47e360f017ee1112a242771 Reviewed-on: https://gerrit.libreoffice.org/15108 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2015-04-24Simplify SVG_DISABLE_FONT_EMBEDDING checkStephan Bergmann1-5/+2
Environment variables are used as a source for bootstrap variables anyway. Consistently consider SVG_DISABLE_FONT_EMBEDDING to be enabled if the bootstrap variable is present, regardless of its value. No need to tset it in CppunitTest_sd_import_tests, as it only affects SvgExport. (However, there is currently no test of svg export in CppunitTests_sd_export_tests, either; it was last disabled with 925907767cc63c1e5d6414e215f671a0b9f8a28a "disable sd's regression test again" and subsequently removed with f5dbe0eaba923f5de84745a04f531b36c979cafa "Usage of XShapeDumper in Impress added.") Change-Id: I3bc8e26953bd4b5a59f8230ee93fe99e0488d5cc
2015-04-24loplugin:simplifyboolStephan Bergmann5-11/+11
Change-Id: Idf2ae6b0b2c3d111125ad91ea7d13eec67325f36
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann5-9/+9
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23Use comphelper::SequenceAsHashMap::getUnpackedValueOrDefault<bool>Stephan Bergmann2-5/+5
...instead of ...<sal_Bool>; plus ensuing loplugin:implicitboolconversion Change-Id: I5400e9d3175b9fe9b6088d37fe6bf3275314d7d0
2015-04-23loplugin:staticmethodsNoel Grandin3-8/+8
Change-Id: I2ee91d07cf9d46cdc385a4db8473550b05e2f0ad
2015-04-23loplugin:staticmethodsNoel Grandin3-13/+13
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-23loplugin:staticmethodsNoel Grandin1-4/+2
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
2015-04-23cppcheck: unreadVariableCaolán McNamara1-4/+0
Change-Id: I3c70ad7628ed0d2a39a62eaece84d7cb77e150be
2015-04-23cppcheck: unreadVariableCaolán McNamara1-12/+4
Change-Id: I6483df29f99dc67e8a944e371c6e00e4724d154f
2015-04-22convert HIB_ constants to scoped enumNoel Grandin1-2/+2
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-17Fix SfxTabPage creation to use VclPtr.Michael Meeks2-24/+24
Change-Id: Ia0e8b666daec7b5eaba119c758b9ca1ec8276128
2015-04-17loplugin:implicitboolconversion clean-upStephan Bergmann1-4/+4
Change-Id: Ia175eef112cd79019be26a6a068992d796cb2faf
2015-04-17SvStream: WriteUChar -> WriteBoolStephan Bergmann1-1/+1
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
2015-04-17filter: convert new to ::Create.Michael Meeks6-15/+15
Change-Id: I6cea3011ff3c89c95fa19cc4264b43779aa0e0a9
2015-04-17Use VclPtr for OGenericUnoDialog::createDialog.Michael Meeks6-20/+14
Change-Id: I0c2040889931a4700735339c5252f8d5fee234ff
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin4-5/+5
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
2015-04-13fix int wraparound + crash on export of fdo74018-2.docx to docCaolán McNamara1-18/+19
nPoints is 16bit and accumulated value wraps around, so use a 32bit nTotalPoints instead and move 16bit declarations to use points to confirm no other wraparounds Change-Id: If97ccb46ed8eb7f4305cdfe328ae83bc2b0c778c
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann3-3/+3
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
2015-04-13loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin1-1/+1
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-11tdf#37650: further improvement of svg exportChr. Rossmanith1-4/+64
continues work of 0a4e9138281bd0a4be59031357c1bf52134d007a when opening a <tspan> element check if <text> element has been opened already; if not open <text> element and close it immediately after writing the text Change-Id: I6e4cfdf9ba107ec9e65a99e7866f4a1075737d82
2015-04-11tdf#56467 / tdf#88117: SVG export further improvedChr. Rossmanith1-4/+1
omitting the clip-path from the <svg> element and keeping it only in the slides enables rendering of exported selection in viewers like firefox and inkscape Change-Id: If296a78a3f948728e8b2ec257849be129bec5d92 Reviewed-on: https://gerrit.libreoffice.org/15155 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-04-11tdf#56467: copy text of meta actions with valid text lengthChr. Rossmanith2-6/+12
avoids !!br0ken!! in svg output Change-Id: I7f99a26f3a995cbaeb1e520a411a8e1c31a8a61f Reviewed-on: https://gerrit.libreoffice.org/15144 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-04-10VclPtr: unfortunate includes needed for inlining ref/unref.Michael Meeks2-2/+2
Something of a compile time vs. run-time choice. Change-Id: I7e9db3a6f14d352e0b78abd5f22ccc593aceb001
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks12-32/+32
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10Cleanup a few issues with stack VirtualDevice conversion.Michael Meeks1-3/+3
2015-04-10wrap more stuff in VclPtrNoel Grandin1-6/+6
Change-Id: Ia742c47399231bc5914b6586132ad3daf694fdb0
2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin6-12/+12
They need to be wrapped in ScopedVclPtr in order to be disposed properly. Change-Id: Ib64dba353774f54711e4de7f5d15d859c6a4dc7e
2015-04-10vclptr: various mistakes fixed, and more ptr types converted.Michael Meeks1-1/+1
Change-Id: Iba04ec828f7ce37fc6ede28a64f1c286d81ff705
2015-04-10vclptr: misc. bug fixing.Michael Meeks1-0/+1
Change-Id: Id56188c0f72b74bc9ce6eed558a8339d4175d628
2015-04-10Move OutputDevice members to VclPtr: filter, reportdesign, uui.Michael Meeks12-19/+19
Change-Id: Iafac8812714a0be68f5608f657c76c159f2912a0
2015-04-10Fix OutputDevice members / stack allocation: filter.Michael Meeks7-90/+90
Change-Id: Ib67fd510626809baab774382d37b20462253fc31