summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-04-14 08:42:15 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-04-25 09:31:31 +0200
commitda64d198ec3b31318c92ad4bcaab18cc2bf5cfdc (patch)
tree96128ecdbb7c2d6f0065516c0a6a7eb3f454f8e1 /sot
parent9c807f1c8bf529fbed817990e7091335d3425666 (diff)
tools: svstream.hxx needs only errcode.hxx & not errinf.hxx
Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca Reviewed-on: https://gerrit.libreoffice.org/36896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx2
-rw-r--r--sot/source/sdstor/stgcache.hxx2
-rw-r--r--sot/source/sdstor/stgio.cxx2
-rw-r--r--sot/source/sdstor/stgole.cxx2
-rw-r--r--sot/source/sdstor/stgole.hxx1
-rw-r--r--sot/source/sdstor/stgstrms.hxx2
6 files changed, 10 insertions, 1 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index d04ce1719fec..7f4c0fb50157 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -33,6 +33,8 @@
#include "stgio.hxx"
#include "stgole.hxx"
+#include <memory>
+
static long nTmpCount = 0;
// The internal open mode is StreamMode::READ | StreamMode::TRUNC, which is silly
diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx
index 14942e35a760..1a61c89f7d3a 100644
--- a/sot/source/sdstor/stgcache.hxx
+++ b/sot/source/sdstor/stgcache.hxx
@@ -26,6 +26,8 @@
#include <tools/stream.hxx>
#include <stgelem.hxx>
#include <salhelper/simplereferenceobject.hxx>
+
+#include <memory>
#include <unordered_map>
#include <functional>
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index cfb29fd7c7a0..0ed5097dd0ce 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -26,6 +26,8 @@
#include "stgio.hxx"
#include <rtl/instance.hxx>
+#include <memory>
+
///////////////////////////// class StgIo
// This class holds the storage header and all internal streams.
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 077bbb79f4f6..15907d4d8502 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -17,12 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <memory>
#include <algorithm>
#include "rtl/string.h"
#include "stgole.hxx"
#include "sot/storinfo.hxx"
-#include <memory>
#include <sot/exchange.hxx>
#ifdef _MSC_VER
diff --git a/sot/source/sdstor/stgole.hxx b/sot/source/sdstor/stgole.hxx
index 0bdf50397ff6..2c0b057d8eb2 100644
--- a/sot/source/sdstor/stgole.hxx
+++ b/sot/source/sdstor/stgole.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SOT_SOURCE_SDSTOR_STGOLE_HXX
#define INCLUDED_SOT_SOURCE_SDSTOR_STGOLE_HXX
+#include <memory>
#include <string.h>
#include "sot/stg.hxx"
diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx
index d2b8f3062e33..bdd3e8755813 100644
--- a/sot/source/sdstor/stgstrms.hxx
+++ b/sot/source/sdstor/stgstrms.hxx
@@ -22,7 +22,9 @@
#include <tools/stream.hxx>
#include <rtl/ref.hxx>
+
#include <vector>
+#include <memory>
class StgIo;
class StgStrm;