diff options
-rw-r--r-- | embedserv/source/embed/ed_ipersiststr.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/inc/embservconst.h | 6 |
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) |