summaryrefslogtreecommitdiff
path: root/embedserv/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:40:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:40:50 +0000
commit973705d784ad7e326c8d98c7813c4630a98fdd5c (patch)
tree1914a1f1bd2666905eeca117570dd9a8cd5420c0 /embedserv/source
parentf1708a4f36a7149a24287b24a85dba59ccaafd52 (diff)
INTEGRATION: CWS warnings01 (1.2.50); FILE MERGED
2006/05/24 01:12:44 sb 1.2.50.2: RESYNC: (1.2-1.3); FILE MERGED 2006/02/20 15:31:45 cd 1.2.50.1: #i55991# Warning free code for Windows C++ compiler
Diffstat (limited to 'embedserv/source')
-rw-r--r--embedserv/source/embed/iipaobj.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/embedserv/source/embed/iipaobj.cxx b/embedserv/source/embed/iipaobj.cxx
index 52ddae560..1759dea5e 100644
--- a/embedserv/source/embed/iipaobj.cxx
+++ b/embedserv/source/embed/iipaobj.cxx
@@ -94,3 +94,10 @@ STDMETHODIMP CIIAObj::EnableModeless(BOOL)
{
return NOERROR;
}
+
+// Fix strange warnings about some
+// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
+// warning C4505: 'xxx' : unreferenced local function has been removed
+#if defined(_MSC_VER)
+#pragma warning(disable: 4505)
+#endif