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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 2 19:07:38 UTC 2019


 sc/source/ui/vba/vbainterior.cxx |   27 ---------------------------
 1 file changed, 27 deletions(-)

New commits:
commit 1a5850e7c4414a06e1ad5603bf1d4565d3ba3a82
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Dec 2 20:05:41 2019 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Dec 2 20:06:36 2019 +0100

    Following 3471d83f49dcaab2cbbe18521ab1a405f15a0788 (sc/vba)
    
    "Use initializer list instead of using several inserts (sc/vba)"
    I had forgotten to remove the initial commented code
    
    Change-Id: I6b70966e7a446addbfc4d64464047c167efcea71
    Reviewed-on: https://gerrit.libreoffice.org/84264
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx
index 30c651b7a016..1ce5d5241cac 100644
--- a/sc/source/ui/vba/vbainterior.cxx
+++ b/sc/source/ui/vba/vbainterior.cxx
@@ -38,33 +38,6 @@ using namespace ::ooo::vba::excel::XlPattern;
 static const char BACKCOLOR[] = "CellBackColor";
 static const char PATTERN[] = "Pattern";
 static const char PATTERNCOLOR[] = "PatternColor";
-/*
-static PatternMap lcl_getPatternMap()
-{
-    PatternMap aPatternMap;
-    aPatternMap.insert( PatternPair( xlPatternAutomatic, 0 ) );
-    aPatternMap.insert( PatternPair( xlPatternChecker, 9 ) );
-    aPatternMap.insert( PatternPair( xlPatternCrissCross, 16 ) );
-    aPatternMap.insert( PatternPair( xlPatternDown, 7 ) );
-    aPatternMap.insert( PatternPair( xlPatternGray16, 17 ) );
-    aPatternMap.insert( PatternPair( xlPatternGray25, 4 ) );
-    aPatternMap.insert( PatternPair( xlPatternGray50, 2 ) );
-    aPatternMap.insert( PatternPair( xlPatternGray75, 3 ) );
-    aPatternMap.insert( PatternPair( xlPatternGray8, 18 ) );
-    aPatternMap.insert( PatternPair( xlPatternGrid, 15 ) );
-    aPatternMap.insert( PatternPair( xlPatternHorizontal, 5 ) );
-    aPatternMap.insert( PatternPair( xlPatternLightDown, 13 ) );
-    aPatternMap.insert( PatternPair( xlPatternLightHorizontal, 11 ) );
-    aPatternMap.insert( PatternPair( xlPatternLightUp, 14 ) );
-    aPatternMap.insert( PatternPair( xlPatternLightVertical, 12 ) );
-    aPatternMap.insert( PatternPair( xlPatternNone, 0 ) );
-    aPatternMap.insert( PatternPair( xlPatternSemiGray75, 10 ) );
-    aPatternMap.insert( PatternPair( xlPatternSolid, 0 ) );
-    aPatternMap.insert( PatternPair( xlPatternUp, 8 ) );
-    aPatternMap.insert( PatternPair( xlPatternVertical, 6 ) );
-    return aPatternMap;
-}
-*/
 
 static PatternMap aPatternMap {
     { xlPatternAutomatic, 0 },


More information about the Libreoffice-commits mailing list