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:
parent
4366e06052
commit
eb3fccbd86
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue