[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 21 07:46:15 UTC 2019
include/sfx2/docfile.hxx | 2 +-
sfx2/source/doc/docfile.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9aadd633eae3d31cf28a116c60bfbc844afcadb8
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Fri Oct 18 16:45:16 2019 +0200
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Oct 21 09:45:12 2019 +0200
Fix parameter name
Change-Id: Ic82e0806c4654dedf615e12ddbd000cc709527e8
Reviewed-on: https://gerrit.libreoffice.org/81199
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index cc984157e5c1..bff1a8b3b74b 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -173,7 +173,7 @@ public:
/// Lets Transfer_Impl() not fsync the output file.
void DisableFileSync(bool bDisableFileSync);
- css::uno::Reference< css::embed::XStorage > GetStorage( bool bCreateTempIfNo = true );
+ css::uno::Reference< css::embed::XStorage > GetStorage( bool bCreateTempFile = true );
css::uno::Reference< css::embed::XStorage > GetOutputStorage();
void ResetError();
[[nodiscard]] bool IsExpired() const;
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index cd88780180f0..7f77ccc924dc 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -1531,7 +1531,7 @@ SfxMedium::LockFileResult SfxMedium::LockOrigFileOnDemand(bool bLoading, bool bN
}
-uno::Reference < embed::XStorage > SfxMedium::GetStorage( bool bCreateTempIfNo )
+uno::Reference < embed::XStorage > SfxMedium::GetStorage( bool bCreateTempFile )
{
if ( pImpl->xStorage.is() || pImpl->m_bTriedStorage )
return pImpl->xStorage;
@@ -1542,7 +1542,7 @@ uno::Reference < embed::XStorage > SfxMedium::GetStorage( bool bCreateTempIfNo )
// to let the MediaDescriptor be filled with the streams
GetMedium_Impl();
- if ( bCreateTempIfNo )
+ if ( bCreateTempFile )
CreateTempFile( false );
GetMedium_Impl();
More information about the Libreoffice-commits
mailing list