diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 12:47:35 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:09:03 +0100 |
commit | b1ca0f247280ca1b7f96fef8c89bc451c38d11af (patch) | |
tree | a40a29d958539ce0a4ae1dac2f8b6dfea5d53138 /sc/source/ui/miscdlgs | |
parent | 5feff80fd2943124568eba07c8cdc465ac201e5d (diff) |
targetted SAL_N_ELEMENTS reversion.
Change-Id: I58636bc87bc17ff2b35621ad554bd05f5c1dab20
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/protectiondlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/protectiondlg.cxx b/sc/source/ui/miscdlgs/protectiondlg.cxx index 2ed31823c4a0..f1defb8404e2 100644 --- a/sc/source/ui/miscdlgs/protectiondlg.cxx +++ b/sc/source/ui/miscdlgs/protectiondlg.cxx @@ -41,7 +41,7 @@ static const ScTableProtection::Option aOptions[] = { ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, }; -static const sal_uInt16 nOptionCount = SAL_N_ELEMENTS(aOptions); +static const sal_uInt16 nOptionCount = sizeof(aOptions) / sizeof (aOptions[0]); ScTableProtectionDlg::ScTableProtectionDlg(Window* pParent) : |