Skip to content

Commit

Permalink
Make _zoomScale a private field instead of property.
Browse files Browse the repository at this point in the history
  • Loading branch information
igitur committed Dec 16, 2020
1 parent 20c6acf commit 8c8c27b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ClosedXML/Excel/IXLSheetView.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Keep this file CodeMaid organised and cleaned
using System;

namespace ClosedXML.Excel
Expand Down
5 changes: 3 additions & 2 deletions ClosedXML/Excel/XLSheetView.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// Keep this file CodeMaid organised and cleaned
using System;

namespace ClosedXML.Excel
{
internal class XLSheetView : IXLSheetView
{
private int _zoomScale;

public XLSheetView()
{
View = XLSheetViewOptions.Normal;
Expand Down Expand Up @@ -56,8 +59,6 @@ public int ZoomScale

public int ZoomScaleSheetLayoutView { get; set; }

private int _zoomScale { get; set; }

public void Freeze(Int32 rows, Int32 columns)
{
SplitRow = rows;
Expand Down

0 comments on commit 8c8c27b

Please sign in to comment.