[Libreoffice-commits] core.git: writerfilter/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 27 17:02:46 UTC 2020


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c9c5fd9dce780aa15ad67ae0539e804c6f05dc29
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 27 14:55:32 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Aug 27 19:02:02 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I0fd9d72214c2826b8240ce7629d6e6ca72fb2fad
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101477
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 1ddf7f941956..453e73dc8d94 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -3480,7 +3480,7 @@ std::tuple<OUString, std::vector<OUString>, std::vector<OUString> > splitFieldCo
     return std::make_tuple(sType, arguments, switches);
 }
 
-static OUString lcl_ExctractVariableAndHint( const OUString& rCommand, OUString& rHint )
+static OUString lcl_ExtractVariableAndHint( const OUString& rCommand, OUString& rHint )
 {
     // the first word after "ASK " is the variable
     // the text after the variable and before a '\' is the hint
@@ -4145,7 +4145,7 @@ void DomainMapper_Impl::handleFieldSet
 {
     OUString sVariable, sHint;
 
-    sVariable = lcl_ExctractVariableAndHint(pContext->GetCommand(), sHint);
+    sVariable = lcl_ExtractVariableAndHint(pContext->GetCommand(), sHint);
 
     // remove surrounding "" if exists
     if(sHint.getLength() >= 2)
@@ -4186,7 +4186,7 @@ void DomainMapper_Impl::handleFieldAsk
     //doesn the command contain a variable name?
     OUString sVariable, sHint;
 
-    sVariable = lcl_ExctractVariableAndHint( pContext->GetCommand(),
+    sVariable = lcl_ExtractVariableAndHint( pContext->GetCommand(),
         sHint );
     if(!sVariable.isEmpty())
     {


More information about the Libreoffice-commits mailing list