From fe6c124da752c784c8c9578923a0033a77d3c5b3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 21 Aug 2015 10:33:44 +0200 Subject: Remove demonstrated-useless comphelper::compare Change-Id: Ifd1b38afb963255b76f0d821eb46e4c6a972128a --- toolkit/source/helper/property.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toolkit/source') diff --git a/toolkit/source/helper/property.cxx b/toolkit/source/helper/property.cxx index b71916d20b71..2bc88c9fa886 100644 --- a/toolkit/source/helper/property.cxx +++ b/toolkit/source/helper/property.cxx @@ -45,7 +45,6 @@ #include #include #include -#include #include #include @@ -390,7 +389,7 @@ bool DoesDependOnOthers( sal_uInt16 nPropertyId ) bool CompareProperties( const ::com::sun::star::uno::Any& r1, const ::com::sun::star::uno::Any& r2 ) { - return ::comphelper::compare( r1, r2 ); + return r1 == r2; } -- cgit