diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2010-10-18 16:41:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@hemulen.(none)> | 2010-10-18 16:41:37 +0300 |
commit | ab1663d2dbba9c07638b673c57014a23f07db6a4 (patch) | |
tree | 5c5bfc479e1b6351bb18deee13d465904c0719d8 /extensions/source/activex | |
parent | 46e3f66f91e0ea1671566ceef39e7706428cc086 (diff) |
Two more SAL_N_ELEMENTS reverts
These files don't seem to use LibreOffice coding style and types
anyway.
Diffstat (limited to 'extensions/source/activex')
-rw-r--r-- | extensions/source/activex/main/SOActionsApproval.cpp | 2 | ||||
-rw-r--r-- | extensions/source/activex/main/SODispatchInterceptor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/activex/main/SOActionsApproval.cpp b/extensions/source/activex/main/SOActionsApproval.cpp index 5eb2fb7cf93e..b795b92fcf76 100644 --- a/extensions/source/activex/main/SOActionsApproval.cpp +++ b/extensions/source/activex/main/SOActionsApproval.cpp @@ -16,7 +16,7 @@ STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid) &IID_ISOActionsApproval, }; - for (int i=0;i<SAL_N_ELEMENTS(arr);i++) + for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++) { #if defined(_MSC_VER) && (_MSC_VER >= 1300) if (InlineIsEqualGUID(*arr[i],riid)) diff --git a/extensions/source/activex/main/SODispatchInterceptor.cpp b/extensions/source/activex/main/SODispatchInterceptor.cpp index 447afe321c0b..5a4455265b97 100644 --- a/extensions/source/activex/main/SODispatchInterceptor.cpp +++ b/extensions/source/activex/main/SODispatchInterceptor.cpp @@ -18,7 +18,7 @@ STDMETHODIMP SODispatchInterceptor::InterfaceSupportsErrorInfo(REFIID riid) &IID_ISODispatchInterceptor, }; - for (int i=0;i<SAL_N_ELEMENTS(arr);i++) + for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++) { #if defined(_MSC_VER) && (_MSC_VER >= 1300) if (InlineIsEqualGUID(*arr[i],riid)) |