diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/tabpagemodel.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx index dc1730ea04a7..a8b45f108331 100644 --- a/toolkit/source/controls/tabpagemodel.cxx +++ b/toolkit/source/controls/tabpagemodel.cxx @@ -86,9 +86,10 @@ Any UnoControlTabPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const break; case BASEPROPERTY_USERFORMCONTAINEES: { - // We do not have here any usercontainers (yet?), but let's return something back + // We do not have here any usercontainers (yet?), but let's return empty container back // so normal properties could be set without triggering UnknownPropertyException - return makeAny(true); + aAny <<= uno::Reference< XNameContainer >(); + break; } default: aAny = UnoControlModel::ImplGetDefaultValue( nPropId ); |