sw: add stub Title impl for SwAuthorField

It is advertised as a property, but it's not implemented: just avoid the
assert fail on inspecting the UNO wrapper.

Change-Id: Icd20c0edf543cf5ac435b9dcfdc8542f435ef231
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134936
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Miklos Vajna 2022-05-25 13:17:58 +02:00
parent 4366e06052
commit eb3fccbd86

View file

@ -362,6 +362,9 @@ bool SwAuthorField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const
rAny <<= m_aContent;
break;
case FIELD_PROP_TITLE:
break;
default:
assert(false);
}
@ -387,6 +390,9 @@ bool SwAuthorField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId )
rAny >>= m_aContent;
break;
case FIELD_PROP_TITLE:
break;
default:
assert(false);
}