No need for a virtual OPropertyContainer::getTypes
(and rename to getBaseTypes for clarity) Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
This commit is contained in:
@@ -82,7 +82,7 @@ Sequence< Type > SAL_CALL Controller::getTypes() throw(RuntimeException, std::ex
|
||||
{
|
||||
Sequence< Type > aTypes = ::comphelper::concatSequences(
|
||||
SfxBaseController::getTypes(),
|
||||
OPropertyContainer::getTypes()
|
||||
getBaseTypes()
|
||||
);
|
||||
|
||||
return aTypes;
|
||||
|
@@ -52,7 +52,7 @@ OPropertyContainer::~OPropertyContainer()
|
||||
}
|
||||
|
||||
|
||||
Sequence< Type > SAL_CALL OPropertyContainer::getTypes() throw (RuntimeException, std::exception)
|
||||
Sequence< Type > OPropertyContainer::getBaseTypes() throw (RuntimeException, std::exception)
|
||||
{
|
||||
// just the types from our one and only base class
|
||||
::cppu::OTypeCollection aTypes(
|
||||
|
@@ -732,7 +732,7 @@ Sequence< Type > SAL_CALL OEvoabResultSet::getTypes( ) throw( RuntimeException,
|
||||
{
|
||||
return ::comphelper::concatSequences(
|
||||
OResultSet_BASE::getTypes(),
|
||||
::comphelper::OPropertyContainer::getTypes()
|
||||
getBaseTypes()
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -80,7 +80,7 @@ Sequence< Type > OColumn::getTypes() throw (RuntimeException, std::exception)
|
||||
{
|
||||
return ::comphelper::concatSequences(
|
||||
OColumnBase::getTypes(),
|
||||
::comphelper::OPropertyContainer::getTypes()
|
||||
getBaseTypes()
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -49,7 +49,7 @@ protected:
|
||||
OPropertyContainer(::cppu::OBroadcastHelper& _rBHelper);
|
||||
|
||||
/// for scripting : the types of the interfaces supported by this class
|
||||
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception);
|
||||
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getBaseTypes() throw (::com::sun::star::uno::RuntimeException, std::exception);
|
||||
|
||||
// OPropertySetHelper overridables
|
||||
virtual sal_Bool SAL_CALL convertFastPropertyValue(
|
||||
|
@@ -93,7 +93,7 @@ Sequence<Type> SAL_CALL OGenericUnoDialog::getTypes( ) throw(RuntimeException,
|
||||
{
|
||||
return ::comphelper::concatSequences(
|
||||
OGenericUnoDialogBase::getTypes(),
|
||||
::comphelper::OPropertyContainer::getTypes()
|
||||
getBaseTypes()
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -153,7 +153,7 @@ css::uno::Sequence<css::uno::Type> ToolboxController::getTypes()
|
||||
throw (css::uno::RuntimeException, std::exception)
|
||||
{
|
||||
css::uno::Sequence<css::uno::Type> s1(ToolboxController_Base::getTypes());
|
||||
css::uno::Sequence<css::uno::Type> s2(OPropertyContainer::getTypes());
|
||||
css::uno::Sequence<css::uno::Type> s2(getBaseTypes());
|
||||
sal_Int32 n = s1.getLength();
|
||||
s1.realloc(n + s2.getLength());
|
||||
for (sal_Int32 i = 0; i != s2.getLength(); ++i) {
|
||||
|
@@ -139,7 +139,7 @@
|
||||
// our own types
|
||||
Sequence< Type > aTypes = ::comphelper::concatSequences(
|
||||
OPropertySetAggregationHelper::getTypes(),
|
||||
OPropertyContainer::getTypes(),
|
||||
getBaseTypes(),
|
||||
OGCM_Base::getTypes()
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user