summaryrefslogtreecommitdiffstats
path: root/forms/source/component/spinbutton.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-14 23:17:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-14 23:18:57 +0200
commitc288b17cc5a1d5051325e02a29aa40df5be6f016 (patch)
treea18b17b49cd5917c456fc2e0c1697fdbbb273195 /forms/source/component/spinbutton.cxx
parentfix windows build (diff)
downloadcore-c288b17cc5a1d5051325e02a29aa40df5be6f016.tar.gz
core-c288b17cc5a1d5051325e02a29aa40df5be6f016.zip
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r--forms/source/component/spinbutton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index 14f0efa80389..a006e9667919 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -253,7 +253,7 @@ namespace frm
Sequence< Type > OSpinButtonModel::getSupportedBindingTypes()
{
- return Sequence< Type >( &::getCppuType( static_cast< double* >( NULL ) ), 1 );
+ return Sequence< Type >( &cppu::UnoType<double>::get(), 1 );
}