summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/main/SOActiveX.h2
-rw-r--r--extensions/source/ole/oleobjw.hxx6
2 files changed, 6 insertions, 2 deletions
diff --git a/extensions/source/activex/main/SOActiveX.h b/extensions/source/activex/main/SOActiveX.h
index f7017d582be9..2bf33f96b4e9 100644
--- a/extensions/source/activex/main/SOActiveX.h
+++ b/extensions/source/activex/main/SOActiveX.h
@@ -163,7 +163,7 @@ public:
HRESULT GetUrlStruct( OLECHAR* sUrl, CComPtr<IDispatch>& pdispUrl );
HRESULT Cleanup();
HRESULT TerminateOffice();
- HRESULT CSOActiveX::GetURL( const OLECHAR* url,
+ HRESULT GetURL( const OLECHAR* url,
const OLECHAR* target );
void CallbackCreateXInputStream( CBindStatusCallback<CSOActiveX>* pbsc, BYTE* pBytes, DWORD dwSize );
diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx
index 2addf2f037a7..255d66f46ea8 100644
--- a/extensions/source/ole/oleobjw.hxx
+++ b/extensions/source/ole/oleobjw.hxx
@@ -32,8 +32,10 @@
#define __OLEOBJW_HXX
#include "ole2uno.hxx"
+#ifdef _MSC_VER
#pragma warning (push,1)
#pragma warning (disable:4548)
+#endif
#include <tools/presys.h>
#define _WIN32_WINNT 0x0400
@@ -46,7 +48,9 @@
#include <hash_map>
#include <tools/postsys.h>
+#ifdef _MSC_VER
#pragma warning (pop)
+#endif
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase4.hxx>
@@ -88,7 +92,7 @@ public:
~IUnknownWrapper_Impl();
//XInterface
- Any SAL_CALL IUnknownWrapper_Impl::queryInterface(const Type& t)
+ Any SAL_CALL queryInterface(const Type& t)
throw (RuntimeException);
// XInvokation