[Libreoffice-commits] core.git: forms/source

Stephan Bergmann sbergman at redhat.com
Wed Jun 29 07:42:04 UTC 2016


 forms/source/xforms/binding.cxx         |    2 +-
 forms/source/xforms/model.cxx           |    2 +-
 forms/source/xforms/propertysetbase.hxx |    2 +-
 forms/source/xforms/submission.cxx      |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 9503a69514460ccf56cf570e04236b001da13f22
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 29 09:41:35 2016 +0200

    Remove unused template parameter
    
    Change-Id: I3b1f54f88351512cbe2e555f9ca9c1c0dcc2c098

diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx
index 75cd2bb..8b87a99 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 746cce8..dfd1d00 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 eb93d48..8563f0b 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 1f71fa2..7ad6dd8 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()
 {


More information about the Libreoffice-commits mailing list