summaryrefslogtreecommitdiff
path: root/stoc/source/typeconv/convert.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-01 14:24:26 +0200
committerNoel Grandin <noel@peralex.com>2015-04-02 09:38:29 +0200
commit1a18cafecb06a76e872f5f1a9434160ea8ffd881 (patch)
tree192d5fc8c69eca2f8ead62b2678c37a4c6acd515 /stoc/source/typeconv/convert.cxx
parentaa1b911b64641bbf29991af7c6f7798739aba667 (diff)
loplugin:staticmethods
Change-Id: I3ae555fd9f0dc3c11ea301ee1cb2c799fbec820d
Diffstat (limited to 'stoc/source/typeconv/convert.cxx')
-rw-r--r--stoc/source/typeconv/convert.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx
index 426cc0525441..7b013674f996 100644
--- a/stoc/source/typeconv/convert.cxx
+++ b/stoc/source/typeconv/convert.cxx
@@ -240,10 +240,10 @@ static bool getHyperValue( sal_Int64 & rnVal, const OUString & rStr )
class TypeConverter_Impl : public WeakImplHelper2< XTypeConverter, XServiceInfo >
{
// ...misc helpers...
- sal_Int64 toHyper(
+ static sal_Int64 toHyper(
const Any& rAny, sal_Int64 min = SAL_INT64_MIN, sal_uInt64 max = SAL_UINT64_MAX )
throw( CannotConvertException );
- double toDouble( const Any& rAny, double min = -DBL_MAX, double max = DBL_MAX ) const
+ static double toDouble( const Any& rAny, double min = -DBL_MAX, double max = DBL_MAX )
throw( CannotConvertException );
public:
@@ -404,7 +404,7 @@ sal_Int64 TypeConverter_Impl::toHyper( const Any& rAny, sal_Int64 min, sal_uInt6
}
-double TypeConverter_Impl::toDouble( const Any& rAny, double min, double max ) const
+double TypeConverter_Impl::toDouble( const Any& rAny, double min, double max )
throw( CannotConvertException )
{
double fRet;