diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2018-07-14 16:46:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 08:39:11 +0200 |
commit | 99876774fbcd5409ca6a6a15c44ecd39a117236f (patch) | |
tree | cfec7927d18397bd9f3ff2dd8c87fafa57eb0ee2 /editeng | |
parent | 9df9e5b0a92caeda305c53214632a3ba42f02b2d (diff) |
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 'editeng')
-rw-r--r-- | editeng/source/items/CustomPropertyField.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/flditem.cxx | 33 | ||||
-rw-r--r-- | editeng/source/items/svdfield.cxx | 2 |
3 files changed, 0 insertions, 37 deletions
diff --git a/editeng/source/items/CustomPropertyField.cxx b/editeng/source/items/CustomPropertyField.cxx index 3fbe5a89fe89..d46b47af52ae 100644 --- a/editeng/source/items/CustomPropertyField.cxx +++ b/editeng/source/items/CustomPropertyField.cxx @@ -28,8 +28,6 @@ CustomPropertyField::CustomPropertyField(OUString const & rName, OUString const CustomPropertyField::~CustomPropertyField() {} -SV_IMPL_PERSIST1(CustomPropertyField); - std::unique_ptr<SvxFieldData> CustomPropertyField::Clone() const { return o3tl::make_unique<CustomPropertyField>(msName, msCurrentPresentation); diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 722d54a710db..3365761cd1d6 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -322,9 +322,6 @@ bool SvxFieldItem::operator==( const SfxPoolItem& rItem ) const // The following are the derivatives of SvxFieldData ... -SV_IMPL_PERSIST1( SvxDateField ); - - SvxDateField::SvxDateField() { nFixDate = Date( Date::SYSTEM ).GetDate(); @@ -436,9 +433,6 @@ MetaAction* SvxDateField::createBeginComment() const return new MetaCommentAction( "FIELD_SEQ_BEGIN" ); } -SV_IMPL_PERSIST1( SvxURLField ); - - SvxURLField::SvxURLField() { eFormat = SvxURLFormat::Url; @@ -484,8 +478,6 @@ MetaAction* SvxURLField::createBeginComment() const // SvxPageTitleField methods // -SV_IMPL_PERSIST1( SvxPageTitleField ); - SvxPageTitleField::SvxPageTitleField() {} std::unique_ptr<SvxFieldData> SvxPageTitleField::Clone() const @@ -509,8 +501,6 @@ MetaAction* SvxPageTitleField::createBeginComment() const // The fields that were removed from Calc: -SV_IMPL_PERSIST1( SvxPageField ); - SvxPageField::SvxPageField() {} std::unique_ptr<SvxFieldData> SvxPageField::Clone() const @@ -529,8 +519,6 @@ MetaAction* SvxPageField::createBeginComment() const } -SV_IMPL_PERSIST1( SvxPagesField ); - SvxPagesField::SvxPagesField() {} std::unique_ptr<SvxFieldData> SvxPagesField::Clone() const @@ -543,8 +531,6 @@ bool SvxPagesField::operator==( const SvxFieldData& rCmp ) const return ( dynamic_cast< const SvxPagesField *>(&rCmp) != nullptr); } -SV_IMPL_PERSIST1( SvxTimeField ); - SvxTimeField::SvxTimeField() {} std::unique_ptr<SvxFieldData> SvxTimeField::Clone() const @@ -562,8 +548,6 @@ MetaAction* SvxTimeField::createBeginComment() const return new MetaCommentAction( "FIELD_SEQ_BEGIN" ); } -SV_IMPL_PERSIST1( SvxFileField ); - SvxFileField::SvxFileField() {} std::unique_ptr<SvxFieldData> SvxFileField::Clone() const @@ -576,8 +560,6 @@ bool SvxFileField::operator==( const SvxFieldData& rCmp ) const return ( dynamic_cast< const SvxFileField *>(&rCmp) != nullptr ); } -SV_IMPL_PERSIST1( SvxTableField ); - SvxTableField::SvxTableField() : mnTab(0) {} SvxTableField::SvxTableField(int nTab) : mnTab(nTab) {} @@ -604,9 +586,6 @@ bool SvxTableField::operator==( const SvxFieldData& rCmp ) const // SvxExtTimeField -SV_IMPL_PERSIST1( SvxExtTimeField ); - - SvxExtTimeField::SvxExtTimeField() : m_nFixTime( tools::Time(tools::Time::SYSTEM).GetTime() ) { @@ -721,9 +700,6 @@ MetaAction* SvxExtTimeField::createBeginComment() const // SvxExtFileField -SV_IMPL_PERSIST1( SvxExtFileField ); - - SvxExtFileField::SvxExtFileField() { eType = SvxFileType::Var; @@ -836,9 +812,6 @@ OUString SvxExtFileField::GetFormatted() const // SvxAuthorField -SV_IMPL_PERSIST1( SvxAuthorField ); - - SvxAuthorField::SvxAuthorField( const OUString& rFirstName, const OUString& rLastName, const OUString& rShortName, @@ -897,8 +870,6 @@ OUString SvxAuthorField::GetFormatted() const return aString; } -SV_IMPL_PERSIST1( SvxHeaderField ); - SvxHeaderField::SvxHeaderField() {} std::unique_ptr<SvxFieldData> SvxHeaderField::Clone() const @@ -911,8 +882,6 @@ bool SvxHeaderField::operator==( const SvxFieldData& rCmp ) const return ( dynamic_cast< const SvxHeaderField *>(&rCmp) != nullptr ); } -SV_IMPL_PERSIST1( SvxFooterField ); - SvxFooterField::SvxFooterField() {} std::unique_ptr<SvxFieldData> SvxFooterField::Clone() const @@ -925,8 +894,6 @@ bool SvxFooterField::operator==( const SvxFieldData& rCmp ) const return ( dynamic_cast< const SvxFooterField *>(&rCmp) != nullptr ); } -SV_IMPL_PERSIST1( SvxDateTimeField ); - std::unique_ptr<SvxFieldData> SvxDateTimeField::Clone() const { return o3tl::make_unique<SvxDateTimeField>(); // empty diff --git a/editeng/source/items/svdfield.cxx b/editeng/source/items/svdfield.cxx index ac3c0900de37..4050871d515f 100644 --- a/editeng/source/items/svdfield.cxx +++ b/editeng/source/items/svdfield.cxx @@ -21,8 +21,6 @@ #include <editeng/measfld.hxx> #include <o3tl/make_unique.hxx> -SV_IMPL_PERSIST1(SdrMeasureField); - SdrMeasureField::~SdrMeasureField() { } |