summaryrefslogtreecommitdiff
path: root/vcl/generic
AgeCommit message (Collapse)AuthorFilesLines
2016-02-06Related tdf#91362: disable paper size & orientation selectionKatarina Behrens1-0/+1
Unless 'Use only papersize from printer prefs' is toggled on, whatever the user sets here doesn't have any effect on the actual printing (page settings from the document are used instead). It is misleading to have the user believe otherwise. It was really challenging to have this one toggle get all the way down through several layers of abstraction, though ... Change-Id: If240084ca23b3946a92882a6ee47dbc161b3b86c Reviewed-on: https://gerrit.libreoffice.org/16812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit 2a1fe443a8343642292444be19cbd10700e7e01c)
2016-02-06Fix typosAndrea Gelmini1-1/+1
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit e544f449eded2738b45de4be13c72b128a16bafe)
2016-02-06loplugin:unusedmethods vclNoel Grandin1-7/+0
(cherry picked from commit 449d272daf5e99f039cdfdd25f020bd798fb9e1d) Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
2016-02-06remove some unnecessary typedefs to pointerNoel Grandin1-6/+4
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection (cherry picked from commit d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a) Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2016-02-06Fix typosAndrea Gelmini1-1/+1
Change-Id: Id9296115f30858e7fd470a199e59343a96d7deec Reviewed-on: https://gerrit.libreoffice.org/16712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> (cherry picked from commit 462e986e0dbd533b3a15696555e08489963c9542)
2016-02-06loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-1/+1
Change-Id: I6c82e5071038990489e85ac27758867205ba476a (cherry picked from commit 786447f12ddedce95217fffeedb5d6296ec388d4)
2016-02-06fix spelling Unimplmented -> UnimplementedNoel Grandin1-1/+1
Change-Id: I39df0cd556ae40b6ae40eaec1d64ee59ff8de241 (cherry picked from commit 0e2db2dd3413d760afaa4cfab4c7c224222b949a)
2016-02-06Fix typosAndrea Gelmini1-3/+3
Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit ae150c6a5424d021ce5eb46dc9573f12a4d05445) Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8
2016-02-06Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe1-3/+3
This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 09800956191c90035872cbc18cd304fee043c710) Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
2016-02-06Cleanup crossplatform cairoMox Soini1-0/+5
Mac / Win cairo is not built / used, this cairo code can be removed to reduce code bloat. 4th Revised version with Android fixes Reviewed-on: https://gerrit.libreoffice.org/16218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 0c87f8bf42ba0338dbf6516dc9539223a5dedf4c) Change-Id: I6e56850f535ca13b77839b7d67e227c5f39d388e
2016-02-06convert expressions like 'size() == 0' to 'empty()'Noel Grandin1-4/+4
(cherry picked from commit 776a3f14f2d987312b926ebc1ad09321a3a87f0d) Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af
2016-02-06convert 'it.begin() == it.end()' to 'it.empty()'Noel Grandin5-13/+13
Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145 Reviewed-on: https://gerrit.libreoffice.org/16212 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit d203948fdb780c7af5777fcc26ad88bac1bd714e)
2016-02-05loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann6-13/+13
(cherry picked from commit f6ec07a3963a401dc736baa9bdd2ed3c7325bb66) Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81
2016-02-05loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann3-3/+3
Change-Id: I1a9aa868d3724a7d14c181e45d956cdf2423e40c (cherry picked from commit c56a8863cde2ccd96dc6b75ad2c7d208c8190414)
2016-02-05cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92 (cherry picked from commit 8e22cd40ec9f7d97bde49dd4c8593fc5bfb52e29)
2016-02-05loplugin:redundantcast: const_cast to same typeStephan Bergmann1-6/+2
Change-Id: I610fd4cf9339fd5c18eb77e7c94ffd0f99e9b125 (cherry picked from commit 696f96f34b9e4cc384ecb3481b018301f493fc23)
2016-02-05new clang plugin: loopvartoosmallNoel Grandin1-1/+1
Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015 (cherry picked from commit d5129a9dd68978f9eccdd4597b5b6834557c422a)
2016-02-05cppcheck: noExplicitConstructorCaolán McNamara7-13/+13
(cherry picked from commit acad8441cc40b7b0f91681d6827f8364de05046e) Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
2016-02-05Remove include stdio (part6)Julien Nabet4-6/+1
Reviewed-on: https://gerrit.libreoffice.org/15879 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit c2690669d29c0679b7de8eec1e91a0fd17cea054) Change-Id: I4dde46c81b36b318710e32c8f420dff8d9c2e655
2016-02-05loplugin:constantfunctionNoel Grandin2-2/+4
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448 (cherry picked from commit 24600dcf3118cb01d57c31518d36be870f73e79c)
2016-02-05convert PRINT_CAPABILITIES constants to scoped enumNoel Grandin1-14/+14
Change-Id: Ib8750a7acaf038476b0a5307e4a8a0bc3bf16015 Reviewed-on: https://gerrit.libreoffice.org/15824 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit bc0266c4984f94496c0c055c82b94bef9a2625dc)
2015-11-28tdf#91288 Does not display traditional Chinese variant ofMark Hung1-1/+3
Noto fonts correctly. LanguageTag()::getLanguage() would always return "zh" despite traditional Chinese were choose. hb_language_from_string() requires iso639-3 language tag except for Chinese, so we use use Bcp47() language tag for Chinese to differ zh-CN and the others. Change-Id: I6700a79a9c49a97d840b430def77741912935f72 Reviewed-on: https://gerrit.libreoffice.org/20027 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 4424daa225e73d291a3fd64d369cdda5857f3d51) Reviewed-on: https://gerrit.libreoffice.org/20204 (cherry picked from commit 48cf2d9fe9eea5e6fae310058b6f705553996635)
2015-11-05Collabora Office: hackish fix of repaint problem of vcl widgetsAndras Timar1-15/+3
Change-Id: Ib0eaba0767ff18d03464ba7d1ec1ffdd2ba3ca78
2015-10-29tdf#94022 Print dialog: hide Installable OptionsMichael Weghorn1-2/+9
Options specified in PPD files can be grouped using the keywords "OpenGroup" and "CloseGroup". The keyword "InstallableOptions" is used as a group name for a group containing options that define optional hardware features of the printer that can be present or not (s. section 5.4 in version 4.3 of the PPD specification). As they are not print job specific, it is recommended not to show them in the print dialog. To be able to distinguish those options, the PPD group name was added as an attribute to the PPDKey class. Reviewed-on: https://gerrit.libreoffice.org/19623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit f8d0dc09e15b36ae83a5e89280d1f7fbc01da48b) Conflicts: include/vcl/ppdparser.hxx Change-Id: I4a3abf23a711ad98556c0b608a07ef0a91e77e2b Reviewed-on: https://gerrit.libreoffice.org/19630 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 2f03a169d2311ed4337103d19f33173e997d0f40)
2015-10-17Fix tdf#40091 and tdf#40335 text layout issues.Mark Hung1-0/+3
tdf#40091 Vertical writing inferior to MS Word tdf#40335 Using Right-to-left (vertical) for text, the characters overlap each other. Cursor is placed at the half of the character. It seems that current implementation use HarfBuzz OpenType layout API hb_buffer_get_glyph_positions() to layout the text, however instead of setting text direction to HB_DIRECTION_TTB, it uses HB_DIRECTION_LTR as its direction and rotates each CJK glyph to simulate the HB_DIRECTION_TTB. However the API use font width to position each glyph no matter whether the glyph will be rotated or not. Change-Id: Ie35238dd92218f8c4463c0ae1d356ad8609c5f48 Reviewed-on: https://gerrit.libreoffice.org/17774 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/18878 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a4532151e3ca83488bc8fd255cc64971421b4517)
2015-09-18tdf#93867 - clear current GL context before thread switch.Michael Meeks1-1/+1
Fixes regression from otherwise a nice cleanup in: d20092259c7ea63885a539f911788715f8147ee9 Also get polarity of debug logging only with a context right. Change-Id: Id322471f01e5656e758aefc57b0d4d5ad073ec54 Reviewed-on: https://gerrit.libreoffice.org/18282 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-06Related tdf#91362: disable paper size & orientation selectionKatarina Behrens2-0/+9
Unless 'Use only papersize from printer prefs' is toggled on, whatever the user sets here doesn't have any effect on the actual printing (page settings from the document are used instead). It is misleading to have the user believe otherwise. It was really challenging to have this one toggle get all the way down through several layers of abstraction, though ... Change-Id: If240084ca23b3946a92882a6ee47dbc161b3b86c Reviewed-on: https://gerrit.libreoffice.org/16822 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-08-06tdf#91362: Make "printer was modified" status persistentKatarina Behrens1-1/+1
To test: Scenario 1: * go to Writer -> Format -> Page * select page format and orientation, if possible a different one than the default in your env. * File -> Print -> Properties should now show those values (and not the default values from the printer) Scenario 2 (aka Scenario 2 from tdf#61186) * now go to File -> Printer settings * change page format and orientation, if possible to yet a different one than the printer default and a page one * File -> Print -> Properties should now show what was selected in Printer settings and not the format of the page Change-Id: Ibc84540f428b79dbec2587c50eefe526a62751b3 Reviewed-on: https://gerrit.libreoffice.org/16716 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 0251e61640b94094918406b33ee7b05564409feb) Reviewed-on: https://gerrit.libreoffice.org/16808 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-08-06coverity#1308603 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I77ecdb2703e7957613db005517a354879f5bb009 (cherry picked from commit d5df3833784cd6be63cffcc9dd73d82a401f11a0)
2015-08-06tdf#91362: Don't override printer page autodetectionKatarina Behrens2-1/+10
if printer settings haven't been modified Change-Id: I68b0096ce6fa0f9e50db640a0acb3039ff7e66b5 Reviewed-on: https://gerrit.libreoffice.org/16529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-06-22Re-factor AddTempDevFont to share it with headless backend.Michael Meeks1-0/+37
Change-Id: Ic316b18eace3445edef346fe319cbb0e557607fa
2015-05-26Resolves: tdf#89231 if no font has 0x202F fallback to a normal spaceCaolán McNamara1-0/+6
Change-Id: I2325c0b09ccf66ee15597251ad027b295de5502f (cherry picked from commit f76ecc3e9ce51b35fc18db55b808270079a3652b)
2015-05-20convert SAL_LAYOUT flags to scoped enumNoel Grandin2-10/+10
Change-Id: I0aeea1f32136e43e90a1afb0ea84dbaff2b77587
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-3/+3
Change-Id: I0f844c7265b52d668bc6a2368321950a1a00cce5
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann1-1/+1
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann1-4/+2
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann1-5/+4
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-2/+0
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann1-1/+1
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks3-34/+81
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 Bergmann1-1/+1
Change-Id: I34cb4961f6db405cc3b72d488d163487489b0251
2015-04-24loplugin:simplifyboolStephan Bergmann4-12/+11
Change-Id: I8276e8b356ff26241613de64bcd90b5dbcd92f29
2015-04-20vcl: convert new to ::CreateMichael Meeks1-2/+2
Change-Id: Ifd52953086ea923fa1770892d13f32c2263aec54
2015-04-20convert AppleLanguageId to scoped enumNoel Grandin1-2/+3
Change-Id: I6646872f76bb9365a8c2ef809bc942f28b690a32 Reviewed-on: https://gerrit.libreoffice.org/15378 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin2-3/+3
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-10automated VclPtrInstance conversion.Michael Meeks2-2/+2
Change-Id: I9a1d47202e2794461f6ec44f3e72ee1dd2fde09d
2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin2-2/+2
They need to be wrapped in ScopedVclPtr in order to be disposed properly. Change-Id: Ib64dba353774f54711e4de7f5d15d859c6a4dc7e
2015-04-10vclptr: switch printers away from boost_shared.Michael Meeks1-1/+1
Also continue to move to extended toolkit/ API. Change-Id: Ibd4337b014ee096c84d0ad4435e2c5de1b258afe
2015-04-10vclwidget: only call dispose() onceNoel Grandin2-4/+4
by using a new utility method in vcl::Window This means that we don't have to make all our dispose methods safe to call more than once. Change-Id: I2110c7de4a86c70fdc97dd8fd318c86b56865374
2015-04-10Audit and correct misc. clears -> disposeAndClears.Michael Meeks1-2/+2
Anything that used to be 'delete'd should be disposeAndCleared() in the new world.