summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-08-23 09:48:31 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-08-23 09:45:45 +0200
commitc06e4fffd5b1148ba4fad59866ff9efd20e5e3e8 (patch)
tree72d3703e352703ac51f41164f311f949f14674bd /extensions
parent01e3c998e63fbf456e7f624adb1cae3d89ed7bb2 (diff)
Drop obsolete code
Clang also defines _MSC_VER macro. Change-Id: I7e483eb1811a3ce5c78a6721895026d004ca98fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138712 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/SOActionsApproval.cxx4
-rw-r--r--extensions/source/activex/SOComWindowPeer.cxx4
-rw-r--r--extensions/source/activex/SODispatchInterceptor.cxx4
3 files changed, 0 insertions, 12 deletions
diff --git a/extensions/source/activex/SOActionsApproval.cxx b/extensions/source/activex/SOActionsApproval.cxx
index a4092166272b..3ea4ac8dcf33 100644
--- a/extensions/source/activex/SOActionsApproval.cxx
+++ b/extensions/source/activex/SOActionsApproval.cxx
@@ -45,11 +45,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(
for (std::size_t i = 0; i < SAL_N_ELEMENTS(arr); i++)
{
-#ifdef _MSC_VER
if (InlineIsEqualGUID(*arr[i], riid))
-#else
- if (::ATL::InlineIsEqualGUID(*arr[i], riid))
-#endif
return S_OK;
}
return S_FALSE;
diff --git a/extensions/source/activex/SOComWindowPeer.cxx b/extensions/source/activex/SOComWindowPeer.cxx
index 0a556466d32f..dbd2bcc3e662 100644
--- a/extensions/source/activex/SOComWindowPeer.cxx
+++ b/extensions/source/activex/SOComWindowPeer.cxx
@@ -44,11 +44,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(RE
for (std::size_t i = 0; i < SAL_N_ELEMENTS(arr); i++)
{
-#ifdef _MSC_VER
if (InlineIsEqualGUID(*arr[i], riid))
-#else
- if (::ATL::InlineIsEqualGUID(*arr[i], riid))
-#endif
return S_OK;
}
return S_FALSE;
diff --git a/extensions/source/activex/SODispatchInterceptor.cxx b/extensions/source/activex/SODispatchInterceptor.cxx
index f40f6263512d..adffa93fa64c 100644
--- a/extensions/source/activex/SODispatchInterceptor.cxx
+++ b/extensions/source/activex/SODispatchInterceptor.cxx
@@ -48,11 +48,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP SODispatchInterceptor::InterfaceSupportsErrorI
for (std::size_t i=0;i<SAL_N_ELEMENTS(arr);i++)
{
-#ifdef _MSC_VER
if (InlineIsEqualGUID(*arr[i],riid))
-#else
- if (::ATL::InlineIsEqualGUID(*arr[i],riid))
-#endif
return S_OK;
}
return S_FALSE;