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

New commits:
commit ab8d141967111ca81f4607db3618bb09214e42db
Author:     Miklos Vajna <[email protected]>
AuthorDate: Mon Apr 11 14:47:34 2022 +0200
Commit:     Miklos Vajna <[email protected]>
CommitDate: Mon Apr 11 17:04:31 2022 +0200

    sw: add sub Title impl for SwInputField
    
    It is advertised as a property, but it's not implemented: just avoid the
    assert fail on inspecting the UNO wrapper.
    
    Change-Id: Id482443aeeee71198dbddbcb3810ae0c4b7b30bc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132819
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins

diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index 6bf92cc47f0b..a780ef245a02 100644
--- a/sw/source/core/fields/expfld.cxx
+++ b/sw/source/core/fields/expfld.cxx
@@ -1357,6 +1357,8 @@ bool SwInputField::QueryValue( uno::Any& rAny, sal_uInt16 
nWhichId ) const
     case FIELD_PROP_GRABBAG:
         rAny <<= maGrabBag;
         break;
+    case FIELD_PROP_TITLE:
+        break;
     default:
         assert(false);
     }
@@ -1382,6 +1384,8 @@ bool SwInputField::PutValue( const uno::Any& rAny, 
sal_uInt16 nWhichId )
     case FIELD_PROP_GRABBAG:
         rAny >>= maGrabBag;
         break;
+    case FIELD_PROP_TITLE:
+        break;
     default:
         assert(false);
     }

Reply via email to