summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/SpellDialog.hxx6
-rw-r--r--cui/source/inc/autocdlg.hxx4
-rw-r--r--cui/source/inc/cfg.hxx10
-rw-r--r--cui/source/inc/cuifmsearch.hxx12
-rw-r--r--cui/source/inc/cuigaldlg.hxx4
-rw-r--r--cui/source/inc/cuigrfflt.hxx12
-rw-r--r--cui/source/inc/dlgname.hxx8
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx26
-rw-r--r--cui/source/inc/labdlg.hxx4
-rw-r--r--cui/source/inc/numfmt.hxx4
-rw-r--r--cui/source/inc/optdict.hxx4
-rw-r--r--cui/source/inc/postdlg.hxx12
-rw-r--r--cui/source/inc/selector.hxx6
-rw-r--r--cui/source/inc/swpossizetabpage.hxx4
-rw-r--r--cui/source/inc/transfrm.hxx4
15 files changed, 60 insertions, 60 deletions
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 411df36dd123..6f8b3161cd26 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 d56700e45e7a..fa2224a45802 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 759b1406d3e6..3038b4b80d57 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 d56c9d5ee2a4..f0717aa758e2 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 a1855b1a1fdd..e58997fb5d93 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 888060e2ecf3..0f2048862526 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 8615477f6618..644b441db613 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 2aa203c85319..3e7f38339cc9 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 610c63b2f2f9..7995287a00ec 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 78ce3f200d41..dae84fea1d13 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 3bdffc3f0edd..398a1998ac81 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 170e00692379..0c98b22ca2bd 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 c1ac1e3f6b62..7f17f842c009 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 e1db4048acc7..3be2b26fe0cd 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 52489521102e..2945d28e494c 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 );
};
/*************************************************************************