summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann3-3/+4
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08Use typed Menu::SetHighlightHdl LinkStephan Bergmann1-2/+2
Change-Id: I47a35813fddcb90497b621a96bafe74969dc90d0
2015-05-06tdf#90258 Toggle Thousand Separator with Engineering NotationLaurent Balland-Poirier1-2/+36
If scientific format is selected, "Thousands separator" option is almost useless. It could be replaced by "Engineering Notation". Rebase of https://gerrit.libreoffice.org/15152 Update with more robust tests. Change-Id: Ie2b88b1f149fce26c32a43ace623cf1f45f38e6e Reviewed-on: https://gerrit.libreoffice.org/15606 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin2-3/+3
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin2-2/+2
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl2-3/+3
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann3-6/+3
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann3-6/+3
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I3d61c1c64f7e781c032a77d5d35998e953bf5c0c
2015-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann2-4/+2
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30Gradually typed LinkStephan Bergmann23-35/+35
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-29cui: loplugin:literaltoboolconversionMichael Stahl1-1/+1
Change-Id: I26b9778d2fe593dd5d4bdbc2cb737c6304bae120
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann6-34/+9
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann2-7/+7
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29on using 'add' color button, don't frighten with an errorCaolán McNamara2-41/+55
that the name already exists if the user didn't use the edit entry yet. Just always, like the gradient one, put up the dialog to enter a name, use the entry text if that name isn't taken, and generate a new one if its is. Change-Id: Ibd3d37db73ecdbae7998884d3397cbc2bc6b7c3f
2015-04-29convert CT_ constants to scoped enumNoel Grandin11-97/+97
Change-Id: Icd1f009e879965feb936c6268688cdcd1edbd231
2015-04-29convert LANG_LIST constants to scoped enumNoel Grandin3-6/+6
Change-Id: Ibd699cfdfd3266c2965a5b6368cfe2f4431b7fb4
2015-04-29convert SVX_ flags to scoped enumNoel Grandin1-5/+5
Change-Id: I6ca73a459597f06fc301a12d6556775a77a7c4c7
2015-04-29convert SW_BORDER_MODE constants to scoped enumNoel Grandin1-9/+9
Change-Id: I7b2e03a5cacf5d2a706ba8e2d3b276fcb3f7e88b
2015-04-29convert CS_ constants to scoped enumNoel Grandin2-7/+7
Change-Id: I7fb03a04f086c1952a6f186a00fffad0b6c1236b
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ž Vajngerl5-7/+7
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks31-395/+1454
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-28UpdateFormatListBox_Impl bCat param wants to be of type boolStephan Bergmann1-5/+5
Change-Id: Idf6831ef21cf94926667ca532d9df2a18926e452
2015-04-28SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpgStephan Bergmann22-43/+43
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
2015-04-27More loplugin:simplifyboolStephan Bergmann4-4/+4
Change-Id: If2eef4011382f48b31d8d6289e4bf725a8cb60ae
2015-04-24loplugin:simplifyboolStephan Bergmann4-13/+11
Change-Id: Idd83e86cabc9c9075564fc79f91a59f54116bf95
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann4-10/+10
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-22Clean up odd sal::static_int_cast<sal_Bool> usesStephan Bergmann2-7/+6
Change-Id: Idbd1cdb06315b96dc9f45e34108a1af45229ed2f Reviewed-on: https://gerrit.libreoffice.org/15484 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-22convert SV_LBOXTAB_ constants to scoped enumNoel Grandin1-3/+3
Change-Id: Ic7d91ca51106288fb0e14f6f243d74be77cb2c0d
2015-04-22convert HIB_ constants to scoped enumNoel Grandin1-2/+2
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-18cui: convert new to ::Create.Michael Meeks8-10/+10
Change-Id: Ifad69772a4954f14772cca9eeae913e546eff477
2015-04-17tdf#82784: cui: Area tab page: do not override imported bitmapsMichael Stahl1-18/+28
Check that we don't clobber a custom bitmap in the dialog. The (non-obvious) trick is that the name of these is non-empty, so we can check that to filter out pool default items that Draw likes to put into item sets (?), as well as just plain weird items that Draw likes to put into item sets, while avoiding relying on the surprisingly implemented ImpGraphic::operator==(). (regression from 38d0047da7f964c862360b48d88cc869ad376b6b) Change-Id: I0b94e49ef3a9a32c188c3b117a57f780f55e1584
2015-04-17Fix SfxTabPage creation to use VclPtr.Michael Meeks29-157/+134
Change-Id: Ia0e8b666daec7b5eaba119c758b9ca1ec8276128
2015-04-17Clean up conversion from TriState to boolStephan Bergmann1-2/+6
to witness, in Draw select multiple rectangles, with and without shadows, then "Format - Area... - Shadow" Change-Id: Ia1d042f0e3e99bb55228c558568c96b113edfe00
2015-04-15loplugin:cstylecastNoel Grandin1-2/+2
Change-Id: Iba70d0e7fc7cf4829e709efd25e8125353379942
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-1/+1
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-14Remove checks for HTMLMODE_SOME_STYLESHarri Pitkänen1-2/+0
HTMLMODE_SOME_STYLES is enabled if we are in HTML mode (it is enabled for all HTML modes). These checks for conditionally disabling some table background controls are not needed anymore. Change-Id: I10fb73a67ac4bba250da4cea79ff6bae427a1613 Reviewed-on: https://gerrit.libreoffice.org/15264 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-14loplugin:cstylecastNoel Grandin1-1/+1
Change-Id: I3607afd9f553b9b3246dd67aca93e932625861a7
2015-04-13More lifecycle correction.Michael Meeks1-3/+3
Another (complete) audit of delete usage in: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I828212ded66ecc5cc30c75a4de626c7b386cb77a
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann1-1/+1
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13Related tdf#34467: Fit to Frame for text boxes is brokenJulien Nabet1-1/+1
Wrong Copy-paste Change-Id: Ice000b072a39efc3adc9133b8599c43a93559862 Reviewed-on: https://gerrit.libreoffice.org/15224 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks9-13/+13
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10first half of non-scriptable, Instance constructor conversion.Michael Meeks6-57/+56
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
2015-04-10wrap some more OutputDevice in VclPtrNoel Grandin1-1/+1
Change-Id: I6f4a74bf56543e4d31d3b84a0cd2830d4f4d669a
2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin8-29/+29
They need to be wrapped in ScopedVclPtr in order to be disposed properly. Change-Id: Ib64dba353774f54711e4de7f5d15d859c6a4dc7e
2015-04-10Move OutputDevice members to VclPtr: chart2, sfx2, cui.Michael Meeks1-2/+1
Change-Id: If9228f8777edd4532e9a167eae23095c5e232a6c
2015-04-10Fix OutputDevice members / stack allocation: desktop, sfx2, lwp.Michael Meeks1-3/+3
Change-Id: I5563cfa35142f088533ae998d087dec669a13287
2015-04-10Fix OutputDevice members / stack allocation: chart, canvas, cui.Michael Meeks1-3/+3
Change-Id: Ieb6f58222ffc3e03c1d599752a6f02600e1bee1f