summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 15:48:24 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 08:50:38 +0200
commit139f06fb3bc559f7773ddd8ccf15c133eeac7317 (patch)
treed65e80312b72f91a8d1559d762f8aae6833c7363 /xmloff
parent25304f8cd3d70860550a5fe9a0dbc40dd0abff03 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I5aff28a8d241441335d4cede12a013384945aa9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101789 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx4
-rw-r--r--xmloff/source/core/SettingsExportHelper.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index c91499e75605..96313067a491 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -517,11 +517,11 @@ void XMLConfigItemContext::ManipulateConfigItem()
try
{
uno::Reference< uno::XComponentContext > xContext( GetImport().GetComponentContext() );
- uno::Reference< util::XStringSubstitution > xStringSubsitution( util::PathSubstitution::create(xContext) );
+ uno::Reference< util::XStringSubstitution > xStringSubstitution( util::PathSubstitution::create(xContext) );
OUString aURL;
mrAny >>= aURL;
- aURL = xStringSubsitution->substituteVariables( aURL, false );
+ aURL = xStringSubstitution->substituteVariables( aURL, false );
mrAny <<= aURL;
}
catch( uno::Exception& )
diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx
index 853db459e374..fbabfe5df775 100644
--- a/xmloff/source/core/SettingsExportHelper.cxx
+++ b/xmloff/source/core/SettingsExportHelper.cxx
@@ -491,11 +491,11 @@ void XMLSettingsExportHelper::ManipulateSetting( uno::Any& rAny, const OUString&
else if( (rName == gsColorTableURL) || (rName == gsLineEndTableURL) || (rName == gsHatchTableURL) ||
(rName == gsDashTableURL) || (rName == gsGradientTableURL) || (rName == gsBitmapTableURL ) )
{
- if( !mxStringSubsitution.is() )
+ if( !mxStringSubstitution.is() )
{
try
{
- const_cast< XMLSettingsExportHelper* >(this)->mxStringSubsitution =
+ const_cast< XMLSettingsExportHelper* >(this)->mxStringSubstitution =
util::PathSubstitution::create( m_rContext.GetComponentContext() );
}
catch( uno::Exception& )
@@ -504,11 +504,11 @@ void XMLSettingsExportHelper::ManipulateSetting( uno::Any& rAny, const OUString&
}
}
- if( mxStringSubsitution.is() )
+ if( mxStringSubstitution.is() )
{
OUString aURL;
rAny >>= aURL;
- aURL = mxStringSubsitution->reSubstituteVariables( aURL );
+ aURL = mxStringSubstitution->reSubstituteVariables( aURL );
rAny <<= aURL;
}
}