diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-21 10:33:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-21 10:34:04 +0200 |
commit | fe6c124da752c784c8c9578923a0033a77d3c5b3 (patch) | |
tree | abecf6baf859612cd7255d13588ded9d204da690 /toolkit | |
parent | 5ff8f80a27b08ed6b3c12e354080c6ea1b90b6ee (diff) |
Remove demonstrated-useless comphelper::compare
Change-Id: Ifd1b38afb963255b76f0d821eb46e4c6a972128a
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/helper/property.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/resource/XStringResourceResolver.hpp> #include <com/sun/star/container/XNameContainer.hpp> -#include <comphelper/types.hxx> #include <functional> #include <algorithm> @@ -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; } |