diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-05 22:49:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 13:04:43 +0100 |
commit | 4b596c2e54dbdf04b6a044487b6a9856a7fedcd0 (patch) | |
tree | bf909cbc207148685715a066a6bfef75aa5cda6f /dbaccess | |
parent | update list (diff) | |
download | core-4b596c2e54dbdf04b6a044487b6a9856a7fedcd0.tar.gz core-4b596c2e54dbdf04b6a044487b6a9856a7fedcd0.zip |
use SAL_N_ELEMENTS
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 8ab98cade86c..99c004bd9ccc 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -583,7 +583,7 @@ sal_Bool SbaTableQueryBrowser::InitializeForm( const Reference< XPropertySet > & PROPERTY_HAVING_CLAUSE, PROPERTY_ORDER }; - for ( size_t i=0; i < sizeof( aTransferProperties ) / sizeof( aTransferProperties[0] ); ++i ) + for (size_t i = 0; i < SAL_N_ELEMENTS(aTransferProperties); ++i) { if ( !xPSI->hasPropertyByName( aTransferProperties[i] ) ) continue; |