diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 09:41:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 09:41:35 +0200 |
commit | 9503a69514460ccf56cf570e04236b001da13f22 (patch) | |
tree | a14187788bfda50668a149d4cc3719a67fc80dcd /forms/source | |
parent | 50bf96d31ab2eb546f6c71cc93c1fa5dd4bf3044 (diff) |
Remove unused template parameter
Change-Id: I3b1f54f88351512cbe2e555f9ca9c1c0dcc2c098
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/xforms/binding.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/model.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/propertysetbase.hxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/submission.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 75cd2bb1967b..8b87a9984809 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -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() { diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 746cce894b97..dfd1d008ee97 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -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() { diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index eb93d482526a..8563f0b9160c 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -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 diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 1f71fa2ffb60..7ad6dd810688 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -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() { |