diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 12:36:21 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:09:03 +0100 |
commit | a0bbb2a1af40e42d02f0f7567580475b3c39e50b (patch) | |
tree | 8f57661f9012d1c7eed81531c2da4601b4773bf6 /dbaccess/source/core/recovery | |
parent | 5fc3273bdbf424d7b15504e05bc8b2460a2668ff (diff) |
targetted SAL_N_ELEMENTS reversion.
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
Diffstat (limited to 'dbaccess/source/core/recovery')
-rw-r--r-- | dbaccess/source/core/recovery/dbdocrecovery.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx index 1490f2a99095..1a4c4580dda5 100644 --- a/dbaccess/source/core/recovery/dbdocrecovery.cxx +++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx @@ -48,7 +48,6 @@ #include <comphelper/namedvaluecollection.hxx> #include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> -#include <sal/macros.h> #include <algorithm> @@ -358,7 +357,7 @@ namespace dbaccess // read the map from sub storages to object names MapCompTypeToCompDescs aMapCompDescs; SubComponentType aKnownTypes[] = { TABLE, QUERY, FORM, REPORT, RELATION_DESIGN }; - for ( size_t i = 0; i < SAL_N_ELEMENTS( aKnownTypes ); ++i ) + for ( size_t i = 0; i < sizeof( aKnownTypes ) / sizeof( aKnownTypes[0] ); ++i ) { if ( !xRecoveryStorage->hasByName( SubComponentRecovery::getComponentsStorageName( aKnownTypes[i] ) ) ) continue; |