[Libreoffice-commits] core.git: accessibility/inc basctl/source basic/qa basic/source chart2/source cui/source dbaccess/source desktop/source editeng/source extensions/source filter/source forms/source formula/source fpicker/source framework/inc framework/source include/basic include/dbaccess include/editeng include/sfx2 include/svl include/svtools include/svx include/tools include/unotools include/vcl reportdesign/source rsc/inc rsc/source sc/inc sc/source sd/inc sd/source sfx2/inc sfx2/source sot/source starmath/inc starmath/source svl/source svtools/inc svtools/source svx/inc svx/source svx/workben sw/inc sw/source toolkit/source unotools/source uui/source vcl/inc vcl/source vcl/unx xmlsecurity/inc xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 30 01:20:58 PDT 2015
accessibility/inc/accessibility/extended/textwindowaccessibility.hxx | 4
basctl/source/basicide/bastype3.hxx | 12 -
basctl/source/basicide/bastypes.cxx | 4
basctl/source/inc/baside3.hxx | 2
basic/qa/cppunit/basictest.hxx | 2
basic/source/classes/sb.cxx | 6
basic/source/classes/sbxmod.cxx | 2
basic/source/inc/sbintern.hxx | 4
chart2/source/controller/dialogs/DataBrowser.cxx | 22 -
chart2/source/controller/dialogs/DataBrowser.hxx | 8
chart2/source/controller/dialogs/res_BarGeometry.cxx | 2
chart2/source/controller/dialogs/res_BarGeometry.hxx | 2
chart2/source/controller/dialogs/res_LegendPosition.cxx | 2
chart2/source/controller/dialogs/res_Titles.cxx | 2
chart2/source/controller/dialogs/res_Trendline.cxx | 2
chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx | 4
chart2/source/controller/inc/dlg_ObjectProperties.hxx | 2
chart2/source/controller/inc/res_LegendPosition.hxx | 4
chart2/source/controller/inc/res_Titles.hxx | 2
chart2/source/inc/ModifyListenerCallBack.hxx | 2
chart2/source/tools/ModifyListenerCallBack.cxx | 8
cui/source/customize/acccfg.cxx | 8
cui/source/customize/macropg.cxx | 2
cui/source/dialogs/SpellDialog.cxx | 4
cui/source/dialogs/colorpicker.cxx | 10
cui/source/dialogs/cuifmsearch.cxx | 2
cui/source/dialogs/cuigaldlg.cxx | 6
cui/source/dialogs/hangulhanjadlg.cxx | 22 -
cui/source/dialogs/hlinettp.cxx | 2
cui/source/dialogs/insdlg.cxx | 4
cui/source/dialogs/scriptdlg.cxx | 2
cui/source/dialogs/zoom.cxx | 8
cui/source/factory/dlgfact.cxx | 46 ++--
cui/source/factory/dlgfact.hxx | 46 ++--
cui/source/inc/SpellDialog.hxx | 6
cui/source/inc/autocdlg.hxx | 4
cui/source/inc/cfg.hxx | 10
cui/source/inc/cuifmsearch.hxx | 12 -
cui/source/inc/cuigaldlg.hxx | 4
cui/source/inc/cuigrfflt.hxx | 12 -
cui/source/inc/dlgname.hxx | 8
cui/source/inc/hangulhanjadlg.hxx | 26 +-
cui/source/inc/labdlg.hxx | 4
cui/source/inc/numfmt.hxx | 4
cui/source/inc/optdict.hxx | 4
cui/source/inc/postdlg.hxx | 12 -
cui/source/inc/selector.hxx | 6
cui/source/inc/swpossizetabpage.hxx | 4
cui/source/inc/transfrm.hxx | 4
cui/source/options/connpooloptions.cxx | 4
cui/source/options/doclinkdialog.hxx | 6
cui/source/options/fontsubs.cxx | 2
cui/source/options/optasian.cxx | 2
cui/source/options/optcolor.cxx | 20 -
cui/source/options/optgdlg.cxx | 4
cui/source/options/optgenrl.cxx | 2
cui/source/options/optinet2.cxx | 2
cui/source/options/optpath.cxx | 2
cui/source/options/optsave.cxx | 2
cui/source/tabpages/align.cxx | 2
cui/source/tabpages/chardlg.cxx | 12 -
cui/source/tabpages/connect.cxx | 2
cui/source/tabpages/grfpage.cxx | 2
cui/source/tabpages/labdlg.cxx | 2
cui/source/tabpages/macroass.cxx | 2
cui/source/tabpages/measure.cxx | 2
cui/source/tabpages/numfmt.cxx | 4
cui/source/tabpages/numpages.cxx | 2
cui/source/tabpages/page.cxx | 2
cui/source/tabpages/paragrph.cxx | 6
cui/source/tabpages/swpossizetabpage.cxx | 2
cui/source/tabpages/tabstpge.cxx | 2
cui/source/tabpages/textanim.cxx | 2
cui/source/tabpages/textattr.cxx | 2
cui/source/tabpages/tparea.cxx | 4
cui/source/tabpages/tpcolor.cxx | 2
cui/source/tabpages/tpgradnt.cxx | 2
cui/source/tabpages/tphatch.cxx | 2
cui/source/tabpages/tpline.cxx | 8
cui/source/tabpages/tplnedef.cxx | 2
cui/source/tabpages/tpshadow.cxx | 2
cui/source/tabpages/transfrm.cxx | 2
dbaccess/source/ui/browser/AsynchronousLink.cxx | 2
dbaccess/source/ui/browser/dbtreeview.cxx | 6
dbaccess/source/ui/browser/dbtreeview.hxx | 6
dbaccess/source/ui/control/RelationControl.cxx | 2
dbaccess/source/ui/control/ScrollHelper.cxx | 2
dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 2
dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx | 14 -
dbaccess/source/ui/dlg/TextConnectionHelper.hxx | 8
dbaccess/source/ui/dlg/admincontrols.cxx | 2
dbaccess/source/ui/dlg/admincontrols.hxx | 2
dbaccess/source/ui/dlg/adminpages.hxx | 6
dbaccess/source/ui/dlg/generalpage.hxx | 16 -
dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 14 -
dbaccess/source/ui/dlg/odbcconfig.cxx | 6
dbaccess/source/ui/dlg/odbcconfig.hxx | 4
dbaccess/source/ui/dlg/paramdialog.cxx | 8
dbaccess/source/ui/inc/QueryTableView.hxx | 4
dbaccess/source/ui/inc/ScrollHelper.hxx | 8
dbaccess/source/ui/inc/dbtreelistbox.hxx | 36 +--
dbaccess/source/ui/inc/indexdialog.hxx | 12 -
dbaccess/source/ui/inc/indexfieldscontrol.hxx | 6
dbaccess/source/ui/inc/marktree.hxx | 4
dbaccess/source/ui/inc/sqledit.hxx | 4
desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2
desktop/source/deployment/gui/dp_gui_dialog2.hxx | 2
desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 2
desktop/source/deployment/gui/dp_gui_extlistbox.hxx | 6
desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 2
desktop/source/deployment/gui/license_dialog.cxx | 12 -
editeng/source/editeng/editdoc.hxx | 6
editeng/source/editeng/editeng.cxx | 32 +-
editeng/source/editeng/editview.cxx | 2
editeng/source/editeng/impedit.hxx | 40 +--
editeng/source/editeng/impedit5.cxx | 2
editeng/source/items/frmitems.cxx | 4
editeng/source/outliner/outleeng.hxx | 2
editeng/source/outliner/outlin2.cxx | 12 -
editeng/source/outliner/outliner.cxx | 8
editeng/source/outliner/outlvw.cxx | 2
editeng/source/outliner/paralist.hxx | 6
extensions/source/abpilot/abspilot.cxx | 2
extensions/source/abpilot/typeselectionpage.cxx | 2
extensions/source/bibliography/datman.cxx | 2
extensions/source/bibliography/toolbar.cxx | 2
extensions/source/bibliography/toolbar.hxx | 4
extensions/source/plugin/inc/plugin/unx/mediator.hxx | 12 -
extensions/source/plugin/unx/npwrap.cxx | 2
extensions/source/propctrlr/browserview.hxx | 6
extensions/source/propctrlr/formcomponenthandler.cxx | 2
extensions/source/propctrlr/formlinkdialog.cxx | 4
extensions/source/propctrlr/propertyeditor.hxx | 6
extensions/source/propctrlr/selectlabeldialog.cxx | 6
extensions/source/propctrlr/sqlcommanddesign.cxx | 2
extensions/source/propctrlr/sqlcommanddesign.hxx | 4
extensions/source/propctrlr/standardcontrol.hxx | 8
extensions/source/scanner/sane.hxx | 8
extensions/source/scanner/sanedlg.hxx | 2
extensions/source/scanner/scanwin.cxx | 6
extensions/source/update/ui/updatecheckui.cxx | 4
filter/source/svg/svgfilter.hxx | 4
filter/source/xsltdialog/xmlfilterjar.cxx | 4
filter/source/xsltdialog/xmlfiltertabpagexslt.cxx | 2
forms/source/component/imgprod.hxx | 6
forms/source/richtext/richtextviewport.hxx | 4
formula/source/ui/dlg/ControlHelper.hxx | 42 +--
formula/source/ui/dlg/formula.cxx | 2
formula/source/ui/dlg/funcpage.hxx | 12 -
formula/source/ui/dlg/funcutl.cxx | 6
formula/source/ui/dlg/parawin.cxx | 2
formula/source/ui/dlg/parawin.hxx | 18 -
formula/source/ui/dlg/structpg.hxx | 6
fpicker/source/office/PlacesListBox.cxx | 4
fpicker/source/office/PlacesListBox.hxx | 4
fpicker/source/office/iodlg.cxx | 4
fpicker/source/office/iodlg.hxx | 32 +-
fpicker/source/office/iodlgimp.hxx | 4
framework/inc/classes/fwktabwindow.hxx | 4
framework/source/classes/fwktabwindow.cxx | 4
framework/source/layoutmanager/layoutmanager.cxx | 2
framework/source/services/substitutepathvars.cxx | 6
framework/source/uielement/toolbarmanager.cxx | 6
include/basic/sbstar.hxx | 18 -
include/dbaccess/AsynchronousLink.hxx | 4
include/editeng/brushitem.hxx | 2
include/editeng/editeng.hxx | 34 +--
include/editeng/editview.hxx | 4
include/editeng/edtdlg.hxx | 18 -
include/editeng/outliner.hxx | 112 +++++-----
include/sfx2/app.hxx | 6
include/sfx2/basedlgs.hxx | 2
include/sfx2/dinfdlg.hxx | 4
include/sfx2/docfile.hxx | 4
include/sfx2/docinsert.hxx | 4
include/sfx2/filedlghelper.hxx | 4
include/sfx2/genlink.hxx | 4
include/sfx2/linksrc.hxx | 2
include/sfx2/lnkbase.hxx | 2
include/sfx2/sfxdlg.hxx | 2
include/sfx2/tabdlg.hxx | 4
include/sfx2/tbxctrl.hxx | 4
include/sfx2/templateabstractview.hxx | 8
include/sfx2/thumbnailview.hxx | 4
include/sfx2/thumbnailviewitem.hxx | 4
include/sfx2/titledockwin.hxx | 10
include/svl/svdde.hxx | 48 ++--
include/svl/urihelper.hxx | 6
include/svl/zforlist.hxx | 4
include/svtools/ServerDetailsControls.hxx | 4
include/svtools/asynclink.hxx | 8
include/svtools/calendar.hxx | 36 +--
include/svtools/cliplistener.hxx | 4
include/svtools/dialogclosedlistener.hxx | 4
include/svtools/editbrowsebox.hxx | 26 +-
include/svtools/editimplementation.hxx | 2
include/svtools/filectrl.hxx | 6
include/svtools/fileview.hxx | 8
include/svtools/grfmgr.hxx | 6
include/svtools/headbar.hxx | 36 +--
include/svtools/htmlcfg.hxx | 1
include/svtools/hyperlabel.hxx | 6
include/svtools/inettbc.hxx | 6
include/svtools/ivctrl.hxx | 10
include/svtools/menuoptions.hxx | 6
include/svtools/miscopt.hxx | 6
include/svtools/prnsetup.hxx | 2
include/svtools/ruler.hxx | 36 +--
include/svtools/simptabl.hxx | 18 -
include/svtools/stdmenu.hxx | 24 +-
include/svtools/svlbitm.hxx | 6
include/svtools/svparser.hxx | 2
include/svtools/tabbar.hxx | 12 -
include/svtools/toolbarmenu.hxx | 2
include/svtools/toolpanelopt.hxx | 1
include/svtools/transfer.hxx | 4
include/svtools/treelist.hxx | 12 -
include/svtools/treelistbox.hxx | 46 ++--
include/svtools/valueset.hxx | 16 -
include/svtools/wizdlg.hxx | 12 -
include/svx/charmap.hxx | 24 +-
include/svx/ctredlin.hxx | 78 +++---
include/svx/dialcontrol.hxx | 6
include/svx/dlgctl3d.hxx | 24 +-
include/svx/fmshell.hxx | 2
include/svx/fmsrcimp.hxx | 12 -
include/svx/frmsel.hxx | 4
include/svx/galctrl.hxx | 4
include/svx/galtheme.hxx | 2
include/svx/graphctl.hxx | 24 +-
include/svx/gridctrl.hxx | 8
include/svx/passwd.hxx | 4
include/svx/rubydialog.hxx | 8
include/svx/sdrundomanager.hxx | 4
include/svx/svdedxv.hxx | 2
include/svx/svdetc.hxx | 23 --
include/svx/svdhdl.hxx | 6
include/svx/svdmodel.hxx | 12 -
include/svx/svdobj.hxx | 10
include/svx/svxdlg.hxx | 18 -
include/tools/line.hxx | 2
include/tools/link.hxx | 69 +++++-
include/unotools/syslocaleoptions.hxx | 4
include/vcl/abstdlg.hxx | 4
include/vcl/accel.hxx | 18 -
include/vcl/animate.hxx | 8
include/vcl/bitmap.hxx | 24 +-
include/vcl/bitmapex.hxx | 2
include/vcl/btndlg.hxx | 6
include/vcl/button.hxx | 24 +-
include/vcl/combobox.hxx | 12 -
include/vcl/ctrl.hxx | 14 -
include/vcl/cvtgrf.hxx | 6
include/vcl/dialog.hxx | 2
include/vcl/edit.hxx | 10
include/vcl/evntpost.hxx | 4
include/vcl/field.hxx | 12 -
include/vcl/fixedhyper.hxx | 6
include/vcl/floatwin.hxx | 6
include/vcl/gdimtf.hxx | 6
include/vcl/graph.hxx | 4
include/vcl/graphicfilter.hxx | 2
include/vcl/idle.hxx | 6
include/vcl/layout.hxx | 6
include/vcl/lstbox.hxx | 12 -
include/vcl/menu.hxx | 54 ++--
include/vcl/menubtn.hxx | 12 -
include/vcl/print.hxx | 8
include/vcl/scrbar.hxx | 12 -
include/vcl/slider.hxx | 12 -
include/vcl/spin.hxx | 12 -
include/vcl/spinfld.hxx | 24 +-
include/vcl/split.hxx | 18 -
include/vcl/splitwin.hxx | 36 +--
include/vcl/status.hxx | 12 -
include/vcl/svapp.hxx | 27 +-
include/vcl/syswin.hxx | 4
include/vcl/tabctrl.hxx | 12 -
include/vcl/timer.hxx | 6
include/vcl/toolbox.hxx | 60 ++---
include/vcl/vclevent.hxx | 16 -
include/vcl/vclmedit.hxx | 10
include/vcl/window.hxx | 10
reportdesign/source/ui/inc/AddField.hxx | 4
reportdesign/source/ui/inc/ColorListener.hxx | 4
rsc/inc/rsctree.hxx | 2
rsc/source/tools/rsctree.cxx | 2
sc/inc/arealink.hxx | 2
sc/inc/cellsuno.hxx | 4
sc/inc/chgtrack.hxx | 6
sc/inc/dbdata.hxx | 6
sc/inc/externalrefmgr.hxx | 2
sc/inc/optutil.hxx | 4
sc/inc/refreshtimer.hxx | 2
sc/inc/tablink.hxx | 2
sc/source/core/data/poolhelp.cxx | 2
sc/source/core/tool/optutil.cxx | 2
sc/source/core/tool/refreshtimer.cxx | 2
sc/source/filter/html/htmlpars.cxx | 4
sc/source/filter/rtf/rtfparse.cxx | 2
sc/source/ui/Accessibility/AccessibleText.cxx | 16 -
sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx | 2
sc/source/ui/StatisticsDialogs/SamplingDialog.cxx | 2
sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx | 2
sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx | 2
sc/source/ui/app/inputwin.cxx | 4
sc/source/ui/attrdlg/attrdlg.cxx | 2
sc/source/ui/attrdlg/scdlgfact.hxx | 4
sc/source/ui/dbgui/PivotLayoutDialog.cxx | 2
sc/source/ui/dbgui/csvtablebox.cxx | 2
sc/source/ui/dbgui/filtdlg.cxx | 2
sc/source/ui/dbgui/scuiasciiopt.cxx | 6
sc/source/ui/dbgui/sfiltdlg.cxx | 2
sc/source/ui/dbgui/sortkeydlg.cxx | 2
sc/source/ui/dbgui/textimportoptions.cxx | 2
sc/source/ui/docshell/arealink.cxx | 2
sc/source/ui/docshell/externalrefmgr.cxx | 2
sc/source/ui/docshell/tablink.cxx | 4
sc/source/ui/formdlg/dwfunctr.cxx | 6
sc/source/ui/inc/condformatdlgentry.hxx | 2
sc/source/ui/inc/csvcontrol.hxx | 6
sc/source/ui/inc/csvtablebox.hxx | 12 -
sc/source/ui/inc/funcpage.hxx | 12 -
sc/source/ui/inc/optsolver.hxx | 6
sc/source/ui/inc/privsplt.hxx | 6
sc/source/ui/inc/reffact.hxx | 6
sc/source/ui/inc/simpref.hxx | 14 -
sc/source/ui/inc/tphfedit.hxx | 10
sc/source/ui/miscdlgs/acredlin.cxx | 2
sc/source/ui/miscdlgs/crnrdlg.cxx | 2
sc/source/ui/miscdlgs/optsolver.cxx | 10
sc/source/ui/miscdlgs/protectiondlg.cxx | 2
sc/source/ui/miscdlgs/retypepassdlg.cxx | 4
sc/source/ui/miscdlgs/simpref.cxx | 10
sc/source/ui/miscdlgs/solvrdlg.cxx | 2
sc/source/ui/miscdlgs/tabopdlg.cxx | 2
sc/source/ui/namedlg/namedlg.cxx | 10
sc/source/ui/optdlg/opredlin.cxx | 2
sc/source/ui/optdlg/tpformula.cxx | 2
sc/source/ui/optdlg/tpview.cxx | 4
sc/source/ui/pagedlg/tphfedit.cxx | 4
sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 2
sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx | 2
sc/source/ui/sidebar/CellBorderStyleControl.cxx | 2
sc/source/ui/sidebar/CellLineStyleControl.cxx | 2
sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 2
sc/source/ui/view/cellsh2.cxx | 2
sc/source/ui/view/gridwin.cxx | 2
sc/source/ui/view/prevwsh.cxx | 2
sc/source/ui/view/reffact.cxx | 6
sc/source/ui/view/tabvwsh4.cxx | 2
sc/source/ui/xmlsource/xmlsourcedlg.cxx | 4
sd/inc/sdobjfac.hxx | 8
sd/source/core/drawdoc4.cxx | 2
sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 4
sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx | 4
sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 4
sd/source/ui/animations/CustomAnimationDialog.cxx | 52 ++--
sd/source/ui/animations/CustomAnimationDialog.hxx | 2
sd/source/ui/animations/CustomAnimationPane.cxx | 4
sd/source/ui/animations/SlideTransitionPane.cxx | 4
sd/source/ui/annotations/annotationmanager.cxx | 4
sd/source/ui/annotations/annotationwindow.cxx | 4
sd/source/ui/dlg/RemoteDialogClientBox.hxx | 8
sd/source/ui/dlg/custsdlg.cxx | 4
sd/source/ui/dlg/dlgass.cxx | 10
sd/source/ui/dlg/present.cxx | 2
sd/source/ui/dlg/prntopts.cxx | 2
sd/source/ui/dlg/vectdlg.cxx | 2
sd/source/ui/framework/factories/FullScreenPane.cxx | 4
sd/source/ui/func/fuinsfil.cxx | 26 +-
sd/source/ui/inc/AccessibleDocumentViewBase.hxx | 2
sd/source/ui/inc/BreakDlg.hxx | 2
sd/source/ui/inc/EventMultiplexer.hxx | 7
sd/source/ui/inc/MasterPageObserver.hxx | 4
sd/source/ui/inc/SlideSorterViewShell.hxx | 4
sd/source/ui/inc/docprev.hxx | 6
sd/source/ui/inc/futext.hxx | 2
sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx | 4
sd/source/ui/inc/tools/SlotStateListener.hxx | 6
sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx | 4
sd/source/ui/sidebar/LayoutMenu.cxx | 10
sd/source/ui/sidebar/MasterPageContainer.cxx | 22 -
sd/source/ui/sidebar/MasterPageContainer.hxx | 4
sd/source/ui/sidebar/MasterPageContainerQueue.cxx | 2
sd/source/ui/sidebar/MasterPageObserver.cxx | 18 -
sd/source/ui/sidebar/MasterPagesSelector.cxx | 4
sd/source/ui/sidebar/PreviewValueSet.cxx | 2
sd/source/ui/sidebar/PreviewValueSet.hxx | 4
sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx | 12 -
sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx | 6
sd/source/ui/slideshow/slideshowimpl.cxx | 4
sd/source/ui/slideshow/slideshowimpl.hxx | 2
sd/source/ui/slidesorter/controller/SlsFocusManager.cxx | 10
sd/source/ui/slidesorter/controller/SlsListener.cxx | 4
sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx | 4
sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx | 8
sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx | 6
sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx | 8
sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 6
sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 4
sd/source/ui/slidesorter/view/SlideSorterView.cxx | 8
sd/source/ui/table/TableDesignPane.cxx | 4
sd/source/ui/tools/AsynchronousCall.cxx | 2
sd/source/ui/tools/EventMultiplexer.cxx | 14 -
sd/source/ui/tools/SlotStateListener.cxx | 6
sd/source/ui/tools/TimerBasedTaskExecution.cxx | 2
sd/source/ui/view/DocumentRenderer.cxx | 2
sd/source/ui/view/FormShellManager.cxx | 6
sd/source/ui/view/Outliner.cxx | 6
sd/source/ui/view/ToolBarManager.cxx | 4
sd/source/ui/view/drviews4.cxx | 2
sd/source/ui/view/outlnvsh.cxx | 2
sd/source/ui/view/outlview.cxx | 6
sd/source/ui/view/viewoverlaymanager.cxx | 4
sfx2/inc/srchdlg.hxx | 8
sfx2/source/appl/fileobj.cxx | 6
sfx2/source/appl/fileobj.hxx | 4
sfx2/source/appl/helpinterceptor.hxx | 4
sfx2/source/appl/impldde.cxx | 2
sfx2/source/appl/impldde.hxx | 2
sfx2/source/appl/linksrc.cxx | 2
sfx2/source/appl/lnkbase2.cxx | 6
sfx2/source/appl/newhelp.cxx | 12 -
sfx2/source/appl/newhelp.hxx | 30 +-
sfx2/source/control/dispatch.cxx | 2
sfx2/source/control/itemdel.cxx | 2
sfx2/source/control/shell.cxx | 4
sfx2/source/control/templateabstractview.cxx | 4
sfx2/source/control/templatesearchview.cxx | 2
sfx2/source/control/thumbnailviewitem.cxx | 2
sfx2/source/dialog/backingwindow.cxx | 2
sfx2/source/dialog/dinfdlg.cxx | 4
sfx2/source/dialog/filedlghelper.cxx | 4
sfx2/source/dialog/mgetempl.cxx | 4
sfx2/source/dialog/passwd.cxx | 2
sfx2/source/dialog/tabdlg.cxx | 4
sfx2/source/dialog/titledockwin.cxx | 2
sfx2/source/dialog/versdlg.cxx | 2
sfx2/source/doc/docfile.cxx | 4
sfx2/source/doc/docinsert.cxx | 2
sfx2/source/doc/templatedlg.cxx | 16 -
sfx2/source/inc/templatesearchview.hxx | 4
sfx2/source/inc/templdgi.hxx | 8
sfx2/source/menu/mnuitem.cxx | 2
sfx2/source/sidebar/AsynchronousCall.cxx | 2
sfx2/source/sidebar/SidebarToolBox.cxx | 12 -
sfx2/source/view/viewprn.cxx | 2
sot/source/sdstor/stg.cxx | 2
sot/source/sdstor/stgio.cxx | 6
sot/source/sdstor/stgio.hxx | 4
starmath/inc/dialog.hxx | 16 -
starmath/source/accessibility.cxx | 4
starmath/source/edit.cxx | 6
svl/source/misc/urihelper.cxx | 8
svl/source/numbers/zforlist.cxx | 2
svtools/inc/roadmap.hxx | 4
svtools/source/brwbox/ebbcontrols.cxx | 10
svtools/source/brwbox/editbrowsebox.cxx | 2
svtools/source/config/htmlcfg.cxx | 4
svtools/source/config/menuoptions.cxx | 20 -
svtools/source/config/miscopt.cxx | 18 -
svtools/source/contnr/fileview.cxx | 24 +-
svtools/source/contnr/imivctl1.cxx | 8
svtools/source/contnr/treelistbox.cxx | 14 -
svtools/source/control/roadmap.cxx | 14 -
svtools/source/control/tabbar.cxx | 2
svtools/source/control/toolbarmenu.cxx | 2
svtools/source/control/toolbarmenuimp.hxx | 2
svtools/source/control/valueset.cxx | 2
svtools/source/dialogs/prnsetup.cxx | 2
svtools/source/graphic/grfcache.cxx | 2
svtools/source/graphic/grfmgr.cxx | 4
svtools/source/misc/cliplistener.cxx | 4
svtools/source/misc/dialogclosedlistener.cxx | 2
svtools/source/misc/transfer2.cxx | 4
svtools/source/table/tablecontrol_impl.cxx | 2
svtools/source/table/tablecontrol_impl.hxx | 6
svtools/source/table/tabledatawindow.hxx | 6
svtools/source/uno/unoiface.cxx | 4
svx/inc/svdibrow.hxx | 12 -
svx/source/dialog/contwnd.hxx | 12 -
svx/source/dialog/ctredlin.cxx | 8
svx/source/dialog/dialcontrol.cxx | 6
svx/source/dialog/fontwork.cxx | 2
svx/source/dialog/frmsel.cxx | 4
svx/source/dialog/imapwnd.hxx | 6
svx/source/dialog/optgrid.cxx | 2
svx/source/dialog/rubydialog.cxx | 8
svx/source/dialog/srchdlg.cxx | 4
svx/source/engine3d/float3d.cxx | 4
svx/source/fmcomp/gridcell.cxx | 12 -
svx/source/form/datanavi.cxx | 6
svx/source/form/fmexch.cxx | 2
svx/source/form/fmshell.cxx | 2
svx/source/form/fmshimp.cxx | 4
svx/source/form/fmsrcimp.cxx | 4
svx/source/gallery2/galbrws2.cxx | 4
svx/source/gallery2/galtheme.cxx | 2
svx/source/inc/delayedevent.hxx | 4
svx/source/inc/fmexch.hxx | 6
svx/source/inc/fmpgeimp.hxx | 6
svx/source/inc/fmshimp.hxx | 2
svx/source/inc/fmtextcontrolshell.hxx | 4
svx/source/inc/frmselimpl.hxx | 2
svx/source/inc/gridcell.hxx | 6
svx/source/sidebar/area/AreaPropertyPanel.cxx | 2
svx/source/sidebar/area/AreaTransparencyGradientControl.cxx | 2
svx/source/sidebar/line/LinePropertyPanel.cxx | 2
svx/source/sidebar/line/LineWidthControl.cxx | 2
svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx | 2
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 4
svx/source/sidebar/text/TextCharacterSpacingControl.cxx | 4
svx/source/sidebar/text/TextPropertyPanel.cxx | 4
svx/source/sidebar/text/TextUnderlineControl.cxx | 2
svx/source/svdraw/sdrundomanager.cxx | 2
svx/source/svdraw/svdedxv.cxx | 12 -
svx/source/svdraw/svdetc.cxx | 16 -
svx/source/svdraw/svdobj.cxx | 8
svx/source/svdraw/svdotextdecomposition.cxx | 12 -
svx/source/svdraw/svdotextpathdecomposition.cxx | 2
svx/source/svdraw/svdoutlinercache.cxx | 4
svx/source/table/tablertfimporter.cxx | 2
svx/source/tbxctrls/bulletsnumbering.cxx | 2
svx/source/tbxctrls/colorwindow.hxx | 4
svx/source/tbxctrls/itemwin.cxx | 6
svx/source/tbxctrls/tbcontrl.cxx | 4
svx/source/unodraw/UnoGraphicExporter.cxx | 2
svx/source/unodraw/unoshtxt.cxx | 2
svx/source/unogallery/unogaltheme.cxx | 2
svx/workben/msview/msview.cxx | 12 -
sw/inc/crsrsh.hxx | 18 -
sw/inc/doc.hxx | 8
sw/source/core/crsr/findattr.cxx | 4
sw/source/core/crsr/findcoll.cxx | 4
sw/source/core/crsr/findtxt.cxx | 4
sw/source/core/doc/DocumentDrawModelManager.cxx | 2
sw/source/core/doc/docbasic.cxx | 2
sw/source/core/layout/paintfrm.cxx | 4
sw/source/core/swg/SwXMLTextBlocks.cxx | 4
sw/source/core/txtnode/txtatr2.cxx | 8
sw/source/filter/basflt/shellio.cxx | 6
sw/source/filter/html/htmlcss1.cxx | 2
sw/source/filter/html/htmlform.cxx | 4
sw/source/filter/html/htmlgrin.cxx | 2
sw/source/filter/html/htmlnumreader.cxx | 2
sw/source/filter/html/htmlsect.cxx | 4
sw/source/filter/html/htmltab.cxx | 2
sw/source/filter/html/svxcss1.cxx | 2
sw/source/filter/html/swhtml.cxx | 4
sw/source/filter/ww8/ww8par5.cxx | 2
sw/source/ui/chrdlg/break.cxx | 2
sw/source/ui/chrdlg/chardlg.cxx | 2
sw/source/ui/chrdlg/drpcps.cxx | 2
sw/source/ui/config/mailconfigpage.cxx | 2
sw/source/ui/config/optload.cxx | 4
sw/source/ui/config/optpage.cxx | 14 -
sw/source/ui/dbui/createaddresslistdialog.cxx | 8
sw/source/ui/dbui/customizeaddresslistdialog.cxx | 4
sw/source/ui/dbui/mailmergewizard.cxx | 2
sw/source/ui/dbui/mmaddressblockpage.cxx | 18 -
sw/source/ui/dbui/mmaddressblockpage.hxx | 4
sw/source/ui/dbui/mmdocselectpage.cxx | 4
sw/source/ui/dbui/mmgreetingspage.cxx | 12 -
sw/source/ui/dbui/mmlayoutpage.cxx | 6
sw/source/ui/dbui/mmoutputpage.cxx | 2
sw/source/ui/dbui/mmoutputtypepage.cxx | 2
sw/source/ui/dbui/mmpreparemergepage.cxx | 2
sw/source/ui/dialog/swdlgfact.cxx | 6
sw/source/ui/dialog/swdlgfact.hxx | 8
sw/source/ui/dialog/uiregionsw.cxx | 4
sw/source/ui/envelp/envfmt.cxx | 2
sw/source/ui/envelp/labelexp.cxx | 2
sw/source/ui/envelp/labfmt.cxx | 4
sw/source/ui/envelp/labprt.cxx | 2
sw/source/ui/envelp/mailmrge.cxx | 2
sw/source/ui/fldui/DropDownFieldDialog.cxx | 2
sw/source/ui/fldui/changedb.cxx | 2
sw/source/ui/fldui/flddb.hxx | 2
sw/source/ui/fldui/flddok.cxx | 2
sw/source/ui/fldui/fldfunc.cxx | 4
sw/source/ui/fldui/javaedit.cxx | 2
sw/source/ui/frmdlg/column.cxx | 4
sw/source/ui/frmdlg/cption.cxx | 2
sw/source/ui/frmdlg/frmpage.cxx | 4
sw/source/ui/frmdlg/wrap.cxx | 2
sw/source/ui/index/cnttab.cxx | 24 +-
sw/source/ui/index/swuiidxmrk.cxx | 6
sw/source/ui/misc/glossary.cxx | 2
sw/source/ui/misc/num.cxx | 2
sw/source/ui/misc/pgfnote.cxx | 2
sw/source/ui/misc/pggrid.cxx | 8
sw/source/ui/misc/srtdlg.cxx | 2
sw/source/ui/misc/titlepage.cxx | 2
sw/source/ui/table/convert.cxx | 2
sw/source/ui/table/tabledlg.cxx | 10
sw/source/ui/table/tautofmt.cxx | 2
sw/source/uibase/app/docsh.cxx | 4
sw/source/uibase/app/docshini.cxx | 2
sw/source/uibase/dbui/dbtree.cxx | 2
sw/source/uibase/dbui/dbui.cxx | 2
sw/source/uibase/dochdl/swdtflvr.cxx | 12 -
sw/source/uibase/docvw/AnnotationWin.cxx | 4
sw/source/uibase/docvw/SidebarTxtControl.cxx | 2
sw/source/uibase/docvw/SidebarTxtControlAcc.cxx | 2
sw/source/uibase/docvw/SidebarWin.cxx | 4
sw/source/uibase/docvw/romenu.cxx | 2
sw/source/uibase/inc/actctrl.hxx | 10
sw/source/uibase/inc/dbinsdlg.hxx | 2
sw/source/uibase/inc/dbui.hxx | 2
sw/source/uibase/inc/docfnote.hxx | 2
sw/source/uibase/inc/hyp.hxx | 2
sw/source/uibase/inc/mailmergehelper.hxx | 4
sw/source/uibase/inc/mailmergewizard.hxx | 2
sw/source/uibase/inc/popbox.hxx | 12 -
sw/source/uibase/inc/prcntfld.hxx | 8
sw/source/uibase/inc/redlndlg.hxx | 4
sw/source/uibase/inc/swuicnttab.hxx | 8
sw/source/uibase/inc/uivwimp.hxx | 2
sw/source/uibase/inc/unotools.hxx | 4
sw/source/uibase/inc/wrtsh.hxx | 8
sw/source/uibase/ribbar/workctrl.cxx | 2
sw/source/uibase/shells/basesh.cxx | 4
sw/source/uibase/sidebar/PageMarginControl.cxx | 4
sw/source/uibase/sidebar/PageOrientationControl.cxx | 2
sw/source/uibase/sidebar/PagePropertyPanel.cxx | 2
sw/source/uibase/sidebar/WrapPropertyPanel.cxx | 2
sw/source/uibase/uiview/uivwimp.cxx | 2
sw/source/uibase/uiview/viewdraw.cxx | 2
sw/source/uibase/utlui/navipi.cxx | 2
sw/source/uibase/utlui/unotools.cxx | 4
sw/source/uibase/wrtsh/wrtsh3.cxx | 2
toolkit/source/awt/scrollabledialog.cxx | 2
toolkit/source/awt/vclxtoolkit.cxx | 4
unotools/source/config/syslocaleoptions.cxx | 8
unotools/source/ucbhelper/ucblockbytes.cxx | 4
uui/source/iahndl.cxx | 4
uui/source/nameclashdlg.cxx | 2
vcl/inc/idlemgr.hxx | 4
vcl/inc/ilstbox.hxx | 74 +++---
vcl/inc/impgraph.hxx | 4
vcl/inc/osx/a11yfocustracker.hxx | 2
vcl/inc/svdata.hxx | 4
vcl/inc/toolbox.h | 4
vcl/source/app/idlemgr.cxx | 6
vcl/source/app/svapp.cxx | 26 +-
vcl/source/app/vclevent.cxx | 26 +-
vcl/source/control/button.cxx | 2
vcl/source/control/ctrl.cxx | 2
vcl/source/control/ilstbox.cxx | 2
vcl/source/edit/textdata.cxx | 4
vcl/source/filter/graphicfilter.cxx | 4
vcl/source/gdi/animate.cxx | 2
vcl/source/gdi/bitmap3.cxx | 4
vcl/source/gdi/bitmap4.cxx | 18 -
vcl/source/gdi/bitmapex.cxx | 2
vcl/source/gdi/graph.cxx | 4
vcl/source/gdi/impgraph.cxx | 6
vcl/source/gdi/impvect.cxx | 4
vcl/source/gdi/impvect.hxx | 4
vcl/source/gdi/print3.cxx | 4
vcl/source/helper/evntpost.cxx | 2
vcl/source/window/dialog.cxx | 8
vcl/source/window/event.cxx | 12 -
vcl/source/window/layout.cxx | 2
vcl/source/window/menu.cxx | 8
vcl/source/window/menubarwindow.cxx | 4
vcl/source/window/menubarwindow.hxx | 8
vcl/source/window/menuwindow.hxx | 6
vcl/source/window/syswin.cxx | 6
vcl/source/window/toolbox2.cxx | 6
vcl/source/window/winproc.cxx | 6
vcl/unx/gtk/a11y/atkutil.cxx | 2
vcl/unx/gtk/window/gtksalmenu.cxx | 6
xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx | 4
xmlsecurity/source/helper/xmlsignaturehelper.cxx | 2
xmlsecurity/source/helper/xmlsignaturehelper2.cxx | 2
xmlsecurity/source/helper/xmlsignaturehelper2.hxx | 8
679 files changed, 2382 insertions(+), 2330 deletions(-)
New commits:
commit 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 30 10:20:00 2015 +0200
Gradually typed Link
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
diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
index d642546..30963bf 100644
--- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
@@ -86,7 +86,7 @@ private:
class WindowListenerGuard
{
public:
- inline WindowListenerGuard(::Link const & rListener):
+ inline WindowListenerGuard(::Link<> const & rListener):
m_aListener(rListener), m_pNotifier(0) {}
inline ~WindowListenerGuard() { endListening(); }
@@ -98,7 +98,7 @@ public:
void endListening();
private:
- ::Link m_aListener;
+ ::Link<> m_aListener;
VclPtr<vcl::Window> m_pNotifier;
};
diff --git a/basctl/source/basicide/bastype3.hxx b/basctl/source/basicide/bastype3.hxx
index 43ad485..afc685b8 100644
--- a/basctl/source/basicide/bastype3.hxx
+++ b/basctl/source/basicide/bastype3.hxx
@@ -30,9 +30,9 @@ class ExtendedEdit : public Edit
{
private:
Accelerator aAcc;
- Link aAccHdl;
- Link aGotFocusHdl;
- Link aLoseFocusHdl;
+ Link<> aAccHdl;
+ Link<> aGotFocusHdl;
+ Link<> aLoseFocusHdl;
protected:
DECL_LINK( EditAccHdl, Accelerator * );
@@ -42,9 +42,9 @@ protected:
public:
ExtendedEdit( vcl::Window* pParent, IDEResId nRes );
- void SetAccHdl( const Link& rLink ) { aAccHdl = rLink; }
- void SetLoseFocusHdl( const Link& rLink ) { aLoseFocusHdl = rLink; }
- void SetGotFocusHdl( const Link& rLink ) { aGotFocusHdl = rLink; }
+ void SetAccHdl( const Link<>& rLink ) { aAccHdl = rLink; }
+ void SetLoseFocusHdl( const Link<>& rLink ) { aLoseFocusHdl = rLink; }
+ void SetGotFocusHdl( const Link<>& rLink ) { aGotFocusHdl = rLink; }
Accelerator& GetAccelerator() { return aAcc; }
};
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 278ac2f..8f9fd17 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -62,9 +62,9 @@ BaseWindow::~BaseWindow()
void BaseWindow::dispose()
{
if ( pShellVScrollBar )
- pShellVScrollBar->SetScrollHdl( Link() );
+ pShellVScrollBar->SetScrollHdl( Link<>() );
if ( pShellHScrollBar )
- pShellHScrollBar->SetScrollHdl( Link() );
+ pShellHScrollBar->SetScrollHdl( Link<>() );
pShellVScrollBar.clear();
pShellHScrollBar.clear();
vcl::Window::dispose();
diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx
index 7afe56d..2f229c2 100644
--- a/basctl/source/inc/baside3.hxx
+++ b/basctl/source/inc/baside3.hxx
@@ -58,7 +58,7 @@ private:
DialogWindowLayout& rLayout;
boost::scoped_ptr<DlgEditor> pEditor; // never nullptr
boost::scoped_ptr<SfxUndoManager> pUndoMgr; // never nullptr
- Link aOldNotifyUndoActionHdl;
+ Link<> aOldNotifyUndoActionHdl;
OUString aCurPath;
protected:
diff --git a/basic/qa/cppunit/basictest.hxx b/basic/qa/cppunit/basictest.hxx
index 8bb5992..c866de0 100644
--- a/basic/qa/cppunit/basictest.hxx
+++ b/basic/qa/cppunit/basictest.hxx
@@ -139,7 +139,7 @@ class MacroSnippet
void ResetError()
{
- StarBASIC::SetGlobalErrorHdl( Link() );
+ StarBASIC::SetGlobalErrorHdl( Link<>() );
mbError = false;
}
};
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index c63c03e..559cb3c 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1838,17 +1838,17 @@ bool StarBASIC::ErrorHdl()
return aErrorHdl.IsSet() && aErrorHdl.Call( this );
}
-Link StarBASIC::GetGlobalErrorHdl()
+Link<> StarBASIC::GetGlobalErrorHdl()
{
return GetSbData()->aErrHdl;
}
-void StarBASIC::SetGlobalErrorHdl( const Link& rLink )
+void StarBASIC::SetGlobalErrorHdl( const Link<>& rLink )
{
GetSbData()->aErrHdl = rLink;
}
-void StarBASIC::SetGlobalBreakHdl( const Link& rLink )
+void StarBASIC::SetGlobalBreakHdl( const Link<>& rLink )
{
GetSbData()->aBreakHdl = rLink;
}
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 0d4395c..96b6fa4 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1725,7 +1725,7 @@ bool SbModule::ExceedsLegacyModuleSize()
class ErrorHdlResetter
{
- Link mErrHandler;
+ Link<> mErrHandler;
bool mbError;
public:
ErrorHdlResetter() : mbError( false )
diff --git a/basic/source/inc/sbintern.hxx b/basic/source/inc/sbintern.hxx
index e36873d..a82674e 100644
--- a/basic/source/inc/sbintern.hxx
+++ b/basic/source/inc/sbintern.hxx
@@ -91,8 +91,8 @@ struct SbiGlobals
SbModule* pMod; // currently active module
SbModule* pCompMod; // currently compiled module
short nInst; // number of BASICs
- Link aErrHdl; // global error handler
- Link aBreakHdl; // global break handler
+ Link<> aErrHdl; // global error handler
+ Link<> aBreakHdl; // global break handler
SbError nCode;
sal_Int32 nLine;
sal_Int32 nCol1,nCol2; // from... to...
diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx
index 7c7b8f3..1d2eebc 100644
--- a/chart2/source/controller/dialogs/DataBrowser.cxx
+++ b/chart2/source/controller/dialogs/DataBrowser.cxx
@@ -171,9 +171,9 @@ public:
*/
void applyChanges();
- void SetGetFocusHdl( const Link& rLink );
+ void SetGetFocusHdl( const Link<>& rLink );
- void SetEditChangedHdl( const Link & rLink );
+ void SetEditChangedHdl( const Link<> & rLink );
bool HasFocus() const;
@@ -182,7 +182,7 @@ private:
VclPtr< SeriesHeaderEdit > m_spSeriesName;
VclPtr< FixedText > m_spColorBar;
VclPtr< OutputDevice> m_pDevice;
- Link m_aChangeLink;
+ Link<> m_aChangeLink;
void notifyChanges();
DECL_LINK( SeriesNameChanged, void * );
@@ -316,7 +316,7 @@ void SeriesHeader::Hide()
m_spColorBar->Hide();
}
-void SeriesHeader::SetEditChangedHdl( const Link & rLink )
+void SeriesHeader::SetEditChangedHdl( const Link<> & rLink )
{
m_aChangeLink = rLink;
}
@@ -333,7 +333,7 @@ IMPL_LINK_NOARG(SeriesHeader, SeriesNameEdited)
return 0;
}
-void SeriesHeader::SetGetFocusHdl( const Link& rLink )
+void SeriesHeader::SetGetFocusHdl( const Link<>& rLink )
{
m_spSeriesName->SetGetFocusHdl( rLink );
}
@@ -585,8 +585,8 @@ void DataBrowser::RenewTable()
// fill series headers
clearHeaders();
const DataBrowserModel::tDataHeaderVector& aHeaders( m_apDataBrowserModel->getDataHeaders());
- Link aFocusLink( LINK( this, DataBrowser, SeriesHeaderGotFocus ));
- Link aSeriesHeaderChangedLink( LINK( this, DataBrowser, SeriesHeaderChanged ));
+ Link<> aFocusLink( LINK( this, DataBrowser, SeriesHeaderGotFocus ));
+ Link<> aSeriesHeaderChangedLink( LINK( this, DataBrowser, SeriesHeaderChanged ));
for( DataBrowserModel::tDataHeaderVector::const_iterator aIt( aHeaders.begin());
aIt != aHeaders.end(); ++aIt )
@@ -745,7 +745,7 @@ void DataBrowser::CursorMoved()
m_aCursorMovedHdlLink.Call( this );
}
-void DataBrowser::SetCellModifiedHdl( const Link& rLink )
+void DataBrowser::SetCellModifiedHdl( const Link<>& rLink )
{
m_aCellModifiedLink = rLink;
}
@@ -965,7 +965,7 @@ void DataBrowser::SwapRow()
}
}
-void DataBrowser::SetCursorMovedHdl( const Link& rLink )
+void DataBrowser::SetCursorMovedHdl( const Link<>& rLink )
{
m_aCursorMovedHdlLink = rLink;
}
@@ -1223,8 +1223,8 @@ void DataBrowser::RenewSeriesHeaders()
clearHeaders();
DataBrowserModel::tDataHeaderVector aHeaders( m_apDataBrowserModel->getDataHeaders());
- Link aFocusLink( LINK( this, DataBrowser, SeriesHeaderGotFocus ));
- Link aSeriesHeaderChangedLink( LINK( this, DataBrowser, SeriesHeaderChanged ));
+ Link<> aFocusLink( LINK( this, DataBrowser, SeriesHeaderGotFocus ));
+ Link<> aSeriesHeaderChangedLink( LINK( this, DataBrowser, SeriesHeaderChanged ));
for( DataBrowserModel::tDataHeaderVector::const_iterator aIt( aHeaders.begin());
aIt != aHeaders.end(); ++aIt )
diff --git a/chart2/source/controller/dialogs/DataBrowser.hxx b/chart2/source/controller/dialogs/DataBrowser.hxx
index 8a721c4..948fa30 100644
--- a/chart2/source/controller/dialogs/DataBrowser.hxx
+++ b/chart2/source/controller/dialogs/DataBrowser.hxx
@@ -127,9 +127,9 @@ public:
void SwapRow();
void SwapColumn();
- void SetCursorMovedHdl( const Link& rLink );
+ void SetCursorMovedHdl( const Link<>& rLink );
- void SetCellModifiedHdl( const Link& rLink );
+ void SetCellModifiedHdl( const Link<>& rLink );
/// confirms all pending changes to be ready to be closed
bool EndEditing();
@@ -173,8 +173,8 @@ private:
/// note: m_aTextEditField must precede this member!
::svt::CellControllerRef m_rTextEditController;
- Link m_aCursorMovedHdlLink;
- Link m_aCellModifiedLink;
+ Link<> m_aCursorMovedHdlLink;
+ Link<> m_aCellModifiedLink;
void clearHeaders();
void RenewTable();
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx
index 725b2cc..dd3db5e 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.cxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx
@@ -28,7 +28,7 @@ BarGeometryResources::BarGeometryResources(VclBuilderContainer* pWindow)
pWindow->get(m_pLB_Geometry, "shape");
}
-void BarGeometryResources::SetSelectHdl( const Link& rLink )
+void BarGeometryResources::SetSelectHdl( const Link<>& rLink )
{
m_pLB_Geometry->SetSelectHdl( rLink );
}
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx
index 7a9eeb8..a14cf4a 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.hxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx
@@ -38,7 +38,7 @@ public:
sal_Int32 GetSelectEntryPos() const;
void SelectEntryPos(sal_Int32 nPos);
- void SetSelectHdl( const Link& rLink );
+ void SetSelectHdl( const Link<>& rLink );
private:
VclPtr<FixedText> m_pFT_Geometry;
diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx b/chart2/source/controller/dialogs/res_LegendPosition.cxx
index fe05bef..ce21c1c 100644
--- a/chart2/source/controller/dialogs/res_LegendPosition.cxx
+++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx
@@ -237,7 +237,7 @@ IMPL_LINK( LegendPositionResources, PositionChangeHdl, RadioButton*, pRadio )
return 0;
}
-void LegendPositionResources::SetChangeHdl( const Link& rLink )
+void LegendPositionResources::SetChangeHdl( const Link<>& rLink )
{
m_aChangeLink = rLink;
}
diff --git a/chart2/source/controller/dialogs/res_Titles.cxx b/chart2/source/controller/dialogs/res_Titles.cxx
index a00cae5..5186acf 100644
--- a/chart2/source/controller/dialogs/res_Titles.cxx
+++ b/chart2/source/controller/dialogs/res_Titles.cxx
@@ -54,7 +54,7 @@ TitleResources::~TitleResources()
{
}
-void TitleResources::SetUpdateDataHdl( const Link& rLink )
+void TitleResources::SetUpdateDataHdl( const Link<>& rLink )
{
sal_uLong nTimeout = 4*EDIT_UPDATEDATA_TIMEOUT;
diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx
index 74ea1b2..acc8d08 100644
--- a/chart2/source/controller/dialogs/res_Trendline.cxx
+++ b/chart2/source/controller/dialogs/res_Trendline.cxx
@@ -69,7 +69,7 @@ TrendlineResources::TrendlineResources( vcl::Window * pParent, const SfxItemSet&
pTabPage->get(m_pFI_MovingAverage,"imageMovingAverage");
FillValueSets();
- Link aLink = LINK(this, TrendlineResources, SelectTrendLine );
+ Link<> aLink = LINK(this, TrendlineResources, SelectTrendLine );
m_pRB_Linear->SetClickHdl( aLink );
m_pRB_Logarithmic->SetClickHdl( aLink );
m_pRB_Exponential->SetClickHdl( aLink );
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
index e3988f9..7c76e18 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
@@ -100,8 +100,8 @@ ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow
m_pMFZRotation->SetValue(m_nZRotation);
const sal_uLong nTimeout = 4*EDIT_UPDATEDATA_TIMEOUT;
- Link aAngleChangedLink( LINK( this, ThreeD_SceneGeometry_TabPage, AngleChanged ));
- Link aAngleEditedLink( LINK( this, ThreeD_SceneGeometry_TabPage, AngleEdited ));
+ Link<> aAngleChangedLink( LINK( this, ThreeD_SceneGeometry_TabPage, AngleChanged ));
+ Link<> aAngleEditedLink( LINK( this, ThreeD_SceneGeometry_TabPage, AngleEdited ));
m_pMFXRotation->EnableUpdateData( nTimeout );
m_pMFXRotation->SetUpdateDataHdl( aAngleChangedLink );
diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
index 8ad9fc9..0119c3d 100644
--- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx
+++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
@@ -122,7 +122,7 @@ private:
virtual void PageCreated(sal_uInt16 nId, SfxTabPage& rPage) SAL_OVERRIDE;
- Link m_aOriginalOKClickHdl;
+ Link<> m_aOriginalOKClickHdl;
DECL_LINK( OKPressed, void * );
public:
diff --git a/chart2/source/controller/inc/res_LegendPosition.hxx b/chart2/source/controller/inc/res_LegendPosition.hxx
index 7801895..b9f6dfe 100644
--- a/chart2/source/controller/inc/res_LegendPosition.hxx
+++ b/chart2/source/controller/inc/res_LegendPosition.hxx
@@ -48,7 +48,7 @@ public:
void initFromItemSet( const SfxItemSet& rInAttrs );
void writeToItemSet( SfxItemSet& rOutAttrs ) const;
- void SetChangeHdl( const Link& rLink );
+ void SetChangeHdl( const Link<>& rLink );
DECL_LINK( PositionEnableHdl, void* );
DECL_LINK( PositionChangeHdl, RadioButton* );
@@ -67,7 +67,7 @@ private:
VclPtr<RadioButton> m_pRbtTop;
VclPtr<RadioButton> m_pRbtBottom;
- Link m_aChangeLink;
+ Link<> m_aChangeLink;
};
} //namespace chart
diff --git a/chart2/source/controller/inc/res_Titles.hxx b/chart2/source/controller/inc/res_Titles.hxx
index 396c87a..05e22ef 100644
--- a/chart2/source/controller/inc/res_Titles.hxx
+++ b/chart2/source/controller/inc/res_Titles.hxx
@@ -35,7 +35,7 @@ public:
void writeToResources( const TitleDialogData& rInput );
void readFromResources( TitleDialogData& rOutput );
- void SetUpdateDataHdl( const Link& rLink );
+ void SetUpdateDataHdl( const Link<>& rLink );
bool IsModified();
void ClearModifyFlag();
diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index e992d7d..8f5b6c5 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -36,7 +36,7 @@ class ModifyListenerCallBack_impl;
class OOO_DLLPUBLIC_CHARTTOOLS ModifyListenerCallBack
{
public:
- explicit ModifyListenerCallBack( const Link& rCallBack );
+ explicit ModifyListenerCallBack( const Link<>& rCallBack );
virtual ~ModifyListenerCallBack();
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx
index fe5e0c7..240eb3e 100644
--- a/chart2/source/tools/ModifyListenerCallBack.cxx
+++ b/chart2/source/tools/ModifyListenerCallBack.cxx
@@ -35,7 +35,7 @@ class ModifyListenerCallBack_impl
, public ModifyListenerCallBack_Base
{
public:
- explicit ModifyListenerCallBack_impl( const Link& rCallBack );
+ explicit ModifyListenerCallBack_impl( const Link<>& rCallBack );
virtual ~ModifyListenerCallBack_impl();
void stopListening();
@@ -49,11 +49,11 @@ public:
using ::cppu::WeakComponentImplHelperBase::disposing;
private:
- Link m_aLink;//will be callef on modify
+ Link<> m_aLink;//will be callef on modify
Reference< util::XModifyBroadcaster > m_xBroadcaster;//broadcaster to listen at
};
-ModifyListenerCallBack_impl::ModifyListenerCallBack_impl( const Link& rCallBack )
+ModifyListenerCallBack_impl::ModifyListenerCallBack_impl( const Link<>& rCallBack )
: ModifyListenerCallBack_Base( m_aMutex )
, m_aLink( rCallBack )
, m_xBroadcaster(0)
@@ -85,7 +85,7 @@ void ModifyListenerCallBack_impl::stopListening()
}
}
-ModifyListenerCallBack::ModifyListenerCallBack( const Link& rCallBack )
+ModifyListenerCallBack::ModifyListenerCallBack( const Link<>& rCallBack )
: pModifyListener_impl( new ModifyListenerCallBack_impl(rCallBack) )
, m_xModifyListener( pModifyListener_impl )
{
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 40360a6..9fbd951 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1094,7 +1094,7 @@ IMPL_LINK_NOARG(SfxAcceleratorConfigPage, ChangeHdl)
sal_uInt16 nCol = m_pEntriesBox->TabCount() - 1;
m_pEntriesBox->SetEntryText(sLabel, nPos, nCol);
- ((Link &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
+ ((Link<> &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
return 0;
}
@@ -1109,7 +1109,7 @@ IMPL_LINK_NOARG(SfxAcceleratorConfigPage, RemoveHdl)
m_pEntriesBox->SetEntryText( OUString(), nPos, nCol );
(pEntry->m_sCommand).clear();
- ((Link &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
+ ((Link<> &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
return 0;
}
@@ -1230,7 +1230,7 @@ IMPL_LINK_NOARG(SfxAcceleratorConfigPage, RadioHdl)
if ( pEntry )
m_pGroupLBox->Select( pEntry );
- ((Link &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
+ ((Link<> &) m_pFunctionBox->GetSelectHdl()).Call( m_pFunctionBox );
return 1L;
}
@@ -1438,7 +1438,7 @@ void SfxAcceleratorConfigPage::StartFileDialog( WinBits nBits, const OUString& r
m_pFileDlg->AddFilter( aFilterCfgStr, OUString("*.cfg") );
m_pFileDlg->SetCurrentFilter( aFilterCfgStr );
- Link aDlgClosedLink = bSave ? LINK( this, SfxAcceleratorConfigPage, SaveHdl )
+ Link<> aDlgClosedLink = bSave ? LINK( this, SfxAcceleratorConfigPage, SaveHdl )
: LINK( this, SfxAcceleratorConfigPage, LoadHdl );
m_pFileDlg->StartExecuteModal( aDlgClosedLink );
}
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 9ca5201..cd7e84d 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -723,7 +723,7 @@ void _SvxMacroTabPage::InitAndSetHandler( Reference< container::XNameReplace> xA
m_xModifiable = xModifiable;
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
HeaderBar& rHeaderBar = mpImpl->pEventLB->GetHeaderBar();
- Link aLnk(LINK(this, _SvxMacroTabPage, AssignDeleteHdl_Impl ));
+ Link<> aLnk(LINK(this, _SvxMacroTabPage, AssignDeleteHdl_Impl ));
mpImpl->pDeletePB->SetClickHdl( aLnk );
mpImpl->pAssignPB->SetClickHdl( aLnk );
if( mpImpl->pAssignComponentPB )
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index dc55f89..9f3e149 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -90,7 +90,7 @@ namespace svx{
class SpellUndoAction_Impl : public SfxUndoAction
{
sal_uInt16 m_nId;
- const Link& m_rActionLink;
+ const Link<>& m_rActionLink;
//undo of button enabling
bool m_bEnableChangePB;
bool m_bEnableChangeAllPB;
@@ -107,7 +107,7 @@ class SpellUndoAction_Impl : public SfxUndoAction
long m_nOffset;
public:
- SpellUndoAction_Impl(sal_uInt16 nId, const Link& rActionLink) :
+ SpellUndoAction_Impl(sal_uInt16 nId, const Link<>& rActionLink) :
m_nId(nId),
m_rActionLink( rActionLink),
m_bEnableChangePB(false),
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 23ec6c0..bad1390 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -331,10 +331,10 @@ public:
void KeyMove( int dx, int dy );
- void SetModifyHdl( Link& rLink ) { maModifyHdl = rLink; }
+ void SetModifyHdl( Link<>& rLink ) { maModifyHdl = rLink; }
private:
- Link maModifyHdl;
+ Link<> maModifyHdl;
ColorMode meMode;
Color maColor;
double mdX;
@@ -728,12 +728,12 @@ public:
void KeyMove( int dy );
- void SetModifyHdl( Link& rLink ) { maModifyHdl = rLink; }
+ void SetModifyHdl( Link<>& rLink ) { maModifyHdl = rLink; }
sal_Int16 GetLevel() const { return mnLevel; }
private:
- Link maModifyHdl;
+ Link<> maModifyHdl;
Color maColor;
ColorMode meMode;
Bitmap* mpBitmap;
@@ -1059,7 +1059,7 @@ ColorPickerDialog::ColorPickerDialog( vcl::Window* pParent, sal_Int32 nColor, sa
set_width_request(aDialogSize.Width() + 50);
set_height_request(aDialogSize.Height() + 30);
- Link aLink( LINK( this, ColorPickerDialog, ColorModifyHdl ) );
+ Link<> aLink( LINK( this, ColorPickerDialog, ColorModifyHdl ) );
mpColorField->SetModifyHdl( aLink );
mpColorSlider->SetModifyHdl( aLink );
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index 0e11f72..f7a0639 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -75,7 +75,7 @@ void FmSearchDialog::initCommon( const Reference< XResultSet >& _rxCursor )
}
FmSearchDialog::FmSearchDialog(vcl::Window* pParent, const OUString& sInitialText, const ::std::vector< OUString >& _rContexts, sal_Int16 nInitialContext,
- const Link& lnkContextSupplier)
+ const Link<>& lnkContextSupplier)
:ModalDialog(pParent, "RecordSearchDialog", "cui/ui/fmsearchdialog.ui")
,m_sCancel( Button::GetStandardText( StandardButtonType::Cancel ) )
,m_pPreSearchFocus( NULL )
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 549d210..a4e9ea5 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -269,7 +269,7 @@ short SearchProgress::Execute()
-void SearchProgress::StartExecuteModal( const Link& rEndDialogHdl )
+void SearchProgress::StartExecuteModal( const Link<>& rEndDialogHdl )
{
assert(!maSearchThread.is());
maSearchThread = new SearchThread(
@@ -447,7 +447,7 @@ short TakeProgress::Execute()
-void TakeProgress::StartExecuteModal( const Link& rEndDialogHdl )
+void TakeProgress::StartExecuteModal( const Link<>& rEndDialogHdl )
{
assert(!maTakeThread.is());
maTakeThread = new TakeThread(
@@ -1100,7 +1100,7 @@ void TPGalleryThemeProperties::TakeFiles()
pTakeProgress->Update();
pTakeProgress->StartExecuteModal(
- Link() /* no postprocessing needed, pTakeProgress
+ Link<>() /* no postprocessing needed, pTakeProgress
will be disposed in TakeProgress::CleanupHdl */ );
}
}
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index cf039ed..8e55eda 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -496,7 +496,7 @@ namespace svx
return 0L;
}
- void SuggestionDisplay::SetSelectHdl( const Link& rLink )
+ void SuggestionDisplay::SetSelectHdl( const Link<>& rLink )
{
m_aSelectLink = rLink;
}
@@ -656,43 +656,43 @@ namespace svx
}
- void HangulHanjaConversionDialog::SetOptionsChangedHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetOptionsChangedHdl( const Link<>& _rHdl )
{
m_aOptionsChangedLink = _rHdl;
}
- void HangulHanjaConversionDialog::SetIgnoreHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetIgnoreHdl( const Link<>& _rHdl )
{
m_pIgnore->SetClickHdl( _rHdl );
}
- void HangulHanjaConversionDialog::SetIgnoreAllHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetIgnoreAllHdl( const Link<>& _rHdl )
{
m_pIgnoreAll->SetClickHdl( _rHdl );
}
- void HangulHanjaConversionDialog::SetChangeHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetChangeHdl( const Link<>& _rHdl )
{
m_pReplace->SetClickHdl( _rHdl );
}
- void HangulHanjaConversionDialog::SetChangeAllHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetChangeAllHdl( const Link<>& _rHdl )
{
m_pReplaceAll->SetClickHdl( _rHdl );
}
- void HangulHanjaConversionDialog::SetFindHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetFindHdl( const Link<>& _rHdl )
{
m_pFind->SetClickHdl( _rHdl );
}
- void HangulHanjaConversionDialog::SetConversionFormatChangedHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetConversionFormatChangedHdl( const Link<>& _rHdl )
{
m_pSimpleConversion->SetClickHdl( _rHdl );
m_pHangulBracketed->SetClickHdl( _rHdl );
@@ -704,7 +704,7 @@ namespace svx
}
- void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link& _rHdl )
+ void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link<>& _rHdl )
{
m_aClickByCharacterLink = _rHdl;
}
@@ -1408,7 +1408,7 @@ namespace svx
void SuggestionEdit::DoJump( bool _bUp )
{
- const Link& rLoseFocusHdl = GetLoseFocusHdl();
+ const Link<>& rLoseFocusHdl = GetLoseFocusHdl();
if( rLoseFocusHdl.IsSet() )
rLoseFocusHdl.Call( this );
m_pScrollBar->SetThumbPos( m_pScrollBar->GetThumbPos() + ( _bUp? -1 : 1 ) );
@@ -1815,7 +1815,7 @@ namespace svx
#error number of suggestions should not under-run the value of 5
#endif
- Link aScrLk( LINK( this, HangulHanjaEditDictDialog, ScrollHdl ) );
+ Link<> aScrLk( LINK( this, HangulHanjaEditDictDialog, ScrollHdl ) );
m_aScrollSB->SetScrollHdl( aScrLk );
m_aScrollSB->SetEndScrollHdl( aScrLk );
m_aScrollSB->SetRangeMin( 0 );
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index e6cb7c0..860fa29 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -70,7 +70,7 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( vcl::Window *pParent,
// set handlers
- Link aLink( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) );
+ Link<> aLink( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) );
m_pRbtLinktypInternet->SetClickHdl( aLink );
m_pRbtLinktypFTP->SetClickHdl ( aLink );
m_pCbAnonymous->SetClickHdl ( LINK ( this, SvxHyperlinkInternetTp, ClickAnonymousHdl_Impl ) );
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index b256fa4..00ca415 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -181,7 +181,7 @@ SvInsertOleDlg::SvInsertOleDlg
get(m_pCbFilelink, "linktofile");
m_pLbObjecttype->SetDoubleClickHdl( LINK( this, SvInsertOleDlg, DoubleClickHdl ) );
m_pBtnFilepath->SetClickHdl( LINK( this, SvInsertOleDlg, BrowseHdl ) );
- Link aLink( LINK( this, SvInsertOleDlg, RadioHdl ) );
+ Link<> aLink( LINK( this, SvInsertOleDlg, RadioHdl ) );
m_pRbNewObject->SetClickHdl( aLink );
m_pRbObjectFromfile->SetClickHdl( aLink );
m_pRbNewObject->Check( true );
@@ -553,7 +553,7 @@ void SfxInsertFloatingFrameDialog::Init()
get(m_pNMMarginHeight, "height");
get(m_pCBMarginHeightDefault, "defaultheight");
- Link aLink( LINK( this, SfxInsertFloatingFrameDialog, CheckHdl ) );
+ Link<> aLink( LINK( this, SfxInsertFloatingFrameDialog, CheckHdl ) );
m_pCBMarginWidthDefault->SetClickHdl( aLink );
m_pCBMarginHeightDefault->SetClickHdl( aLink );
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index 98a97d0..a1fead7 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -510,7 +510,7 @@ SvxScriptOrgDialog::~SvxScriptOrgDialog()
void SvxScriptOrgDialog::dispose()
{
// clear the SelectHdl so that it isn't called during the dtor
- m_pScriptsBox->SetSelectHdl( Link() );
+ m_pScriptsBox->SetSelectHdl( Link<>() );
m_pScriptsBox.clear();
m_pRunButton.clear();
m_pCloseButton.clear();
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 2465369..85dc0d2 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -151,22 +151,22 @@ SvxZoomDialog::SvxZoomDialog( vcl::Window* pParent, const SfxItemSet& rCoreSet )
get(m_pColumnsEdit, "columnssb");
get(m_pBookModeChk, "bookmode");
get(m_pOKBtn, "ok");
- Link aLink = LINK(this, SvxZoomDialog, UserHdl);
+ Link<> aLink = LINK(this, SvxZoomDialog, UserHdl);
m_p100Btn->SetClickHdl(aLink);
m_pOptimalBtn->SetClickHdl(aLink);
m_pPageWidthBtn->SetClickHdl(aLink);
m_pWholePageBtn->SetClickHdl(aLink);
m_pUserBtn->SetClickHdl(aLink);
- Link aViewLayoutLink = LINK(this, SvxZoomDialog, ViewLayoutUserHdl);
+ Link<> aViewLayoutLink = LINK(this, SvxZoomDialog, ViewLayoutUserHdl);
m_pAutomaticBtn->SetClickHdl(aViewLayoutLink);
m_pSingleBtn->SetClickHdl(aViewLayoutLink);
m_pColumnsBtn->SetClickHdl(aViewLayoutLink);
- Link aViewLayoutSpinLink = LINK(this, SvxZoomDialog, ViewLayoutSpinHdl);
+ Link<> aViewLayoutSpinLink = LINK(this, SvxZoomDialog, ViewLayoutSpinHdl);
m_pColumnsEdit->SetModifyHdl(aViewLayoutSpinLink);
- Link aViewLayoutCheckLink = LINK(this, SvxZoomDialog, ViewLayoutCheckHdl);
+ Link<> aViewLayoutCheckLink = LINK(this, SvxZoomDialog, ViewLayoutCheckHdl);
m_pBookModeChk->SetClickHdl(aViewLayoutCheckLink);
m_pOKBtn->SetClickHdl(LINK(this, SvxZoomDialog, OKHdl));
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 9b682d5..c6079c3 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -159,7 +159,7 @@ VclAbstractDialog2_Impl::~VclAbstractDialog2_Impl()
}
// virtual
-void VclAbstractDialog2_Impl::StartExecuteModal( const Link& rEndDialogHdl )
+void VclAbstractDialog2_Impl::StartExecuteModal( const Link<>& rEndDialogHdl )
{
m_aEndDlgHdl = rEndDialogHdl;
m_pDlg->StartExecuteModal(
@@ -180,7 +180,7 @@ IMPL_LINK( VclAbstractDialog2_Impl, EndDialogHdl, Dialog*, pDlg )
}
m_aEndDlgHdl.Call( this );
- m_aEndDlgHdl = Link();
+ m_aEndDlgHdl = Link<>();
return 0L;
}
@@ -271,41 +271,41 @@ void AbstractHangulHanjaConversionDialog_Impl::SetConversionFormat( editeng::Han
pDlg->SetConversionFormat(_eType);
}
-void AbstractHangulHanjaConversionDialog_Impl::SetOptionsChangedHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetOptionsChangedHdl( const Link<>& _rHdl )
{
pDlg->SetOptionsChangedHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetIgnoreHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetIgnoreHdl( const Link<>& _rHdl )
{
pDlg->SetIgnoreHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetIgnoreAllHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetIgnoreAllHdl( const Link<>& _rHdl )
{
pDlg->SetIgnoreAllHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetChangeHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetChangeHdl( const Link<>& _rHdl )
{
pDlg->SetChangeHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetChangeAllHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetChangeAllHdl( const Link<>& _rHdl )
{
pDlg->SetChangeAllHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetClickByCharacterHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetClickByCharacterHdl( const Link<>& _rHdl )
{
pDlg->SetClickByCharacterHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetConversionFormatChangedHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetConversionFormatChangedHdl( const Link<>& _rHdl )
{
pDlg->SetConversionFormatChangedHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetFindHdl( const Link& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetFindHdl( const Link<>& _rHdl )
{
pDlg->SetFindHdl(_rHdl );
}
@@ -647,7 +647,7 @@ OUString AbstractSvxTransformTabDialog_Impl::GetText() const
{
return pDlg->GetText();
}
-void AbstractSvxTransformTabDialog_Impl::SetValidateFramePosLink( const Link& rLink )
+void AbstractSvxTransformTabDialog_Impl::SetValidateFramePosLink( const Link<>& rLink )
{
pDlg->SetValidateFramePosLink( rLink );
}
@@ -686,7 +686,7 @@ OUString AbstractSvxCaptionDialog_Impl::GetText() const
{
return pDlg->GetText();
}
-void AbstractSvxCaptionDialog_Impl::SetValidateFramePosLink( const Link& rLink )
+void AbstractSvxCaptionDialog_Impl::SetValidateFramePosLink( const Link<>& rLink )
{
pDlg->SetValidateFramePosLink( rLink );
}
@@ -717,13 +717,13 @@ void AbstractSvxNameDialog_Impl::GetName(OUString& rName)
pDlg->GetName( rName );
}
-void AbstractSvxNameDialog_Impl::SetCheckNameHdl( const Link& rLink, bool bCheckImmediately )
+void AbstractSvxNameDialog_Impl::SetCheckNameHdl( const Link<>& rLink, bool bCheckImmediately )
{
aCheckNameHdl = rLink;
if( rLink.IsSet() )
pDlg->SetCheckNameHdl( LINK(this, AbstractSvxNameDialog_Impl, CheckNameHdl), bCheckImmediately );
else
- pDlg->SetCheckNameHdl( Link(), bCheckImmediately );
+ pDlg->SetCheckNameHdl( Link<>(), bCheckImmediately );
}
void AbstractSvxNameDialog_Impl::SetEditHelpId(const OString& aHelpId)
{
@@ -749,7 +749,7 @@ void AbstractSvxObjectNameDialog_Impl::GetName(OUString& rName)
pDlg->GetName(rName);
}
-void AbstractSvxObjectNameDialog_Impl::SetCheckNameHdl(const Link& rLink, bool bCheckImmediately)
+void AbstractSvxObjectNameDialog_Impl::SetCheckNameHdl(const Link<>& rLink, bool bCheckImmediately)
{
aCheckNameHdl = rLink;
@@ -759,7 +759,7 @@ void AbstractSvxObjectNameDialog_Impl::SetCheckNameHdl(const Link& rLink, bool b
}
else
{
- pDlg->SetCheckNameHdl(Link(), bCheckImmediately);
+ pDlg->SetCheckNameHdl(Link<>(), bCheckImmediately);
}
}
@@ -829,11 +829,11 @@ bool AbstractSvxHpLinkDlg_Impl::QueryClose()
}
-void AbstractFmSearchDialog_Impl::SetFoundHandler(const Link& lnk)
+void AbstractFmSearchDialog_Impl::SetFoundHandler(const Link<>& lnk)
{
pDlg->SetFoundHandler(lnk);
}
-void AbstractFmSearchDialog_Impl::SetCanceledNotFoundHdl(const Link& lnk)
+void AbstractFmSearchDialog_Impl::SetCanceledNotFoundHdl(const Link<>& lnk)
{
pDlg->SetCanceledNotFoundHdl(lnk);
}
@@ -922,21 +922,21 @@ bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const
{
return pDlg->IsOkEnabled();
}
-void AbstractSvxPostItDialog_Impl::SetNextHdl( const Link& rLink )
+void AbstractSvxPostItDialog_Impl::SetNextHdl( const Link<>& rLink )
{
aNextHdl = rLink;
if( rLink.IsSet() )
pDlg->SetNextHdl( LINK(this, AbstractSvxPostItDialog_Impl, NextHdl ) );
else
- pDlg->SetNextHdl( Link() );
+ pDlg->SetNextHdl( Link<>() );
}
-void AbstractSvxPostItDialog_Impl::SetPrevHdl( const Link& rLink )
+void AbstractSvxPostItDialog_Impl::SetPrevHdl( const Link<>& rLink )
{
aPrevHdl = rLink;
if( rLink.IsSet() )
pDlg->SetPrevHdl( LINK(this, AbstractSvxPostItDialog_Impl, PrevHdl ) );
else
- pDlg->SetPrevHdl( Link() );
+ pDlg->SetPrevHdl( Link<>() );
}
IMPL_LINK_NOARG(AbstractSvxPostItDialog_Impl, NextHdl)
{
@@ -1452,7 +1452,7 @@ AbstractFmSearchDialog* AbstractDialogFactory_Impl::CreateFmSearchDialog(vcl::W
const OUString& strInitialText,
const ::std::vector< OUString >& _rContexts,
sal_Int16 nInitialContext,
- const Link& lnkContextSupplier)
+ const Link<>& lnkContextSupplier)
{
VclPtrInstance<FmSearchDialog> pDlg( pParent, strInitialText, _rContexts,
nInitialContext, lnkContextSupplier );
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 69ecf5f..4a4dbcd 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -83,11 +83,11 @@ short Class::Execute() \
class VclAbstractDialog2_Impl : public VclAbstractDialog2
{
ScopedVclPtr<Dialog> m_pDlg;
- Link m_aEndDlgHdl;
+ Link<> m_aEndDlgHdl;
public:
VclAbstractDialog2_Impl( Dialog* p ) : m_pDlg( p ) {}
virtual ~VclAbstractDialog2_Impl();
- virtual void StartExecuteModal( const Link& rEndDialogHdl ) SAL_OVERRIDE;
+ virtual void StartExecuteModal( const Link<>& rEndDialogHdl ) SAL_OVERRIDE;
virtual long GetResult() SAL_OVERRIDE;
private:
DECL_LINK( EndDialogHdl, Dialog* );
@@ -145,14 +145,14 @@ class AbstractHangulHanjaConversionDialog_Impl: public AbstractHangulHanjaConver
virtual void SetByCharacter( bool _bByCharacter ) SAL_OVERRIDE ;
virtual void SetConversionDirectionState( bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) SAL_OVERRIDE;
virtual void SetConversionFormat( editeng::HangulHanjaConversion::ConversionFormat _eType ) SAL_OVERRIDE;
- virtual void SetOptionsChangedHdl( const Link& _rHdl ) SAL_OVERRIDE;
- virtual void SetIgnoreHdl( const Link& _rHdl ) SAL_OVERRIDE;
- virtual void SetIgnoreAllHdl( const Link& _rHdl ) SAL_OVERRIDE ;
- virtual void SetChangeHdl( const Link& _rHdl ) SAL_OVERRIDE ;
- virtual void SetChangeAllHdl( const Link& _rHdl ) SAL_OVERRIDE ;
- virtual void SetClickByCharacterHdl( const Link& _rHdl ) SAL_OVERRIDE ;
- virtual void SetConversionFormatChangedHdl( const Link& _rHdl ) SAL_OVERRIDE ;
- virtual void SetFindHdl( const Link& _rHdl ) SAL_OVERRIDE;
+ virtual void SetOptionsChangedHdl( const Link<>& _rHdl ) SAL_OVERRIDE;
+ virtual void SetIgnoreHdl( const Link<>& _rHdl ) SAL_OVERRIDE;
+ virtual void SetIgnoreAllHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetChangeHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetChangeAllHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetClickByCharacterHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetConversionFormatChangedHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetFindHdl( const Link<>& _rHdl ) SAL_OVERRIDE;
virtual bool GetUseBothDirections( ) const SAL_OVERRIDE;
virtual editeng::HangulHanjaConversion::ConversionDirection
GetDirection( editeng::HangulHanjaConversion::ConversionDirection _eDefaultDirection ) const SAL_OVERRIDE;
@@ -311,7 +311,7 @@ class AbstractSvxJSearchOptionsDialog_Impl :public AbstractSvxJSearchOptionsDial
class AbstractSvxTransformTabDialog_Impl : public AbstractSvxTransformTabDialog
{
DECL_ABSTDLG_BASE(AbstractSvxTransformTabDialog_Impl,SvxTransformTabDialog)
- virtual void SetValidateFramePosLink( const Link& rLink ) SAL_OVERRIDE;
+ virtual void SetValidateFramePosLink( const Link<>& rLink ) SAL_OVERRIDE;
virtual void SetCurPageId( sal_uInt16 nId ) SAL_OVERRIDE;
virtual void SetCurPageId( const OString& rName ) SAL_OVERRIDE;
virtual const SfxItemSet* GetOutputItemSet() const SAL_OVERRIDE;
@@ -324,7 +324,7 @@ class AbstractSvxTransformTabDialog_Impl : public AbstractSvxTransformTabDialog
class AbstractSvxCaptionDialog_Impl : public AbstractSvxCaptionDialog
{
DECL_ABSTDLG_BASE(AbstractSvxCaptionDialog_Impl,SvxCaptionTabDialog)
- virtual void SetValidateFramePosLink( const Link& rLink ) SAL_OVERRIDE;
+ virtual void SetValidateFramePosLink( const Link<>& rLink ) SAL_OVERRIDE;
virtual void SetCurPageId( sal_uInt16 nId ) SAL_OVERRIDE;
virtual void SetCurPageId( const OString& rName ) SAL_OVERRIDE;
virtual const SfxItemSet* GetOutputItemSet() const SAL_OVERRIDE;
@@ -354,13 +354,13 @@ class AbstractSvxNameDialog_Impl :public AbstractSvxNameDialog
{
DECL_ABSTDLG_BASE(AbstractSvxNameDialog_Impl,SvxNameDialog)
virtual void GetName( OUString& rName ) SAL_OVERRIDE ;
- virtual void SetCheckNameHdl( const Link& rLink, bool bCheckImmediately = false ) SAL_OVERRIDE ;
+ virtual void SetCheckNameHdl( const Link<>& rLink, bool bCheckImmediately = false ) SAL_OVERRIDE ;
virtual void SetEditHelpId(const OString&) SAL_OVERRIDE ;
//from class Window
virtual void SetHelpId( const OString& ) SAL_OVERRIDE ;
virtual void SetText( const OUString& rStr ) SAL_OVERRIDE ;
private:
- Link aCheckNameHdl;
+ Link<> aCheckNameHdl;
DECL_LINK(CheckNameHdl, void *);
};
@@ -371,10 +371,10 @@ class AbstractSvxObjectNameDialog_Impl :public AbstractSvxObjectNameDialog
{
DECL_ABSTDLG_BASE(AbstractSvxObjectNameDialog_Impl, SvxObjectNameDialog)
virtual void GetName(OUString& rName) SAL_OVERRIDE ;
- virtual void SetCheckNameHdl(const Link& rLink, bool bCheckImmediately = false) SAL_OVERRIDE;
+ virtual void SetCheckNameHdl(const Link<>& rLink, bool bCheckImmediately = false) SAL_OVERRIDE;
private:
- Link aCheckNameHdl;
+ Link<> aCheckNameHdl;
DECL_LINK(CheckNameHdl, void *);
};
@@ -422,8 +422,8 @@ class FmSearchDialog;
class AbstractFmSearchDialog_Impl :public AbstractFmSearchDialog
{
DECL_ABSTDLG_BASE(AbstractFmSearchDialog_Impl,FmSearchDialog)
- virtual void SetFoundHandler(const Link& lnk) SAL_OVERRIDE ;
- virtual void SetCanceledNotFoundHdl(const Link& lnk) SAL_OVERRIDE;
+ virtual void SetFoundHandler(const Link<>& lnk) SAL_OVERRIDE ;
+ virtual void SetCanceledNotFoundHdl(const Link<>& lnk) SAL_OVERRIDE;
virtual void SetActiveField(const OUString& strField) SAL_OVERRIDE;
};
@@ -478,8 +478,8 @@ class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog
DECL_ABSTDLG_BASE( AbstractSvxPostItDialog_Impl, SvxPostItDialog )
virtual void SetText( const OUString& rStr ) SAL_OVERRIDE; //From class Window
virtual const SfxItemSet* GetOutputItemSet() const SAL_OVERRIDE;
- virtual void SetPrevHdl( const Link& rLink ) SAL_OVERRIDE ;
- virtual void SetNextHdl( const Link& rLink ) SAL_OVERRIDE ;
+ virtual void SetPrevHdl( const Link<>& rLink ) SAL_OVERRIDE ;
+ virtual void SetNextHdl( const Link<>& rLink ) SAL_OVERRIDE ;
virtual void EnableTravel(bool bNext, bool bPrev) SAL_OVERRIDE ;
virtual OUString GetNote() SAL_OVERRIDE ;
virtual void SetNote(const OUString& rTxt) SAL_OVERRIDE ;
@@ -490,8 +490,8 @@ class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog
virtual bool IsOkEnabled() const SAL_OVERRIDE;
virtual vcl::Window * GetWindow() SAL_OVERRIDE;
private:
- Link aNextHdl;
- Link aPrevHdl;
+ Link<> aNextHdl;
+ Link<> aPrevHdl;
DECL_LINK(NextHdl, void *);
DECL_LINK(PrevHdl, void *);
};
@@ -646,7 +646,7 @@ public:
const OUString& strInitialText,
const ::std::vector< OUString >& _rContexts,
sal_Int16 nInitialContext,
- const Link& lnkContextSupplier) SAL_OVERRIDE;
+ const Link<>& lnkContextSupplier) SAL_OVERRIDE;
virtual AbstractGraphicFilterDialog * CreateGraphicFilterEmboss(vcl::Window* pParent,
const Graphic& rGraphic, RECT_POINT eLightSource) SAL_OVERRIDE;
virtual AbstractGraphicFilterDialog * CreateGraphicFilterPoster(vcl::Window* pParent,
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 411df36..6f8b316 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -66,7 +66,7 @@ private:
sal_uInt16 m_nErrorEnd;
bool m_bIsUndoEditMode;
- Link m_aModifyLink;
+ Link<> m_aModifyLink;
void CallModifyLink() {m_aModifyLink.Call(this);}
@@ -77,7 +77,7 @@ protected:
public:
SentenceEditWindow_Impl(vcl::Window* pParent, WinBits nBits);
- void SetModifyHdl(const Link& rLink) SAL_OVERRIDE { m_aModifyLink = rLink;}
+ void SetModifyHdl(const Link<>& rLink) SAL_OVERRIDE { m_aModifyLink = rLink;}
void SetAttrib( const TextAttrib& rAttr, sal_uLong nPara, sal_uInt16 nStart, sal_uInt16 nEnd );
void SetText( const OUString& rStr ) SAL_OVERRIDE;
@@ -159,7 +159,7 @@ private:
OUString m_sTitleSpelling;
OUString m_sTitleSpellingGrammar;
- Link aDialogUndoLink;
+ Link<> aDialogUndoLink;
bool bModified;
bool bFocusLocked;
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx
index d56700e..fa2224a 100644
--- a/cui/source/inc/autocdlg.hxx
+++ b/cui/source/inc/autocdlg.hxx
@@ -181,7 +181,7 @@ public:
class AutoCorrEdit : public Edit
{
- Link aActionLink;
+ Link<> aActionLink;
bool bSpaces;
public:
@@ -190,7 +190,7 @@ class AutoCorrEdit : public Edit
AutoCorrEdit(vcl::Window* pParent) :
Edit(pParent), bSpaces(false){}
- void SetActionHdl( const Link& rLink )
+ void SetActionHdl( const Link<>& rLink )
{ aActionLink = rLink;}
void SetSpaces(bool bSet)
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 759b140..3038b4b 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -531,7 +531,7 @@ public:
class SvxToolbarEntriesListBox : public SvxMenuEntriesListBox
{
Size m_aCheckBoxImageSizePixel;
- Link m_aChangedListener;
+ Link<> m_aChangedListener;
SvLBoxButtonData* m_pButtonData;
VclPtr<SvxConfigPage> pPage;
@@ -551,10 +551,10 @@ public:
virtual ~SvxToolbarEntriesListBox();
virtual void dispose() SAL_OVERRIDE;
- void SetChangedListener( const Link& aChangedListener )
+ void SetChangedListener( const Link<>& aChangedListener )
{ m_aChangedListener = aChangedListener; }
- const Link& GetChangedListener() const { return m_aChangedListener; }
+ const Link<>& GetChangedListener() const { return m_aChangedListener; }
Size GetCheckBoxPixelSize() const
{ return m_aCheckBoxImageSizePixel; }
@@ -672,7 +672,7 @@ private:
VclPtr<Edit> m_pEdtName;
VclPtr<OKButton> m_pBtnOK;
- Link aCheckNameHdl;
+ Link<> aCheckNameHdl;
DECL_LINK(ModifyHdl, Edit*);
@@ -688,7 +688,7 @@ public:
return m_pEdtName->GetText();
}
- void SetCheckNameHdl( const Link& rLink, bool bCheckImmediately = false )
+ void SetCheckNameHdl( const Link<>& rLink, bool bCheckImmediately = false )
{
aCheckNameHdl = rLink;
if ( bCheckImmediately )
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx
index d56c9d5..f0717aa 100644
--- a/cui/source/inc/cuifmsearch.hxx
+++ b/cui/source/inc/cuifmsearch.hxx
@@ -78,10 +78,10 @@ class FmSearchDialog : public ModalDialog
VclPtr<vcl::Window> m_pPreSearchFocus;
- Link m_lnkFoundHandler; ///< Handler for "found"
- Link m_lnkCanceledNotFoundHdl; ///< Handler for Positioning the Cursors
+ Link<> m_lnkFoundHandler; ///< Handler for "found"
+ Link<> m_lnkCanceledNotFoundHdl; ///< Handler for Positioning the Cursors
- Link m_lnkContextSupplier; ///< for search in contexts
+ Link<> m_lnkContextSupplier; ///< for search in contexts
/// memorize the currently selected field for every context
::std::vector<OUString> m_arrContextFields;
@@ -108,7 +108,7 @@ public:
arrFields of the context)
*/
FmSearchDialog(vcl::Window* pParent, const OUString& strInitialText, const ::std::vector< OUString >& _rContexts, sal_Int16 nInitialContext,
- const Link& lnkContextSupplier);
+ const Link<>& lnkContextSupplier);
virtual ~FmSearchDialog();
virtual void dispose() SAL_OVERRIDE;
@@ -119,7 +119,7 @@ public:
This handler MUST be set.
Furthermore, it should be considered, that during the handler the search-dialog is still modal.
*/
- void SetFoundHandler(const Link& lnk) { m_lnkFoundHandler = lnk; }
+ void SetFoundHandler(const Link<>& lnk) { m_lnkFoundHandler = lnk; }
/**
If the search has been cancelled or has been finished without success, the current data set is always displayed in the
search dialog. This handler exists to make this synchronous with the possible display of the caller (it does not
@@ -127,7 +127,7 @@ public:
The pointer that is passed to the handler points to a FmFoundRecordInformation-structure, for which aPosition and
possibly (in a search with contexts) nContext are valid.
*/
- void SetCanceledNotFoundHdl(const Link& lnk) { m_lnkCanceledNotFoundHdl = lnk; }
+ void SetCanceledNotFoundHdl(const Link<>& lnk) { m_lnkCanceledNotFoundHdl = lnk; }
inline void SetActiveField(const OUString& strField);
diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx
index a1855b1..e58997f 100644
--- a/cui/source/inc/cuigaldlg.hxx
+++ b/cui/source/inc/cuigaldlg.hxx
@@ -99,7 +99,7 @@ public:
DECL_LINK( CleanUpHdl, void* );
virtual short Execute() SAL_OVERRIDE;
- virtual void StartExecuteModal( const Link& rEndDialogHdl ) SAL_OVERRIDE;
+ virtual void StartExecuteModal( const Link<>& rEndDialogHdl ) SAL_OVERRIDE;
void SetFileType( const OUString& rType ) { m_pFtSearchType->SetText( rType ); }
void SetDirectory( const INetURLObject& rURL ) { m_pFtSearchDir->SetText( GetReducedString( rURL, 30 ) ); }
};
@@ -146,7 +146,7 @@ public:
void SetFile( const INetURLObject& rURL ) { m_pFtTakeFile->SetText( GetReducedString( rURL, 30 ) ); }
virtual short Execute() SAL_OVERRIDE;
- virtual void StartExecuteModal( const Link& rEndDialogHdl ) SAL_OVERRIDE;
+ virtual void StartExecuteModal( const Link<>& rEndDialogHdl ) SAL_OVERRIDE;
};
class ActualizeProgress : public ModalDialog
diff --git a/cui/source/inc/cuigrfflt.hxx b/cui/source/inc/cuigrfflt.hxx
index 888060e..0f20488 100644
--- a/cui/source/inc/cuigrfflt.hxx
+++ b/cui/source/inc/cuigrfflt.hxx
@@ -36,7 +36,7 @@ class GraphicPreviewWindow : public Control
{
private:
const Graphic* mpOrigGraphic;
- Link maModifyHdl;
+ Link<> maModifyHdl;
Graphic maScaledOrig;
Graphic maPreview;
double mfScaleX;
@@ -51,7 +51,7 @@ private:
public:
GraphicPreviewWindow(vcl::Window* pParent, WinBits nStyle);
- void init(const Graphic* pOrigGraphic, const Link& rLink)
+ void init(const Graphic* pOrigGraphic, const Link<>& rLink)
{
mpOrigGraphic = pOrigGraphic;
maModifyHdl = rLink;
@@ -69,7 +69,7 @@ class GraphicFilterDialog : public ModalDialog
private:
Timer maTimer;
- Link maModifyHdl;
+ Link<> maModifyHdl;
Size maSizePixel;
bool bIsBitmap;
@@ -79,7 +79,7 @@ private:
protected:
VclPtr<GraphicPreviewWindow> mpPreview;
- const Link& GetModifyHdl() const { return maModifyHdl; }
+ const Link<>& GetModifyHdl() const { return maModifyHdl; }
const Size& GetGraphicSizePixel() const { return maSizePixel; }
public:
@@ -202,14 +202,14 @@ public:
class EmbossControl : public SvxRectCtl
{
private:
- Link maModifyHdl;
+ Link<> maModifyHdl;
virtual void MouseButtonDown( const MouseEvent& rEvt ) SAL_OVERRIDE;
virtual Size GetOptimalSize() const SAL_OVERRIDE;
public:
EmbossControl(vcl::Window* pParent)
: SvxRectCtl(pParent) {}
- void SetModifyHdl( const Link& rHdl ) { maModifyHdl = rHdl; }
+ void SetModifyHdl( const Link<>& rHdl ) { maModifyHdl = rHdl; }
};
class GraphicFilterEmboss : public GraphicFilterDialog
diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx
index 8615477..644b441 100644
--- a/cui/source/inc/dlgname.hxx
+++ b/cui/source/inc/dlgname.hxx
@@ -34,7 +34,7 @@ private:
VclPtr<Edit> pEdtName;
VclPtr<OKButton> pBtnOK;
- Link aCheckNameHdl;
+ Link<> aCheckNameHdl;
DECL_LINK(ModifyHdl, void *);
@@ -60,7 +60,7 @@ public:
@todo Remove the parameter bCheckImmediately and incorporate the 'true'
behaviour as default.
*/
- void SetCheckNameHdl( const Link& rLink, bool bCheckImmediately = false )
+ void SetCheckNameHdl( const Link<>& rLink, bool bCheckImmediately = false )
{
aCheckNameHdl = rLink;
if ( bCheckImmediately )
@@ -83,7 +83,7 @@ private:
VclPtr<OKButton> pBtnOK;
// callback link for name uniqueness
- Link aCheckNameHdl;
+ Link<> aCheckNameHdl;
DECL_LINK(ModifyHdl, void *);
@@ -97,7 +97,7 @@ public:
void GetName(OUString& rName) {rName = pEdtName->GetText(); }
// set handler
- void SetCheckNameHdl(const Link& rLink, bool bCheckImmediately = false)
+ void SetCheckNameHdl(const Link<>& rLink, bool bCheckImmediately = false)
{
aCheckNameHdl = rLink;
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index 2aa203c8..3e7f383 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -58,7 +58,7 @@ namespace svx
void DisplayListBox( bool bDisplayListBox );
- void SetSelectHdl( const Link& rLink );
+ void SetSelectHdl( const Link<>& rLink );
void Clear();
void InsertEntry( const OUString& rStr );
@@ -92,7 +92,7 @@ namespace svx
VclPtr<SuggestionSet> m_aValueSet;
VclPtr<ListBox> m_aListBox;
- Link m_aSelectLink;
+ Link<> m_aSelectLink;
bool m_bInSelectionUpdate;
};
@@ -131,8 +131,8 @@ namespace svx
the document anymore. Some functionality must be disabled then */
bool m_bDocumentMode;
- Link m_aOptionsChangedLink;
- Link m_aClickByCharacterLink;
+ Link<> m_aOptionsChangedLink;
+ Link<> m_aClickByCharacterLink;
public:
HangulHanjaConversionDialog(
@@ -142,15 +142,15 @@ namespace svx
virtual void dispose() SAL_OVERRIDE;
public:
- void SetOptionsChangedHdl( const Link& _rHdl );
- void SetIgnoreHdl( const Link& _rHdl );
- void SetIgnoreAllHdl( const Link& _rHdl );
- void SetChangeHdl( const Link& _rHdl );
- void SetChangeAllHdl( const Link& _rHdl );
-
- void SetClickByCharacterHdl( const Link& _rHdl );
- void SetConversionFormatChangedHdl( const Link& _rHdl );
- void SetFindHdl( const Link& _rHdl );
+ void SetOptionsChangedHdl( const Link<>& _rHdl );
+ void SetIgnoreHdl( const Link<>& _rHdl );
+ void SetIgnoreAllHdl( const Link<>& _rHdl );
+ void SetChangeHdl( const Link<>& _rHdl );
+ void SetChangeAllHdl( const Link<>& _rHdl );
+
+ void SetClickByCharacterHdl( const Link<>& _rHdl );
+ void SetConversionFormatChangedHdl( const Link<>& _rHdl );
+ void SetFindHdl( const Link<>& _rHdl );
OUString GetCurrentString( ) const;
void SetCurrentString(
diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx
index 610c63b..7995287 100644
--- a/cui/source/inc/labdlg.hxx
+++ b/cui/source/inc/labdlg.hxx
@@ -102,7 +102,7 @@ private:
sal_uInt16 m_nPositionSizePageId;
sal_uInt16 m_nCaptionPageId;
- Link aValidateLink;
+ Link<> aValidateLink;
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE;
@@ -111,7 +111,7 @@ public:
sal_uInt16 nAnchorTypes = 0);
/// link for the Writer to validate positions
- void SetValidateFramePosLink( const Link& rLink );
+ void SetValidateFramePosLink( const Link<>& rLink );
};
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 78ce3f2..dae84fe 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -85,7 +85,7 @@ public:
void SetNumberFormatList( const SvxNumberInfoItem& rItem )
{ SetInfoItem( rItem ); }
- void SetOkHdl( const Link& rOkHandler );
+ void SetOkHdl( const Link<>& rOkHandler );
void HideLanguage(bool nFlag=true);
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE;
@@ -123,7 +123,7 @@ private:
SvxNumberInfoItem* pNumItem;
SvxNumberFormatShell* pNumFmtShell;
sal_uLong nInitFormat;
- Link fnOkHdl;
+ Link<> fnOkHdl;
bool bNumItemFlag; ///< for handling with DocShell
bool bOneAreaFlag;
diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx
index 3bdffc3..398a199 100644
--- a/cui/source/inc/optdict.hxx
+++ b/cui/source/inc/optdict.hxx
@@ -78,7 +78,7 @@ public:
class SvxDictEdit : public Edit
{
- Link aActionLink;
+ Link<> aActionLink;
bool bSpaces;
public:
@@ -87,7 +87,7 @@ class SvxDictEdit : public Edit
SvxDictEdit(vcl::Window* pParent, WinBits aWB) :
Edit(pParent, aWB), bSpaces(false){}
- void SetActionHdl( const Link& rLink )
+ void SetActionHdl( const Link<>& rLink )
{ aActionLink = rLink;}
void SetSpaces(bool bSet)
diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx
index 170e006..0c98b22 100644
--- a/cui/source/inc/postdlg.hxx
+++ b/cui/source/inc/postdlg.hxx
@@ -51,11 +51,11 @@ public:
static const sal_uInt16* GetRanges();
const SfxItemSet* GetOutputItemSet() const { return pOutSet; }
- Link GetPrevHdl() const { return aPrevHdlLink; }
- void SetPrevHdl( const Link& rLink )
+ Link<> GetPrevHdl() const { return aPrevHdlLink; }
+ void SetPrevHdl( const Link<>& rLink )
{ aPrevHdlLink = rLink; }
- Link GetNextHdl() const { return aNextHdlLink; }
- void SetNextHdl( const Link& rLink )
+ Link<> GetNextHdl() const { return aNextHdlLink; }
+ void SetNextHdl( const Link<>& rLink )
{ aNextHdlLink = rLink; }
void EnableTravel(bool bNext, bool bPrev);
@@ -103,8 +103,8 @@ private:
const SfxItemSet& rSet;
SfxItemSet* pOutSet;
- Link aPrevHdlLink;
- Link aNextHdlLink;
+ Link<> aPrevHdlLink;
+ Link<> aNextHdlLink;
DECL_LINK(Stamp, void *);
DECL_LINK(OKHdl, void *);
diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx
index c1ac1e3..7f17f842 100644
--- a/cui/source/inc/selector.hxx
+++ b/cui/source/inc/selector.hxx
@@ -189,7 +189,7 @@ class SvxScriptSelectorDialog : public ModelessDialog
VclPtr<VclMultiLineEdit> m_pDescriptionText;
OUString m_sDefaultDesc;
bool m_bShowSlots;
- Link m_aAddHdl;
+ Link<> m_aAddHdl;
DECL_LINK( ClickHdl, Button * );
DECL_LINK( SelectHdl, Control* );
@@ -208,8 +208,8 @@ public:
virtual ~SvxScriptSelectorDialog();
virtual void dispose() SAL_OVERRIDE;
- void SetAddHdl( const Link& rLink ) { m_aAddHdl = rLink; }
- const Link& GetAddHdl() const { return m_aAddHdl; }
+ void SetAddHdl( const Link<>& rLink ) { m_aAddHdl = rLink; }
+ const Link<>& GetAddHdl() const { return m_aAddHdl; }
void SetImageProvider(ImageProvider* provider)
{
diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx
index e1db404..3be2b26 100644
--- a/cui/source/inc/swpossizetabpage.hxx
+++ b/cui/source/inc/swpossizetabpage.hxx
@@ -68,7 +68,7 @@ class SvxSwPosSizeTabPage : public SfxTabPage
VclPtr<SvxSwFrameExample> m_pExampleWN;
- Link m_aValidateLink;
+ Link<> m_aValidateLink;
//'string provider'
SvxSwFramePosString m_aFramePosString;
@@ -136,7 +136,7 @@ public:
void EnableAnchorTypes(sal_uInt16 nAnchorEnable);
- void SetValidateFramePosLink( const Link& rLink )
+ void SetValidateFramePosLink( const Link<>& rLink )
{m_aValidateLink = rLink;}
void SetView( const SdrView* pSdrView );
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index 5248952..2945d28 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -53,7 +53,7 @@ private:
const SdrView* pView;
sal_uInt16 nAnchorCtrls;
- Link aValidateLink;
+ Link<> aValidateLink;
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE;
@@ -64,7 +64,7 @@ public:
sal_uInt16 nAnchorTypes = 0);
//link for the Writer to validate positions
- void SetValidateFramePosLink( const Link& rLink );
+ void SetValidateFramePosLink( const Link<>& rLink );
};
/*************************************************************************
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index b162898..d6e32b4 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -42,7 +42,7 @@ namespace offapp
OUString m_sYes;
OUString m_sNo;
- Link m_aRowChangeHandler;
+ Link<> m_aRowChangeHandler;
public:
DriverListControl(vcl::Window* _pParent);
@@ -53,7 +53,7 @@ namespace offapp
// the handler will be called with a DriverPoolingSettings::const_iterator as parameter,
// or NULL if no valid current row exists
- void SetRowChangeHandler(const Link& _rHdl) { m_aRowChangeHandler = _rHdl; }
+ void SetRowChangeHandler(const Link<>& _rHdl) { m_aRowChangeHandler = _rHdl; }
DriverPooling* getCurrentRow();
void updateCurrentRow();
diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx
index f4be898..ea56e8e 100644
--- a/cui/source/options/doclinkdialog.hxx
+++ b/cui/source/options/doclinkdialog.hxx
@@ -47,7 +47,7 @@ namespace svx
bool m_bCreatingNew;
- Link m_aNameValidator;
+ Link<> m_aNameValidator;
public:
ODocumentLinkDialog( vcl::Window* _pParent, bool _bCreateNew );
@@ -57,8 +57,8 @@ namespace svx
// name validation has to be done by an external instance
// the validator link gets a pointer to a String, and should return 0 if the string is not
// acceptable
- void setNameValidator( const Link& _rValidator ) { m_aNameValidator = _rValidator; }
- Link getNameValidator( ) const { return m_aNameValidator; }
+ void setNameValidator( const Link<>& _rValidator ) { m_aNameValidator = _rValidator; }
+ Link<> getNameValidator( ) const { return m_aNameValidator; }
void setLink( const OUString& _rName, const OUString& _rURL );
void getLink( OUString& _rName, OUString& _rURL ) const;
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 4276de7..86b7ae0 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -88,7 +88,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage( vcl::Window* pParent,
m_pCheckLB->setColSizes();
aTextColor = m_pCheckLB->GetTextColor();
- Link aLink(LINK(this, SvxFontSubstTabPage, SelectHdl));
+ Link<> aLink(LINK(this, SvxFontSubstTabPage, SelectHdl));
m_pCheckLB->SetSelectHdl(aLink);
m_pUseTableCB->SetClickHdl(aLink);
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index fd637a9..81d9a39 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -142,7 +142,7 @@ SvxAsianLayoutPage::SvxAsianLayoutPage( vcl::Window* pParent, const SfxItemSet&
LanguageHdl(m_pLanguageLB);
m_pLanguageLB->SetSelectHdl(LINK(this, SvxAsianLayoutPage, LanguageHdl));
m_pStandardCB->SetClickHdl(LINK(this, SvxAsianLayoutPage, ChangeStandardHdl));
- Link aLk(LINK(this, SvxAsianLayoutPage, ModifyHdl));
+ Link<> aLk(LINK(this, SvxAsianLayoutPage, ModifyHdl));
m_pStartED->SetModifyHdl(aLk);
m_pEndED->SetModifyHdl(aLk);
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index a8e8c8e..cbb8a5f 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -178,7 +178,7 @@ public:
virtual void dispose() SAL_OVERRIDE;
public:
- void SetLinks (Link const&, Link const&, Link const&);
+ void SetLinks (Link<> const&, Link<> const&, Link<> const&);
unsigned GetEntryHeight () const { return vEntries[0]->GetHeight(); }
void Update (EditableColorConfig const*, EditableExtendedColorConfig const*);
void ScrollHdl(const ScrollBar&);
@@ -219,7 +219,7 @@ private:
void SetAppearance(Wallpaper const& aTextWall, ColorListBox const& aSampleList);
void SetTextColor (Color C) { m_pText->SetTextColor(C); }
public:
- void SetLinks (Link const&, Link const&, Link const&);
+ void SetLinks (Link<> const&, Link<> const&, Link<> const&);
void Update (ColorConfigEntry, ColorConfigValue const&);
void Update (ExtendedColorConfigValue const&);
void ColorChanged (ColorConfigEntry, ColorConfigValue&);
@@ -409,8 +409,8 @@ void ColorConfigWindow_Impl::Entry::SetAppearance(
// SetLinks()
void ColorConfigWindow_Impl::Entry::SetLinks(
- Link const& aCheckLink, Link const& aColorLink,
- Link const& aGetFocusLink)
+ Link<> const& aCheckLink, Link<> const& aColorLink,
+ Link<> const& aGetFocusLink)
{
m_pColorList->SetSelectHdl(aColorLink);
m_pColorList->SetGetFocusHdl(aGetFocusLink);
@@ -680,7 +680,7 @@ void ColorConfigWindow_Impl::Init(ScrollBar *pVScroll, HeaderBar *pHeaderHB)
// SetLinks()
void ColorConfigWindow_Impl::SetLinks (
- Link const& aCheckLink, Link const& aColorLink, Link const& aGetFocusLink
+ Link<> const& aCheckLink, Link<> const& aColorLink, Link<> const& aGetFocusLink
) {
for (unsigned i = 0; i != vEntries.size(); ++i)
vEntries[i]->SetLinks(aCheckLink, aColorLink, aGetFocusLink);
@@ -886,13 +886,13 @@ ColorConfigCtrl_Impl::ColorConfigCtrl_Impl(vcl::Window* pParent)
m_pScrollWindow->set_expand(true);
m_pScrollWindow->set_fill(true);
- Link aScrollLink = LINK(this, ColorConfigCtrl_Impl, ScrollHdl);
+ Link<> aScrollLink = LINK(this, ColorConfigCtrl_Impl, ScrollHdl);
m_pVScroll->SetScrollHdl(aScrollLink);
m_pVScroll->SetEndScrollHdl(aScrollLink);
- Link aCheckLink = LINK(this, ColorConfigCtrl_Impl, ClickHdl);
- Link aColorLink = LINK(this, ColorConfigCtrl_Impl, ColorHdl);
- Link aGetFocusLink = LINK(this, ColorConfigCtrl_Impl, ControlFocusHdl);
+ Link<> aCheckLink = LINK(this, ColorConfigCtrl_Impl, ClickHdl);
+ Link<> aColorLink = LINK(this, ColorConfigCtrl_Impl, ColorHdl);
+ Link<> aGetFocusLink = LINK(this, ColorConfigCtrl_Impl, ControlFocusHdl);
m_pScrollWindow->SetLinks(aCheckLink, aColorLink, aGetFocusLink);
m_pHeaderHB->Show();
@@ -1060,7 +1060,7 @@ SvxColorOptionsTabPage::SvxColorOptionsTabPage(
get<vcl::Window>("preview")->GetText());
m_pColorSchemeLB->SetSelectHdl(LINK(this, SvxColorOptionsTabPage, SchemeChangedHdl_Impl));
- Link aLk = LINK(this, SvxColorOptionsTabPage, SaveDeleteHdl_Impl );
+ Link<> aLk = LINK(this, SvxColorOptionsTabPage, SaveDeleteHdl_Impl );
m_pSaveSchemePB->SetClickHdl(aLk);
m_pDeleteSchemePB->SetClickHdl(aLk);
}
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 0949203..c4f84c4 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -294,7 +294,7 @@ OfaMiscTabPage::OfaMiscTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
m_aStrDateInfo = m_pToYearFT->GetText();
m_pYearValueField->SetModifyHdl( LINK( this, OfaMiscTabPage, TwoFigureHdl ) );
- Link aLink = LINK( this, OfaMiscTabPage, TwoFigureConfigHdl );
+ Link<> aLink = LINK( this, OfaMiscTabPage, TwoFigureConfigHdl );
m_pYearValueField->SetDownHdl( aLink );
m_pYearValueField->SetUpHdl( aLink );
m_pYearValueField->SetLoseFocusHdl( aLink );
@@ -1225,7 +1225,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage(vcl::Window* pParent, const SfxItemSet&
m_pLocaleSettingLB->SetSelectHdl( LINK( this, OfaLanguagesTabPage, LocaleSettingHdl ) );
m_pDatePatternsED->SetModifyHdl( LINK( this, OfaLanguagesTabPage, DatePatternsHdl ) );
- Link aLink( LINK( this, OfaLanguagesTabPage, SupportHdl ) );
+ Link<> aLink( LINK( this, OfaLanguagesTabPage, SupportHdl ) );
m_pAsianSupportCB->SetClickHdl( aLink );
m_pCTLSupportCB->SetClickHdl( aLink );
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index babda6a..27052c7 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -293,7 +293,7 @@ void SvxGeneralTabPage::InitControls ()
void SvxGeneralTabPage::SetLinks ()
{
// link for updating the initials
- Link aLink = LINK( this, SvxGeneralTabPage, ModifyHdl_Impl );
+ Link<> aLink = LINK( this, SvxGeneralTabPage, ModifyHdl_Impl );
Row& rNameRow = *vRows[nNameRow];
for (unsigned i = rNameRow.nFirstField; i != rNameRow.nLastField - 1; ++i)
vFields[i]->pEdit->SetModifyHdl(aLink);
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 48e2626..ad14915 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -189,7 +189,7 @@ SvxProxyTabPage::SvxProxyTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pNoProxyForED, "noproxy");
get(m_pNoProxyDescFT, "noproxydesc");
- Link aLink = LINK( this, SvxProxyTabPage, LoseFocusHdl_Impl );
+ Link<> aLink = LINK( this, SvxProxyTabPage, LoseFocusHdl_Impl );
m_pHttpPortED->SetLoseFocusHdl( aLink );
m_pHttpsPortED->SetLoseFocusHdl( aLink );
m_pFtpPortED->SetLoseFocusHdl( aLink );
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 468f56e..218f814 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -206,7 +206,7 @@ SvxPathTabPage::SvxPathTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pPathCtrl, "paths");
m_pStandardBtn->SetClickHdl(LINK(this, SvxPathTabPage, StandardHdl_Impl));
- Link aLink = LINK( this, SvxPathTabPage, PathHdl_Impl );
+ Link<> aLink = LINK( this, SvxPathTabPage, PathHdl_Impl );
m_pPathBtn->SetClickHdl( aLink );
Size aControlSize(236 , 147);
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index a57f3e0..f6c5741 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -118,7 +118,7 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
aDocTypeLB->SetEntryData(5, reinterpret_cast<void*>(APP_DRAW) );
aDocTypeLB->SetEntryData(6, reinterpret_cast<void*>(APP_MATH) );
- Link aLink = LINK( this, SfxSaveTabPage, AutoClickHdl_Impl );
+ Link<> aLink = LINK( this, SfxSaveTabPage, AutoClickHdl_Impl );
aAutoSaveCB->SetClickHdl( aLink );
aAutoSaveEdit->SetMaxTextLen( 2 );
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 8d7329f..0f19eef 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -203,7 +203,7 @@ AlignmentTabPage::AlignmentTabPage( vcl::Window* pParent, const SfxItemSet& rCor
// windows to be disabled, if stacked text is turned OFF
m_pOrientHlp->AddDependentWindow( *m_pCbAsianMode, TRISTATE_FALSE );
- Link aLink = LINK( this, AlignmentTabPage, UpdateEnableHdl );
+ Link<> aLink = LINK( this, AlignmentTabPage, UpdateEnableHdl );
m_pLbHorAlign->SetSelectHdl( aLink );
m_pBtnWrap->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index dfc5ba5..c2a2486 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -424,7 +424,7 @@ void SvxCharNamePage::Initialize()
// to handle the changes of the other pages
SetExchangeSupport();
- Link aLink = LINK( this, SvxCharNamePage, FontModifyHdl_Impl );
+ Link<> aLink = LINK( this, SvxCharNamePage, FontModifyHdl_Impl );
m_pWestFontNameLB->SetModifyHdl( aLink );
m_pWestFontStyleLB->SetModifyHdl( aLink );
m_pWestFontSizeLB->SetModifyHdl( aLink );
@@ -1474,7 +1474,7 @@ void SvxCharEffectsPage::Initialize()
m_pFontColorLB->SetSelectHdl( LINK( this, SvxCharEffectsPage, ColorBoxSelectHdl_Impl ) );
// handler
- Link aLink = LINK( this, SvxCharEffectsPage, SelectHdl_Impl );
+ Link<> aLink = LINK( this, SvxCharEffectsPage, SelectHdl_Impl );
m_pUnderlineLB->SetSelectHdl( aLink );
m_pUnderlineColorLB->SetSelectHdl( aLink );
m_pOverlineLB->SetSelectHdl( aLink );
@@ -2696,7 +2696,7 @@ void SvxCharPositionPage::Initialize()
m_pKerningLB->SelectEntryPos( 0 );
KerningSelectHdl_Impl( NULL );
- Link aLink = LINK( this, SvxCharPositionPage, PositionHdl_Impl );
+ Link<> aLink = LINK( this, SvxCharPositionPage, PositionHdl_Impl );
m_pHighPosBtn->SetClickHdl( aLink );
m_pNormalPosBtn->SetClickHdl( aLink );
m_pLowPosBtn->SetClickHdl( aLink );
@@ -3182,8 +3182,8 @@ void SvxCharPositionPage::Reset( const SfxItemSet* rSet )
m_pScalingAndRotationFT->Show();
m_pScalingFT->Hide();
- Link aOldLink( m_pFitToLineCB->GetClickHdl() );
- m_pFitToLineCB->SetClickHdl( Link() );
+ Link<> aOldLink( m_pFitToLineCB->GetClickHdl() );
+ m_pFitToLineCB->SetClickHdl( Link<>() );
if( eState >= SfxItemState::DEFAULT )
{
const SvxCharRotateItem& rItem =
@@ -3432,7 +3432,7 @@ void SvxCharTwoLinesPage::Initialize()
m_pTwoLinesBtn->SetClickHdl( LINK( this, SvxCharTwoLinesPage, TwoLinesHdl_Impl ) );
- Link aLink = LINK( this, SvxCharTwoLinesPage, CharacterMapHdl_Impl );
+ Link<> aLink = LINK( this, SvxCharTwoLinesPage, CharacterMapHdl_Impl );
m_pStartBracketLB->SetSelectHdl( aLink );
m_pEndBracketLB->SetSelectHdl( aLink );
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx
index 66b4935..21fa98f 100644
--- a/cui/source/tabpages/connect.cxx
+++ b/cui/source/tabpages/connect.cxx
@@ -120,7 +120,7 @@ SvxConnectionPage::SvxConnectionPage( vcl::Window* pWindow, const SfxItemSet& rI
// disable 3D border
m_pCtlPreview->SetBorderStyle(WindowBorderStyle::MONO);
- Link aLink( LINK( this, SvxConnectionPage, ChangeAttrHdl_Impl ) );
+ Link<> aLink( LINK( this, SvxConnectionPage, ChangeAttrHdl_Impl ) );
m_pMtrFldHorz1->SetModifyHdl( aLink );
m_pMtrFldVert1->SetModifyHdl( aLink );
m_pMtrFldHorz2->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 47350ce..035ddab 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -88,7 +88,7 @@ SvxGrfCropPage::SvxGrfCropPage ( vcl::Window *pParent, const SfxItemSet &rSet )
SetFieldUnit( *m_pTopMF , eMetric );
SetFieldUnit( *m_pBottomMF, eMetric );
- Link aLk = LINK(this, SvxGrfCropPage, SizeHdl);
+ Link<> aLk = LINK(this, SvxGrfCropPage, SizeHdl);
m_pWidthMF->SetModifyHdl( aLk );
m_pHeightMF->SetModifyHdl( aLk );
diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx
index 1f05317..3e0ae62 100644
--- a/cui/source/tabpages/labdlg.cxx
+++ b/cui/source/tabpages/labdlg.cxx
@@ -571,7 +571,7 @@ void SvxCaptionTabDialog::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
}
}
-void SvxCaptionTabDialog::SetValidateFramePosLink( const Link& rLink )
+void SvxCaptionTabDialog::SetValidateFramePosLink( const Link<>& rLink )
{
aValidateLink = rLink;
}
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 9c384f0..0cb8a54 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -369,7 +369,7 @@ void _SfxMacroTabPage::InitAndSetHandler()
{
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
HeaderBar& rHeaderBar = mpImpl->pEventLB->GetHeaderBar();
- Link aLnk(LINK(this, _SfxMacroTabPage, AssignDeleteHdl_Impl ));
+ Link<> aLnk(LINK(this, _SfxMacroTabPage, AssignDeleteHdl_Impl ));
mpImpl->pMacroLB->SetDoubleClickHdl( aLnk );
mpImpl->pDeletePB->SetClickHdl( aLnk );
mpImpl->pAssignPB->SetClickHdl( aLnk );
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx
index 0f4213d..0e83582 100644
--- a/cui/source/tabpages/measure.cxx
+++ b/cui/source/tabpages/measure.cxx
@@ -135,7 +135,7 @@ SvxMeasurePage::SvxMeasurePage( vcl::Window* pWindow, const SfxItemSet& rInAttrs
m_pCtlPreview->SetBackground ( rStyles.GetWindowColor() );
m_pCtlPreview->SetBorderStyle(WindowBorderStyle::MONO);
- Link aLink( LINK( this, SvxMeasurePage, ChangeAttrHdl_Impl ) );
+ Link<> aLink( LINK( this, SvxMeasurePage, ChangeAttrHdl_Impl ) );
m_pMtrFldLineDist->SetModifyHdl( aLink );
m_pMtrFldHelplineOverhang->SetModifyHdl( aLink );
m_pMtrFldHelplineDist->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 9ddc402..be2ab71 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -336,7 +336,7 @@ void SvxNumberFormatTabPage::Init_Impl()
m_pCbSourceFormat->Disable();
m_pCbSourceFormat->Hide();
- Link aLink = LINK( this, SvxNumberFormatTabPage, SelFormatHdl_Impl );
+ Link<> aLink = LINK( this, SvxNumberFormatTabPage, SelFormatHdl_Impl );
m_pLbCategory->SetSelectHdl( aLink );
m_pLbFormat->SetSelectHdl( aLink );
@@ -1689,7 +1689,7 @@ bool SvxNumberFormatTabPage::PreNotify( NotifyEvent& rNEvt )
#*
#************************************************************************/
-void SvxNumberFormatTabPage::SetOkHdl( const Link& rOkHandler )
+void SvxNumberFormatTabPage::SetOkHdl( const Link<>& rOkHandler )
{
fnOkHdl = rOkHandler;
}
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 7ef2552..c638187 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -2719,7 +2719,7 @@ SvxNumPositionTabPage::SvxNumPositionTabPage(vcl::Window* pParent,
}
m_pAlign2LB->SetDropDownLineCount( m_pAlign2LB->GetEntryCount() );
- Link aLk = LINK(this, SvxNumPositionTabPage, DistanceHdl_Impl);
+ Link<> aLk = LINK(this, SvxNumPositionTabPage, DistanceHdl_Impl);
m_pDistBorderMF->SetUpHdl(aLk);
m_pDistBorderMF->SetDownHdl(aLk);
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index df8eb10..590676c 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -423,7 +423,7 @@ void SvxPageDescPage::Init_Impl()
m_pLandscapeBtn->SetClickHdl( LINK( this, SvxPageDescPage, SwapOrientation_Impl ) );
m_pPortraitBtn->SetClickHdl( LINK( this, SvxPageDescPage, SwapOrientation_Impl ) );
- Link aLink = LINK( this, SvxPageDescPage, BorderModify_Impl );
+ Link<> aLink = LINK( this, SvxPageDescPage, BorderModify_Impl );
m_pLeftMarginEdit->SetModifyHdl( aLink );
m_pRightMarginEdit->SetModifyHdl( aLink );
m_pTopMarginEdit->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 0d2dc16..72c80d8 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -834,7 +834,7 @@ void SvxStdParagraphTabPage::Init_Impl()
m_pLineDist->SetSelectHdl(
LINK( this, SvxStdParagraphTabPage, LineDistHdl_Impl ) );
- Link aLink = LINK( this, SvxStdParagraphTabPage, ELRLoseFocusHdl );
+ Link<> aLink = LINK( this, SvxStdParagraphTabPage, ELRLoseFocusHdl );
m_pFLineIndent->SetLoseFocusHdl( aLink );
m_pLeftIndent->SetLoseFocusHdl( aLink );
m_pRightIndent->SetLoseFocusHdl( aLink );
@@ -1018,7 +1018,7 @@ SvxParaAlignTabPage::SvxParaAlignTabPage( vcl::Window* pParent, const SfxItemSet
if ( m_pLastLineLB->GetEntryCount() == LASTLINECOUNT_NEW )
m_pLastLineLB->RemoveEntry( nLastLinePos );
- Link aLink = LINK( this, SvxParaAlignTabPage, AlignHdl_Impl );
+ Link<> aLink = LINK( this, SvxParaAlignTabPage, AlignHdl_Impl );
m_pLeft->SetClickHdl( aLink );
m_pRight->SetClickHdl( aLink );
m_pCenter->SetClickHdl( aLink );
@@ -2171,7 +2171,7 @@ SvxAsianTabPage::SvxAsianTabPage( vcl::Window* pParent, const SfxItemSet& rSet )
get(m_pHangingPunctCB,"checkHangPunct");
get(m_pScriptSpaceCB,"checkApplySpacing");
- Link aLink = LINK( this, SvxAsianTabPage, ClickHdl_Impl );
+ Link<> aLink = LINK( this, SvxAsianTabPage, ClickHdl_Impl );
m_pHangingPunctCB->SetClickHdl( aLink );
m_pScriptSpaceCB->SetClickHdl( aLink );
m_pForbiddenRulesCB->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 64c9085..2b56527 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -558,7 +558,7 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(vcl::Window* pParent, const SfxItemSet&
SetExchangeSupport();
- Link aLk = LINK(this, SvxSwPosSizeTabPage, RangeModifyHdl);
+ Link<> aLk = LINK(this, SvxSwPosSizeTabPage, RangeModifyHdl);
m_pWidthMF->SetLoseFocusHdl( aLk );
m_pHeightMF->SetLoseFocusHdl( aLk );
m_pHoriByMF->SetLoseFocusHdl( aLk );
diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx
index 30f2f71..1014873 100644
--- a/cui/source/tabpages/tabstpge.cxx
+++ b/cui/source/tabpages/tabstpge.cxx
@@ -160,7 +160,7 @@ SvxTabulatorTabPage::SvxTabulatorTabPage( vcl::Window* pParent, const SfxItemSet
m_pDelBtn->SetClickHdl( LINK( this,SvxTabulatorTabPage, DelHdl_Impl ) );
m_pDelAllBtn->SetClickHdl( LINK( this,SvxTabulatorTabPage, DelAllHdl_Impl ) );
- Link aLink = LINK( this, SvxTabulatorTabPage, TabTypeCheckHdl_Impl );
+ Link<> aLink = LINK( this, SvxTabulatorTabPage, TabTypeCheckHdl_Impl );
m_pLeftTab->SetClickHdl( aLink );
m_pRightTab->SetClickHdl( aLink );
m_pDezTab->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx
index b2f2980..eb58430 100644
--- a/cui/source/tabpages/textanim.cxx
+++ b/cui/source/tabpages/textanim.cxx
@@ -115,7 +115,7 @@ SvxTextAnimationPage::SvxTextAnimationPage( vcl::Window* pWindow, const SfxItemS
m_pTsbAuto->SetClickHdl( LINK( this, SvxTextAnimationPage, ClickAutoHdl_Impl ) );
m_pTsbPixel->SetClickHdl( LINK( this, SvxTextAnimationPage, ClickPixelHdl_Impl ) );
- Link aLink( LINK( this, SvxTextAnimationPage, ClickDirectionHdl_Impl ) );
+ Link<> aLink( LINK( this, SvxTextAnimationPage, ClickDirectionHdl_Impl ) );
m_pBtnUp->SetClickHdl( aLink );
m_pBtnLeft->SetClickHdl( aLink );
m_pBtnRight->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 9d7a3af4..645b247 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -87,7 +87,7 @@ SvxTextAttrPage::SvxTextAttrPage(vcl::Window* pWindow, const SfxItemSet& rInAttr
SetFieldUnit( *m_pMtrFldTop, eFUnit );
SetFieldUnit( *m_pMtrFldBottom, eFUnit );
- Link aLink( LINK( this, SvxTextAttrPage, ClickHdl_Impl ) );
+ Link<> aLink( LINK( this, SvxTextAttrPage, ClickHdl_Impl ) );
m_pTsbAutoGrowWidth->SetClickHdl( aLink );
m_pTsbAutoGrowHeight->SetClickHdl( aLink );
m_pTsbFitToSize->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 1b73f2c..a0a7abb 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -301,7 +301,7 @@ SvxTransparenceTabPage::SvxTransparenceTabPage(vcl::Window* pParent, const SfxIt
m_pMtrTrgrEndValue->SetValue( 100 );
m_pMtrTrgrStartValue->SetValue( 0 );
m_pLbTrgrGradientType->SetSelectHdl(LINK(this, SvxTransparenceTabPage, ChangeTrgrTypeHdl_Impl));
- Link aLink = LINK( this, SvxTransparenceTabPage, ModifiedTrgrHdl_Impl);
+ Link<> aLink = LINK( this, SvxTransparenceTabPage, ModifiedTrgrHdl_Impl);
m_pLbTrgrGradientType->SetSelectHdl( aLink );
m_pMtrTrgrCenterX->SetModifyHdl( aLink );
m_pMtrTrgrCenterY->SetModifyHdl( aLink );
@@ -755,7 +755,7 @@ SvxAreaTabPage::SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs
m_pTsbStepCount->SetClickHdl( LINK( this, SvxAreaTabPage, ModifyStepCountHdl_Impl ) );
m_pNumFldStepCount->SetModifyHdl( LINK( this, SvxAreaTabPage, ModifyStepCountHdl_Impl ) );
- Link aLink( LINK( this, SvxAreaTabPage, ModifyTileHdl_Impl ) );
+ Link<> aLink( LINK( this, SvxAreaTabPage, ModifyTileHdl_Impl ) );
m_pTsbTile->SetClickHdl( aLink );
m_pTsbStretch->SetClickHdl( aLink );
m_pTsbOriginal->SetClickHdl( aLink );
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 61f1028..048e458 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -376,7 +376,7 @@ SvxColorTabPage::SvxColorTabPage(vcl::Window* pParent, const SfxItemSet& rInAttr
m_pLbColorModel->SetSelectHdl(
LINK( this, SvxColorTabPage, SelectColorModelHdl_Impl ) );
- Link aLink = LINK( this, SvxColorTabPage, ModifiedHdl_Impl );
+ Link<> aLink = LINK( this, SvxColorTabPage, ModifiedHdl_Impl );
m_pR->SetModifyHdl( aLink );
m_pG->SetModifyHdl( aLink );
m_pB->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index 81ce646..00d4340 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -117,7 +117,7 @@ SvxGradientTabPage::SvxGradientTabPage
m_pBtnDelete->SetClickHdl(
LINK( this, SvxGradientTabPage, ClickDeleteHdl_Impl ) );
- Link aLink = LINK( this, SvxGradientTabPage, ModifiedHdl_Impl );
+ Link<> aLink = LINK( this, SvxGradientTabPage, ModifiedHdl_Impl );
m_pLbGradientType->SetSelectHdl( aLink );
m_pMtrCenterX->SetModifyHdl( aLink );
m_pMtrCenterY->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index 4e1200e..e4ee454 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -118,7 +118,7 @@ SvxHatchTabPage::SvxHatchTabPage
m_pLbHatchings->SetSelectHdl( LINK( this, SvxHatchTabPage, ChangeHatchHdl_Impl ) );
- Link aLink = LINK( this, SvxHatchTabPage, ModifiedHdl_Impl );
+ Link<> aLink = LINK( this, SvxHatchTabPage, ModifiedHdl_Impl );
m_pMtrDistance->SetModifyHdl( aLink );
m_pMtrAngle->SetModifyHdl( aLink );
m_pLbLineType->SetSelectHdl( aLink );
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index bdc91ac..184d428 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -189,8 +189,8 @@ SvxLineTabPage::SvxLineTabPage
m_pMtrLineWidth->SetModifyHdl( LINK( this, SvxLineTabPage, ChangePreviewHdl_Impl ) );
m_pMtrTransparent->SetModifyHdl( LINK( this, SvxLineTabPage, ChangeTransparentHdl_Impl ) );
- Link aStart = LINK( this, SvxLineTabPage, ChangeStartHdl_Impl );
- Link aEnd = LINK( this, SvxLineTabPage, ChangeEndHdl_Impl );
+ Link<> aStart = LINK( this, SvxLineTabPage, ChangeStartHdl_Impl );
+ Link<> aEnd = LINK( this, SvxLineTabPage, ChangeEndHdl_Impl );
m_pLbStartStyle->SetSelectHdl( aStart );
m_pLbEndStyle->SetSelectHdl( aEnd );
m_pMtrStartWidth->SetModifyHdl( aStart );
@@ -199,11 +199,11 @@ SvxLineTabPage::SvxLineTabPage
m_pTsbCenterEnd->SetClickHdl( aEnd );
// #116827#
- Link aEdgeStyle = LINK( this, SvxLineTabPage, ChangeEdgeStyleHdl_Impl );
+ Link<> aEdgeStyle = LINK( this, SvxLineTabPage, ChangeEdgeStyleHdl_Impl );
m_pLBEdgeStyle->SetSelectHdl( aEdgeStyle );
// LineCaps
- Link aCapStyle = LINK( this, SvxLineTabPage, ChangeCapStyleHdl_Impl );
+ Link<> aCapStyle = LINK( this, SvxLineTabPage, ChangeCapStyleHdl_Impl );
m_pLBCapStyle->SetSelectHdl( aCapStyle );
// Symbols on a line (eg star charts), MB-handler set
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index c2448b2..8bac223 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -143,7 +143,7 @@ SvxLineDefTabPage::SvxLineDefTabPage
m_pCbxSynchronize->SetClickHdl( LINK( this, SvxLineDefTabPage, ChangeMetricHdl_Impl ) );
// preview must be updated when there's something changed
- Link aLink = LINK( this, SvxLineDefTabPage, SelectTypeHdl_Impl );
+ Link<> aLink = LINK( this, SvxLineDefTabPage, SelectTypeHdl_Impl );
m_pLbType1->SetSelectHdl( aLink );
m_pLbType2->SetSelectHdl( aLink );
aLink = LINK( this, SvxLineDefTabPage, ChangePreviewHdl_Impl );
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index 55d66b3..10c0d0c 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -159,7 +159,7 @@ SvxShadowTabPage::SvxShadowTabPage( vcl::Window* pParent, const SfxItemSet& rInA
//aCtlXRectPreview.SetFillAttr( aXFillAttr );
m_pTsbShowShadow->SetClickHdl( LINK( this, SvxShadowTabPage, ClickShadowHdl_Impl ) );
- Link aLink = LINK( this, SvxShadowTabPage, ModifyShadowHdl_Impl );
+ Link<> aLink = LINK( this, SvxShadowTabPage, ModifyShadowHdl_Impl );
m_pLbShadowColor->SetSelectHdl( aLink );
m_pMtrTransparent->SetModifyHdl( aLink );
m_pMtrDistance->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 2da50ac..950a4b2 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -163,7 +163,7 @@ void SvxTransformTabDialog::PageCreated(sal_uInt16 nId, SfxTabPage &rPage)
-void SvxTransformTabDialog::SetValidateFramePosLink(const Link& rLink)
+void SvxTransformTabDialog::SetValidateFramePosLink(const Link<>& rLink)
{
aValidateLink = rLink;
}
diff --git a/dbaccess/source/ui/browser/AsynchronousLink.cxx b/dbaccess/source/ui/browser/AsynchronousLink.cxx
index 6986a79..8dd872f 100644
--- a/dbaccess/source/ui/browser/AsynchronousLink.cxx
+++ b/dbaccess/source/ui/browser/AsynchronousLink.cxx
@@ -23,7 +23,7 @@
// OAsynchronousLink
using namespace dbaui;
-OAsynchronousLink::OAsynchronousLink( const Link& _rHandler )
+OAsynchronousLink::OAsynchronousLink( const Link<>& _rHandler )
:m_aHandler(_rHandler)
,m_aEventSafety()
,m_aDestructionSafety()
diff --git a/dbaccess/source/ui/browser/dbtreeview.cxx b/dbaccess/source/ui/browser/dbtreeview.cxx
index bc0b441..6d8fedd 100644
--- a/dbaccess/source/ui/browser/dbtreeview.cxx
+++ b/dbaccess/source/ui/browser/dbtreeview.cxx
@@ -63,12 +63,12 @@ void DBTreeView::dispose()
vcl::Window::dispose();
}
-void DBTreeView::SetPreExpandHandler(const Link& _rHdl)
+void DBTreeView::SetPreExpandHandler(const Link<>& _rHdl)
{
m_pTreeListBox->SetPreExpandHandler(_rHdl);
}
-void DBTreeView::setCopyHandler(const Link& _rHdl)
+void DBTreeView::setCopyHandler(const Link<>& _rHdl)
{
m_pTreeListBox->setCopyHandler(_rHdl);
}
@@ -86,7 +86,7 @@ void DBTreeView::setModel(SvTreeList* _pTreeModel)
m_pTreeListBox->SetModel(_pTreeModel);
}
-void DBTreeView::setSelChangeHdl( const Link& _rHdl )
+void DBTreeView::setSelChangeHdl( const Link<>& _rHdl )
{
m_pTreeListBox->SetSelChangeHdl( _rHdl );
}
diff --git a/dbaccess/source/ui/browser/dbtreeview.hxx b/dbaccess/source/ui/browser/dbtreeview.hxx
index 5313583..a3d237d 100644
--- a/dbaccess/source/ui/browser/dbtreeview.hxx
+++ b/dbaccess/source/ui/browser/dbtreeview.hxx
@@ -46,13 +46,13 @@ namespace dbaui
<p>When calling the link, the parameter is an SvTreeListEntry marking the entry to be expanded.
</p>
*/
- void SetPreExpandHandler(const Link& _rHdl);
+ void SetPreExpandHandler(const Link<>& _rHdl);
/// gets the currently set NodeExpansionHandler
- void setCopyHandler(const Link& _rHdl);
+ void setCopyHandler(const Link<>& _rHdl);
void setModel(SvTreeList* _pTreeModel);
- void setSelChangeHdl(const Link& _rHdl);
+ void setSelChangeHdl(const Link<>& _rHdl);
DBTreeListBox& getListBox() const { return *m_pTreeListBox; }
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index f011e06..b7bdad4 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -460,7 +460,7 @@ namespace dbaui
lateUIInit();
- Link aLink(LINK(this, OTableListBoxControl, OnTableChanged));
+ Link<> aLink(LINK(this, OTableListBoxControl, OnTableChanged));
m_pLeftTable->SetSelectHdl(aLink);
m_pRightTable->SetSelectHdl(aLink);
}
diff --git a/dbaccess/source/ui/control/ScrollHelper.cxx b/dbaccess/source/ui/control/ScrollHelper.cxx
index a15fb76..e463262 100644
--- a/dbaccess/source/ui/control/ScrollHelper.cxx
+++ b/dbaccess/source/ui/control/ScrollHelper.cxx
@@ -37,7 +37,7 @@ namespace dbaui
Rectangle aScrollArea( Point(0, _rOutputSize.Height() - LISTBOX_SCROLLING_AREA),
Size(_rOutputSize.Width(), LISTBOX_SCROLLING_AREA) );
- Link aToCall;
+ Link<> aToCall;
// if pointer in bottom area begin scroll
if( aScrollArea.IsInside(_rPoint) )
aToCall = m_aUpScroll;
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index c457c96..b01a1bb 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -374,7 +374,7 @@ using namespace ::com::sun::star;
OnModified( NULL );
}
- Link MySQLNativeSetupPage::getControlModifiedLink()
+ Link<> MySQLNativeSetupPage::getControlModifiedLink()
{
return LINK( this, MySQLNativeSetupPage, OnModified );
}
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
index 109c3f3..0f2c026 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
@@ -86,7 +86,7 @@ namespace dbaui
OLDAPConnectionPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs );
virtual ~OLDAPConnectionPageSetup();
virtual void dispose() SAL_OVERRIDE;
- virtual Link getControlModifiedLink() SAL_OVERRIDE { return LINK(this, OLDAPConnectionPageSetup, OnEditModified); }
+ virtual Link<> getControlModifiedLink() SAL_OVERRIDE { return LINK(this, OLDAPConnectionPageSetup, OnEditModified); }
protected:
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
@@ -127,7 +127,7 @@ namespace dbaui
virtual bool FillItemSet( SfxItemSet* _rCoreAttrs ) SAL_OVERRIDE;
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
- virtual Link getControlModifiedLink() SAL_OVERRIDE;
+ virtual Link<> getControlModifiedLink() SAL_OVERRIDE;
private:
DECL_LINK( OnModified, Edit* );
@@ -154,7 +154,7 @@ namespace dbaui
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list