summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-27 07:51:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-27 07:51:51 +0200
commit9a741fcad458875a806295ddbd41b68d82ce9095 (patch)
tree9d8ed908f43b459e221aef8a7d1da4b043ebbe40 /toolkit
parentMake these non inline. (diff)
downloadcore-9a741fcad458875a806295ddbd41b68d82ce9095.tar.gz
core-9a741fcad458875a806295ddbd41b68d82ce9095.zip
loplugin:unreffun: also warn about unused function templates
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx13
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() );