diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index f7fe8db551f0..06f020681ff8 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -963,7 +963,7 @@ namespace cppcanvas::internal pChars[3]=pChars[2]=pChars[1]=pChars[0]; ::tools::Long nStrikeoutWidth = (rParms.mrVDev.GetTextWidth( - OUString(pChars, SAL_N_ELEMENTS(pChars))) + 2) / 4; + OUString(pChars, std::size(pChars))) + 2) / 4; if( nStrikeoutWidth <= 0 ) nStrikeoutWidth = 1; |