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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 25 06:27:37 UTC 2020


 unotools/source/misc/fontcvt.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 094e84bcebd2fb0669e6bfccd0c589e719cbf517
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Sep 24 13:02:12 2020 +0200
Commit:     Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Fri Sep 25 08:27:00 2020 +0200

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

diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 9ea6444363d9..b4bd2c45c852 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1180,7 +1180,7 @@ StarSymbolToMSMultiFontImpl::StarSymbolToMSMultiFontImpl()
     }
 
     //In order of preference
-    static const ExtendedConvertTable aAgressiveTable[] =
+    static const ExtendedConvertTable aAggressiveTable[] =
     {
         ExtendedConvertTable(Symbol, aSymbolExtraTab2,
             sizeof(aSymbolExtraTab2)),
@@ -1193,11 +1193,11 @@ StarSymbolToMSMultiFontImpl::StarSymbolToMSMultiFontImpl()
     };
 
      //Allow extra conversions that are not perfect, but "good enough"
-    nEntries = SAL_N_ELEMENTS(aAgressiveTable);
+    nEntries = SAL_N_ELEMENTS(aAggressiveTable);
 
     for (i = 0; i < nEntries; ++i)
     {
-        const ExtendedConvertTable& r = aAgressiveTable[i];
+        const ExtendedConvertTable& r = aAggressiveTable[i];
         SymbolEntry aEntry;
         aEntry.eFont = r.meFont;
         for (int j = r.mnSize / sizeof(r.mpTable[0]) - 1; j >=0; --j)


More information about the Libreoffice-commits mailing list