diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-05-08 12:14:50 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-06-09 10:13:50 +0200 |
commit | bed8c65ca4143f66ec5cfdcc3fb5213f04035220 (patch) | |
tree | aca7ed13707c9863595471714097b50d406389e2 | |
parent | 2b47c5f295589acb18d4404137c6b72d20f019b6 (diff) |
Fix variable name
Change-Id: I307f4bca16cc54de8c049df570ba36c635f4e4d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93713
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | dbaccess/source/core/dataaccess/ModelImpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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); |