summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/databases.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/databases.hxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index f725e74765d0..0e92ecd8393b 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -22,6 +22,7 @@
#include <sal/config.h>
+#include <memory>
#include <set>
#include <unordered_map>
#include <unordered_set>
@@ -179,7 +180,7 @@ namespace chelp {
*/
void cascadingStylesheet( const OUString& Language,
- char** buffer,
+ std::unique_ptr<char[]>& buffer,
int* byteCount );
/**
@@ -195,7 +196,7 @@ namespace chelp {
void setActiveText( const OUString& Module,
const OUString& Language,
const OUString& Id,
- char** buffer,
+ std::unique_ptr<char[]>& buffer,
int* byteCount );
/**