summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-02-01 15:19:55 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-02-10 07:22:21 +0100
commit5cd672ee291f47ff0f5ea9cba828639a41ae40a7 (patch)
treeaf2eae6fd2470ca93f7ee8c43866c6fb0bc245b1 /sfx2
parentea3b18ad18829db26cc32a320af992a1e760d28d (diff)
Fixed function name
It passed "make check" Change-Id: I0828ea2c2531cb970f32581333776f02a46a8d5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129314 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index c5ad72f500ae..4c3dcf140b94 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -3304,7 +3304,7 @@ bool SfxObjectShell::SaveCompletedChildren()
return bResult;
}
-bool SfxObjectShell::SwitchChildrenPersistance( const uno::Reference< embed::XStorage >& xStorage,
+bool SfxObjectShell::SwitchChildrenPersistence( const uno::Reference< embed::XStorage >& xStorage,
bool bForceNonModified )
{
if ( !xStorage.is() )
@@ -3339,7 +3339,7 @@ bool SfxObjectShell::SaveCompleted( const uno::Reference< embed::XStorage >& xSt
if ( pImpl->mxObjectContainer )
GetEmbeddedObjectContainer().SwitchPersistence( xStorage );
- bResult = SwitchChildrenPersistance( xStorage, true );
+ bResult = SwitchChildrenPersistence( xStorage, true );
}
if ( bResult )
@@ -3363,7 +3363,7 @@ bool SfxObjectShell::SaveCompleted( const uno::Reference< embed::XStorage >& xSt
GetEmbeddedObjectContainer().SwitchPersistence( pImpl->m_xDocStorage );
// let already successfully connected objects be switched back
- SwitchChildrenPersistance( pImpl->m_xDocStorage, true );
+ SwitchChildrenPersistence( pImpl->m_xDocStorage, true );
}
if ( bSendNotification )
@@ -3475,7 +3475,7 @@ bool SfxObjectShell::SwitchPersistence( const uno::Reference< embed::XStorage >&
{
if ( pImpl->mxObjectContainer )
GetEmbeddedObjectContainer().SwitchPersistence( xStorage );
- bResult = SwitchChildrenPersistance( xStorage );
+ bResult = SwitchChildrenPersistence( xStorage );
// TODO/LATER: substorages that have unknown mimetypes probably should be copied to the target storage here
OSL_ENSURE( StoragesOfUnknownMediaTypeAreCopied_Impl( pImpl->m_xDocStorage, xStorage ),