diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-27 07:51:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-27 07:51:51 +0200 |
commit | 9a741fcad458875a806295ddbd41b68d82ce9095 (patch) | |
tree | 9d8ed908f43b459e221aef8a7d1da4b043ebbe40 /toolkit/source | |
parent | 3c6e378fd81b2bfd8a35e12557a90fa40428920e (diff) |
loplugin:unreffun: also warn about unused function templates
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 31c76bd025e7..d7f8f5d948f8 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1040,19 +1040,6 @@ sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw( return Sequence< OUString >( &sName, 1 ); } - -template <class TYPE> -bool convertType(Any& _rConvertedValue, const Any& _rNewValueTest, const TYPE* /* _pTypeDisambiguation */) -{ - TYPE tValue; - if (_rNewValueTest >>= tValue) - { - _rConvertedValue <<= tValue; - return true; - } -} - - sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); |