summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-01-20 21:02:35 +0100
committerAndras Timar <andras.timar@collabora.com>2022-02-14 12:09:32 +0100
commit1335259c7eb7362e4f7bb78e77b6110f08f1305e (patch)
tree273842f724ef40aae17cc4f8aeb3413ce424b8f4 /include
parent4dd761b6a7e76bd1f6a13a44a0cb020b8312c773 (diff)
comphelper: move JsonToPropertyValues() from desktop/
Because filter/ code will need this in a bit, and that can't depend on desktop/. Change-Id: I07f0f8ef30942a2d11388c6721c7f277e117bfba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128709 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/propertysequence.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/comphelper/propertysequence.hxx b/include/comphelper/propertysequence.hxx
index 2c143aa9ed7a..e788f56f428f 100644
--- a/include/comphelper/propertysequence.hxx
+++ b/include/comphelper/propertysequence.hxx
@@ -13,10 +13,14 @@
#include <utility>
#include <algorithm>
#include <initializer_list>
+#include <vector>
+
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
+#include <comphelper/comphelperdllapi.h>
+
namespace comphelper
{
/// Init list for property sequences.
@@ -48,6 +52,8 @@ namespace comphelper
});
return vResult;
}
+
+ COMPHELPER_DLLPUBLIC std::vector<css::beans::PropertyValue> JsonToPropertyValues(const OString& rJson);
} // namespace comphelper