From 8fe5161a9e36d8285c489da7167d7cca27cb0f1d Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 1 Aug 2019 21:05:39 +0200 Subject: Fix typos Change-Id: I2238961a7b124652e90e948e27a6ca9d98dc54ac Reviewed-on: https://gerrit.libreoffice.org/76826 Tested-by: Jenkins Reviewed-by: Andrea Gelmini --- writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'writerfilter') diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 7e42d4af1233..64398e1ea2b4 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -4514,7 +4514,7 @@ void DomainMapper_Impl::CloseFieldCommand() if (sURL.startsWith("file:///")) { // file:///absolute\path\to\file => invalid file URI (Writer cannot open) - // convert all blackslashes to slashes: + // convert all backslashes to slashes: sURL = sURL.replace('\\', '/'); } // Try to make absolute any relative URLs, except @@ -4842,7 +4842,7 @@ void DomainMapper_Impl::CloseFieldCommand() OUString::createFromAscii(aIt->second.cFieldServiceName)); uno::Reference< beans::XPropertySet > xTC(xFieldInterface, uno::UNO_QUERY_THROW); - OUString sCmd(pContext->GetCommand());//sCmd is the entire instrText inclusing the index e.g. CITATION Kra06 \l 1033 + OUString sCmd(pContext->GetCommand());//sCmd is the entire instrText including the index e.g. CITATION Kra06 \l 1033 if( !sCmd.isEmpty()){ uno::Sequence aValues( comphelper::InitPropertySequence({ { "Identifier", uno::Any(sCmd) } -- cgit