summaryrefslogtreecommitdiff
path: root/sw/inc/flddropdown.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /sw/inc/flddropdown.hxx
parentc36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff)
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sw/inc/flddropdown.hxx')
-rw-r--r--sw/inc/flddropdown.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/flddropdown.hxx b/sw/inc/flddropdown.hxx
index 8ba7905909f4..55751e61dc67 100644
--- a/sw/inc/flddropdown.hxx
+++ b/sw/inc/flddropdown.hxx
@@ -46,7 +46,7 @@ public:
@return a copy of this type
*/
- virtual SwFieldType * Copy () const;
+ virtual SwFieldType * Copy () const SAL_OVERRIDE;
};
/**
@@ -90,14 +90,14 @@ class SW_DLLPUBLIC SwDropDownField : public SwField
@return the expanded value of the field
*/
- virtual OUString Expand() const;
+ virtual OUString Expand() const SAL_OVERRIDE;
/**
Creates a copy of this field.
@return the copy of this field
*/
- virtual SwField * Copy() const;
+ virtual SwField * Copy() const SAL_OVERRIDE;
public:
/**
@@ -126,14 +126,14 @@ public:
@return the selected value
*/
- virtual OUString GetPar1() const;
+ virtual OUString GetPar1() const SAL_OVERRIDE;
/**
Returns the name of the field.
@return the name of the field
*/
- virtual OUString GetPar2() const;
+ virtual OUString GetPar2() const SAL_OVERRIDE;
/**
Sets the selected value.
@@ -142,14 +142,14 @@ public:
selected. Otherwise no item will be selected, i.e. the
resulting selection will be empty.
*/
- virtual void SetPar1(const OUString & rStr);
+ virtual void SetPar1(const OUString & rStr) SAL_OVERRIDE;
/**
Sets the name of the field.
@param rStr the new name of the field
*/
- virtual void SetPar2(const OUString & rStr);
+ virtual void SetPar2(const OUString & rStr) SAL_OVERRIDE;
/**
Sets the items of the dropdown box.
@@ -248,7 +248,7 @@ public:
- FIELD_PROP_PAR3 Get the help text of the field.
- FIELD_PROP_PAR4 Get the tool tip of the field.
*/
- virtual bool QueryValue(com::sun::star::uno::Any &rVal, sal_uInt16 nWhichId) const;
+ virtual bool QueryValue(com::sun::star::uno::Any &rVal, sal_uInt16 nWhichId) const SAL_OVERRIDE;
/**
API: Sets a property value on the dropdown field.
@@ -260,7 +260,7 @@ public:
- FIELD_PROP_PAR3 Set the help text of the field.
- FIELD_PROP_PAR4 Set the tool tip of the field.
*/
- virtual bool PutValue(const com::sun::star::uno::Any &rVal, sal_uInt16 nWhichId);
+ virtual bool PutValue(const com::sun::star::uno::Any &rVal, sal_uInt16 nWhichId) SAL_OVERRIDE;
};
#endif