sc/source/core/tool/chgtrack.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2a62fe6a6b774687f1c699e7df2b84c0f217c0e6
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Nov 19 16:03:36 2025 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Wed Nov 19 19:07:21 2025 +0100

    Drop unnecessary casts
    
    ...that should arguably have been dropped latest when
    86313f053315cd0ba896e494d7bac14d2279c9b4 "loplugin:stringadd in sc" changed 
this
    from using OUStringBuffer::append to OUString::number
    
    Change-Id: I5d6a76e4b7a83e3f998bb2295b1399f62447a70f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194209
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 237645e98151..ab18add226a2 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -506,8 +506,8 @@ OUString ScChangeAction::GetRefString(
                     rDoc.GetName( aTmpRange.aStart.Tab(), aTmp );
                     aBuf.append(aTmp + ".");
                 }
-                
aBuf.append(OUString::number(static_cast<sal_Int64>(aTmpRange.aStart.Row())+1)
-                    + ":" + 
OUString::number(static_cast<sal_Int64>(aTmpRange.aEnd.Row())+1));
+                aBuf.append(OUString::number(aTmpRange.aStart.Row()+1)
+                    + ":" + OUString::number(aTmpRange.aEnd.Row()+1));
             break;
             default:
             {

Reply via email to