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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 4 13:15:34 UTC 2018


 sw/source/core/fields/dbfld.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d93919436f371f1cb7c7fd979a72e6ed157b4691
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Sun Dec 2 12:28:50 2018 +0100
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Tue Dec 4 14:11:44 2018 +0100

    Translate German variable names
    
    Change-Id: Ibaf473a2146fd925b4d8e8ffdbb6f214844a18cc
    Reviewed-on: https://gerrit.libreoffice.org/64424
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/sw/source/core/fields/dbfld.cxx b/sw/source/core/fields/dbfld.cxx
index 6518f9f7b5b5..5078201b9d6d 100644
--- a/sw/source/core/fields/dbfld.cxx
+++ b/sw/source/core/fields/dbfld.cxx
@@ -45,7 +45,7 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star;
 
 /// replace database separator by dots for display
-static OUString lcl_DBTrennConv(const OUString& aContent)
+static OUString lcl_DBSeparatorConvert(const OUString& aContent)
 {
     return aContent.replaceAll(OUStringLiteral1(DB_DELIM), ".");
 }
@@ -209,7 +209,7 @@ void SwDBField::InitContent(const OUString& rExpansion)
 OUString SwDBField::ExpandImpl(SwRootFrame const*const) const
 {
     if(0 ==(GetSubType() & nsSwExtendedSubType::SUB_INVISIBLE))
-        return lcl_DBTrennConv(aContent);
+        return lcl_DBSeparatorConvert(aContent);
     return OUString();
 }
 
@@ -240,7 +240,7 @@ OUString SwDBField::GetFieldName() const
             + OUStringLiteral1(DB_DELIM)
             + rDBName.getToken(2, DB_DELIM);
     }
-    return lcl_DBTrennConv(sContent);
+    return lcl_DBSeparatorConvert(sContent);
 }
 
 void SwDBField::ChgValue( double d, bool bVal )
@@ -481,7 +481,7 @@ OUString SwDBNameInfField::GetFieldName() const
             + OUStringLiteral1(DB_DELIM)
             + aDBData.sCommand;
     }
-    return lcl_DBTrennConv(sStr);
+    return lcl_DBSeparatorConvert(sStr);
 }
 
 bool SwDBNameInfField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const


More information about the Libreoffice-commits mailing list