summaryrefslogtreecommitdiffstats
path: root/include/editeng/measfld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-14 16:46:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-16 08:39:11 +0200
commit99876774fbcd5409ca6a6a15c44ecd39a117236f (patch)
treecfec7927d18397bd9f3ff2dd8c87fafa57eb0ee2 /include/editeng/measfld.hxx
parentloplugin:useuniqueptr in SwHistory (diff)
downloadcore-99876774fbcd5409ca6a6a15c44ecd39a117236f.tar.gz
core-99876774fbcd5409ca6a6a15c44ecd39a117236f.zip
SvPersistBase no longer necessary
Change-Id: I928c0898d77d30bd6ca755d07acac6f78b20563b Reviewed-on: https://gerrit.libreoffice.org/57436 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/measfld.hxx')
-rw-r--r--include/editeng/measfld.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/measfld.hxx b/include/editeng/measfld.hxx
index 50bf3cc3e8df..2422ed9a8462 100644
--- a/include/editeng/measfld.hxx
+++ b/include/editeng/measfld.hxx
@@ -32,7 +32,7 @@ enum class SdrMeasureFieldKind { Value, Unit, Rotate90Blanks };
class EDITENG_DLLPUBLIC SdrMeasureField: public SvxFieldData {
SdrMeasureFieldKind eMeasureFieldKind;
public:
- SV_DECL_PERSIST1(SdrMeasureField, css::text::textfield::Type::MEASURE)
+ virtual sal_Int32 GetClassId() const override { return css::text::textfield::Type::MEASURE; }
SdrMeasureField(SdrMeasureFieldKind eNewKind): eMeasureFieldKind(eNewKind) {}
virtual ~SdrMeasureField() override;
virtual std::unique_ptr<SvxFieldData> Clone() const override;