summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-11 09:00:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-13 13:23:00 +0200
commit349919440b1454eda2de783a0c3e6bd3bae4542b (patch)
treeb342e251509c1dc7fbee7971b98e21362b83b9af /include
parentb2fc2ad7beceaff660de684435a5c37d69cf8ae9 (diff)
tdf#107592 Impress PPS save to ODP slow
Takes the time from 20s to 5s on my PC. Change-Id: Iea7a94ee9fbe068b69a770fd9201e73646be59b9 Reviewed-on: https://gerrit.libreoffice.org/72140 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/anycompare.hxx4
-rw-r--r--include/xmloff/xmlexppr.hxx8
2 files changed, 10 insertions, 2 deletions
diff --git a/include/comphelper/anycompare.hxx b/include/comphelper/anycompare.hxx
index dd92d2734ca2..8b5a941a781c 100644
--- a/include/comphelper/anycompare.hxx
+++ b/include/comphelper/anycompare.hxx
@@ -205,6 +205,10 @@ namespace comphelper
css::uno::Reference< css::i18n::XCollator > const & i_collator
);
+ /**
+ Compare two Anys.
+ */
+ bool COMPHELPER_DLLPUBLIC anyLess( css::uno::Any const & lhs, css::uno::Any const & rhs);
} // namespace comphelper
diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx
index 28be918474ee..84d2d60c2fb5 100644
--- a/include/xmloff/xmlexppr.hxx
+++ b/include/xmloff/xmlexppr.hxx
@@ -124,10 +124,14 @@ public:
std::vector<XMLPropertyState> FilterDefaults(
const css::uno::Reference<css::beans::XPropertySet>& rPropSet ) const;
- /** Compare to arrays of XMLPropertyState */
- bool Equals( const ::std::vector< XMLPropertyState >& aProperties1,
+ /** Provides a partial ordering over two arrays of XMLPropertyState,
+ Partial because implementing a full order requires quite a lot of code. */
+ bool LessPartial( const ::std::vector< XMLPropertyState >& aProperties1,
const ::std::vector< XMLPropertyState >& aProperties2 ) const;
+ /** Compare two arrays of XMLPropertyState */
+ bool Equals( const ::std::vector< XMLPropertyState >& aProperties1,
+ const ::std::vector< XMLPropertyState >& aProperties2 ) const;
void exportXML(
SvXMLExport& rExport,
const ::std::vector< XMLPropertyState >& rProperties,