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

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 9 08:14:25 UTC 2020


 dbaccess/source/core/dataaccess/ModelImpl.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit bed8c65ca4143f66ec5cfdcc3fb5213f04035220
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Fri May 8 12:14:50 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Jun 9 10:13:50 2020 +0200

    Fix variable name
    
    Change-Id: I307f4bca16cc54de8c049df570ba36c635f4e4d4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93713
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
index 9aa56fe53787..2fae3b051ba6 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
@@ -846,7 +846,7 @@ bool ODatabaseModelImpl::commitStorageIfWriteable_ignoreErrors( const Reference<
     bool bTryToPreserveScriptSignature = false;
     utl::TempFile aTempFile;
     aTempFile.EnableKillingFile();
-    OUString m_sTmpFileUrl = aTempFile.GetURL();
+    OUString sTmpFileUrl = aTempFile.GetURL();
     SignatureState aSignatureState = getScriptingSignatureState();
     if (aSignatureState == SignatureState::OK
         || aSignatureState == SignatureState::NOTVALIDATED
@@ -855,7 +855,7 @@ bool ODatabaseModelImpl::commitStorageIfWriteable_ignoreErrors( const Reference<
         bTryToPreserveScriptSignature = true;
         // We need to first save the file (which removes the macro signature), then add the macro signature again.
         // For that, we need a temporary copy of the original file.
-        osl::File::RC rc = osl::File::copy(getDocFileLocation(), m_sTmpFileUrl);
+        osl::File::RC rc = osl::File::copy(getDocFileLocation(), sTmpFileUrl);
         if (rc != osl::FileBase::E_None)
             throw uno::RuntimeException("Could not create temp file");
     }
@@ -887,9 +887,9 @@ bool ODatabaseModelImpl::commitStorageIfWriteable_ignoreErrors( const Reference<
             {
                 Reference<XStorage> xReadOrig
                     = comphelper::OStorageHelper::GetStorageOfFormatFromURL(
-                        ZIP_STORAGE_FORMAT_STRING, m_sTmpFileUrl, ElementModes::READ);
+                        ZIP_STORAGE_FORMAT_STRING, sTmpFileUrl, ElementModes::READ);
                 if (!xReadOrig.is())
-                    throw uno::RuntimeException("Could not read " + m_sTmpFileUrl);
+                    throw uno::RuntimeException("Could not read " + sTmpFileUrl);
                 uno::Reference<embed::XStorage> xMetaInf
                     = xReadOrig->openStorageElement("META-INF", embed::ElementModes::READ);
 


More information about the Libreoffice-commits mailing list