[Libreoffice-commits] core.git: framework/source

Stephan Bergmann sbergman at redhat.com
Fri Jun 29 21:16:50 UTC 2018


 framework/source/services/autorecovery.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 084c55f9ddd5dfd2200a8903f83bd8d533d23b74
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 29 15:53:21 2018 +0200

    Improved loplugin:redundantcast (const-qualified typedefs): framework
    
    Change-Id: Ibcceaa03a73926b559a297f62b3d1d2676c9f4f0
    Reviewed-on: https://gerrit.libreoffice.org/56698
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index ddb024be267b..16747d702357 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2000,7 +2000,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn
 
         OUStringBuffer sIDBuf;
         sIDBuf.append(RECOVERY_ITEM_BASE_IDENTIFIER);
-        sIDBuf.append(static_cast<sal_Int32>(rInfo.ID));
+        sIDBuf.append(rInfo.ID);
         OUString sID = sIDBuf.makeStringAndClear();
 
         // remove


More information about the Libreoffice-commits mailing list