vcl/source/pdf/pdfwriterimpl_utils.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 30ec2461263b0cfca55384cde65018b487a0c071
Author:     Christopher Sherlock <[email protected]>
AuthorDate: Fri Sep 19 01:38:19 2025 +1000
Commit:     Michael Weghorn <[email protected]>
CommitDate: Mon Nov 10 09:06:55 2025 +0100

    vcl: rename aHighValue to nHighValue and make const
    
    Change-Id: Ibfa42aff7e9ebd3eaadf6a650c26e5c9e648c712
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191148
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <[email protected]>

diff --git a/vcl/source/pdf/pdfwriterimpl_utils.cxx 
b/vcl/source/pdf/pdfwriterimpl_utils.cxx
index ad8b3aefe191..c553618942db 100644
--- a/vcl/source/pdf/pdfwriterimpl_utils.cxx
+++ b/vcl/source/pdf/pdfwriterimpl_utils.cxx
@@ -78,9 +78,11 @@ void appendDestinationName( std::u16string_view rString, 
OStringBuffer& rBuffer
         }
         else
         {
-            sal_Int8 aValueHigh = sal_Int8(aChar >> 8);
-            if(aValueHigh > 0)
-                COSWriter::appendHex(aValueHigh, rBuffer);
+            const sal_Int8 nValueHigh = sal_Int8(aChar >> 8);
+
+            if (nValueHigh > 0)
+                COSWriter::appendHex(nValueHigh, rBuffer);
+
             COSWriter::appendHex(static_cast<sal_Int8>(aChar & 255 ), rBuffer);
         }
     }

Reply via email to