Skip to content

Commit

Permalink
direct cast fails render of legacy object codes
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisPercival committed Aug 19, 2024
1 parent 71fa402 commit 29f7b6f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/LittleBlocks.Excel.ClosedXml/DataSheetCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public Guid GetGuidMandatory()
public object Value
{
get => _cell.Value;
set => _cell.Value = (XLCellValue)value;
set => _cell.Value = value.ToString();
}

public bool IsEmpty()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RepositoryUrl>https://github.com/LittleBlocks/LittleBlocks.Excel</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ClosedXML" Version="0.102.2" />
<PackageReference Include="ClosedXML" Version="0.100.3" />
<PackageReference Include="DocumentFormat.OpenXml" Version="2.20.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="System.Drawing.Common" Version="8.0.4" />
Expand Down
1 change: 0 additions & 1 deletion src/LittleBlocks.Excel/IDataSheetCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public interface IDataSheetCell : IDataSheetCellCoordinates
object Value { get; set; }
TValue GetValue<TValue>();
object OriginalCell { get; }

string GetString();
string GetStringOrDefault();
int? GetIntegerOrDefault();
Expand Down

0 comments on commit 29f7b6f

Please sign in to comment.