vcl/source/pdf/pdfwriterimpl_utils.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 975d2d15e1cb3ebe8e588e77fd2e74f41156cdef Author: Christopher Sherlock <[email protected]> AuthorDate: Fri Sep 19 01:40:15 2025 +1000 Commit: Michael Weghorn <[email protected]> CommitDate: Fri Dec 19 19:27:29 2025 +0100 vcl: declare variables seperately on own lines Change-Id: I27dd89a3a75cfd7b1b52d4982a619d84fcc4020d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191149 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/vcl/source/pdf/pdfwriterimpl_utils.cxx b/vcl/source/pdf/pdfwriterimpl_utils.cxx index c553618942db..3dfbaa91c919 100644 --- a/vcl/source/pdf/pdfwriterimpl_utils.cxx +++ b/vcl/source/pdf/pdfwriterimpl_utils.cxx @@ -95,7 +95,10 @@ void appendFixedInt( sal_Int32 nValue, OStringBuffer& rBuffer ) rBuffer.append( '-' ); nValue = -nValue; } - sal_Int32 nFactor = 1, nDiv = nLog10Divisor; + + sal_Int32 nFactor = 1; + sal_Int32 nDiv = nLog10Divisor; + while( nDiv-- ) nFactor *= 10;
