sw/source/core/fields/docufld.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit eb3fccbd86ca343f21aa42505fa3400bfec838c8
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Wed May 25 13:17:58 2022 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed May 25 14:43:03 2022 +0200

    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 <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/fields/docufld.cxx 
b/sw/source/core/fields/docufld.cxx
index 204b2611edbf..289061a283e5 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -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);
     }

Reply via email to