summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-11 18:31:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-11 18:31:35 +0100
commit6531960ad606f52ec84956c695b1fd40fda1bb35 (patch)
tree0efae81f8a01f31fdd8cfb843109f5dd70c988a3 /embedserv
parentb30b0010c00c0cbfe4bd7e035255a6328ff68dee (diff)
Blind Windows-only fix
Change-Id: I66c2c0262d3b1255ec90c1e4ac6c992c91b4a821
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/ed_ipersiststr.cxx7
-rw-r--r--embedserv/source/inc/embservconst.h6
2 files changed, 7 insertions, 6 deletions
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index f65cd0163065..3ff0ab75b390 100644
--- a/embedserv/source/embed/ed_ipersiststr.cxx
+++ b/embedserv/source/embed/ed_ipersiststr.cxx
@@ -40,11 +40,18 @@
#include <comphelper/processfactory.hxx>
#include <osl/mutex.hxx>
#include <osl/diagnose.h>
+#include <sal/types.h>
#include <string.h>
#define EXT_STREAM_LENGTH 16
+namespace {
+
+const sal_Int32 nConstBufferSize = 32000;
+
+}
+
using namespace ::com::sun::star;
extern ::rtl::OUString getStorageTypeFromGUID_Impl( GUID* guid );
diff --git a/embedserv/source/inc/embservconst.h b/embedserv/source/inc/embservconst.h
index 82b6669dd7c2..9322aef7bab7 100644
--- a/embedserv/source/inc/embservconst.h
+++ b/embedserv/source/inc/embservconst.h
@@ -26,16 +26,10 @@
#include <comphelper/classids.hxx>
#endif
-#ifndef _SAL_TYPES_H_
-#include <sal/types.h>
-#endif
-
#if defined __MINGW32__
#pragma GCC diagnostic warning "-Wmissing-braces"
#endif
-const sal_Int32 nConstBufferSize = 32000;
-
#define SUPPORTED_FACTORIES_NUM 10
#if defined(__MINGW32__) && !defined(INITGUID)