summaryrefslogtreecommitdiff
path: root/extensions/source/ole/unoobjw.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/ole/unoobjw.hxx')
-rw-r--r--extensions/source/ole/unoobjw.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/extensions/source/ole/unoobjw.hxx b/extensions/source/ole/unoobjw.hxx
index 603027fccdbf..845724d819ae 100644
--- a/extensions/source/ole/unoobjw.hxx
+++ b/extensions/source/ole/unoobjw.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EXTENSIONS_SOURCE_OLE_UNOOBJW_HXX
-#define INCLUDED_EXTENSIONS_SOURCE_OLE_UNOOBJW_HXX
+#pragma once
#include <com/sun/star/bridge/XBridgeSupplier2.hpp>
#include <com/sun/star/beans/XExactName.hpp>
@@ -41,7 +40,6 @@
#define DISPID_GET_STRUCT_FUNC -102
#define DISPID_CREATE_TYPE_FUNC -103
-using namespace std;
using namespace cppu;
using namespace com::sun::star::bridge;
using namespace com::sun::star::script;
@@ -197,7 +195,7 @@ protected:
Reference<XExactName> m_xExactName;
Reference<XInterface> m_xOrigin;
NameToIdMap m_nameToDispIdMap;
- vector<MemberInfo> m_MemberInfos;
+ std::vector<MemberInfo> m_MemberInfos;
// This member is used to determine the default value
// denoted by DISPID_VALUE (0). For proper results in JavaScript
// we have to return the default value when we write an object
@@ -267,6 +265,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */