diff options
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/tools/ConfigColorScheme.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx index acb42fcfb729..f6bbfe232dd2 100644 --- a/chart2/source/tools/ConfigColorScheme.cxx +++ b/chart2/source/tools/ConfigColorScheme.cxx @@ -151,7 +151,7 @@ void ConfigColorScheme::retrieveConfigColors() 0xff00ff, 0x00ffff, 0xffff00 }; - static const sal_Int32 nMaxDefaultColors = SAL_N_ELEMENTS( nDefaultColors ); + static const sal_Int32 nMaxDefaultColors = std::size( nDefaultColors ); return nDefaultColors[ nIndex % nMaxDefaultColors ]; } |