summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optcolor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 31564763122f..101b9e92b606 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -633,7 +633,7 @@ void ColorConfigWindow_Impl::SetAppearance ()
vEntries[i]->SetTextColor(aRCheckCol);
}
- OSL_ENSURE( vEntries.size() >= sizeof vEntryInfo / sizeof vEntryInfo[0], "wrong number of helpIDs for color listboxes" );
+ OSL_ENSURE( vEntries.size() >= SAL_N_ELEMENTS(vEntryInfo), "wrong number of helpIDs for color listboxes" );
// creating a sample color listbox with the color entries
ScopedVclPtrInstance< ColorListBox > aSampleColorList(this);