summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-21 10:33:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-21 10:34:04 +0200
commitfe6c124da752c784c8c9578923a0033a77d3c5b3 (patch)
treeabecf6baf859612cd7255d13588ded9d204da690 /toolkit
parentDemonstrate comphelper::compare is useless (diff)
downloadcore-fe6c124da752c784c8c9578923a0033a77d3c5b3.tar.gz
core-fe6c124da752c784c8c9578923a0033a77d3c5b3.zip
Remove demonstrated-useless comphelper::compare
Change-Id: Ifd1b38afb963255b76f0d821eb46e4c6a972128a
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/helper/property.cxx3
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;
}