Kaydet (Commit) 9503a695 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused template parameter

Change-Id: I3b1f54f88351512cbe2e555f9ca9c1c0dcc2c098
üst 50bf96d3
......@@ -1281,7 +1281,7 @@ css::uno::Reference<css::util::XCloneable> SAL_CALL Binding::createClone()
#define REGISTER_BOOL_PROPERTY_RO( property ) \
registerProperty( PROPERTY_RO( property, sal_Bool ), \
new BooleanPropertyAccessor< Binding, bool >( this, nullptr, &Binding::get##property ) );
new BooleanPropertyAccessor< Binding >( this, nullptr, &Binding::get##property ) );
void Binding::initializePropertySet()
{
......
......@@ -631,7 +631,7 @@ css::uno::Reference<css::container::XSet> Model::getSubmissions()
#define REGISTER_BOOL_PROPERTY( property ) \
registerProperty( PROPERTY( property, sal_Bool ), \
new BooleanPropertyAccessor< Model, bool >( this, &Model::set##property, &Model::get##property ) );
new BooleanPropertyAccessor< Model >( this, &Model::set##property, &Model::get##property ) );
void Model::initializePropertySet()
{
......
......@@ -124,7 +124,7 @@ public:
/** helper class for implementing non-UNO accessors to a boolean property
*/
template< typename CLASS, typename DUMMY >
template< typename CLASS >
class BooleanPropertyAccessor
:public GenericPropertyAccessor < CLASS
, bool
......
......@@ -327,7 +327,7 @@ Model* Submission::getModelImpl() const
#define REGISTER_PROPERTY_BOOL( property ) \
registerProperty( PROPERTY( property, bool ), \
new BooleanPropertyAccessor< Submission, bool >( this, &Submission::set##property, &Submission::get##property ) );
new BooleanPropertyAccessor< Submission >( this, &Submission::set##property, &Submission::get##property ) );
void Submission::initializePropertySet()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment