summaryrefslogtreecommitdiff
path: root/sw/inc/ddefld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-23 14:23:01 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 09:36:57 +0200
commit23e0b0ba4b67a402a89b3752ae5aede1c5249cc8 (patch)
tree2046f70f5d2f47141267d47c192998228e8d41c2 /sw/inc/ddefld.hxx
parentffcfcd76d12a54e8a65a2b8d0ba7432d4c57f6ea (diff)
convert sfxlink to enum class
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
Diffstat (limited to 'sw/inc/ddefld.hxx')
-rw-r--r--sw/inc/ddefld.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index 4417c0e069e2..b4f5bedef4c8 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -42,7 +42,7 @@ class SW_DLLPUBLIC SwDDEFieldType : public SwFieldType
public:
SwDDEFieldType( const OUString& rName, const OUString& rCmd,
- sal_uInt16 = sfx2::LINKUPDATE_ONCALL );
+ SfxLinkUpdateMode = SfxLinkUpdateMode::ONCALL );
virtual ~SwDDEFieldType();
OUString GetExpansion() const { return aExpansion; }
@@ -58,8 +58,8 @@ public:
OUString GetCmd() const;
void SetCmd( const OUString& aStr );
- sal_uInt16 GetType() const { return refLink->GetUpdateMode(); }
- void SetType( sal_uInt16 nType ) { refLink->SetUpdateMode( nType ); }
+ SfxLinkUpdateMode GetType() const { return refLink->GetUpdateMode(); }
+ void SetType( SfxLinkUpdateMode nType ) { refLink->SetUpdateMode( nType ); }
bool IsDeleted() const { return bDeleted; }
void SetDeleted( bool b ) { bDeleted = b; }