Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12463


Ignore:
Timestamp:
06/18/15 10:37:09 (9 years ago)
Author:
ascheibe
Message:

#2399 fixed EPPlus so that it compiles on Linux

Location:
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3
Files:
1 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3/ExcelWorkbook.cs

    r12074 r12463  
    337337        {
    338338          var font = Styles.Fonts[0];
     339#if __MonoCS__
     340    _standardFontWidth = (int)(font.Size * (2D / 3D)); //Aprox for Calibri.
     341#else
    339342                    try
    340343                    {
     
    374377                        _standardFontWidth = (int)(font.Size * (2D / 3D)); //Aprox for Calibri.
    375378                    }
     379#endif
    376380        }
    377381        return _standardFontWidth;
Note: See TracChangeset for help on using the changeset viewer.