diff options
author | Rob Mensching <rob@firegiant.com> | 2017-10-01 14:26:14 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-10-01 14:26:14 -0700 |
commit | e08086b633b701906ec7bc6246eec3148bc1d9d6 (patch) | |
tree | d1a5bdd1f9d98f9c22ea85fe6d0b1e7a5c81f6a9 /src/WixToolset.Core | |
parent | 39c7e2bb0399802e65a3025c4a73db211e730479 (diff) | |
download | wix-e08086b633b701906ec7bc6246eec3148bc1d9d6.tar.gz wix-e08086b633b701906ec7bc6246eec3148bc1d9d6.tar.bz2 wix-e08086b633b701906ec7bc6246eec3148bc1d9d6.zip |
Minor code cleanup
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r-- | src/WixToolset.Core/Linker.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/WixToolset.Core/Linker.cs b/src/WixToolset.Core/Linker.cs index 166894b9..1e5b6e96 100644 --- a/src/WixToolset.Core/Linker.cs +++ b/src/WixToolset.Core/Linker.cs | |||
@@ -30,7 +30,6 @@ namespace WixToolset | |||
30 | private List<InspectorExtension> inspectorExtensions; | 30 | private List<InspectorExtension> inspectorExtensions; |
31 | private bool sectionIdOnRows; | 31 | private bool sectionIdOnRows; |
32 | private WixActionRowCollection standardActions; | 32 | private WixActionRowCollection standardActions; |
33 | private Localizer localizer; | ||
34 | private Output activeOutput; | 33 | private Output activeOutput; |
35 | private TableDefinitionCollection tableDefinitions; | 34 | private TableDefinitionCollection tableDefinitions; |
36 | 35 | ||
@@ -52,11 +51,7 @@ namespace WixToolset | |||
52 | /// Gets or sets the localizer. | 51 | /// Gets or sets the localizer. |
53 | /// </summary> | 52 | /// </summary> |
54 | /// <value>The localizer.</value> | 53 | /// <value>The localizer.</value> |
55 | public Localizer Localizer | 54 | public Localizer Localizer { get; set; } |
56 | { | ||
57 | get { return this.localizer; } | ||
58 | set { this.localizer = value; } | ||
59 | } | ||
60 | 55 | ||
61 | /// <summary> | 56 | /// <summary> |
62 | /// Gets or sets the path to output unreferenced symbols to. If null or empty, there is no output. | 57 | /// Gets or sets the path to output unreferenced symbols to. If null or empty, there is no output. |
@@ -202,9 +197,9 @@ namespace WixToolset | |||
202 | // now that we know where we're starting from, create the output object | 197 | // now that we know where we're starting from, create the output object |
203 | output = new Output(null); | 198 | output = new Output(null); |
204 | output.EntrySection = find.EntrySection; // Note: this entry section will get added to the Output.Sections collection later | 199 | output.EntrySection = find.EntrySection; // Note: this entry section will get added to the Output.Sections collection later |
205 | if (null != this.localizer && -1 != this.localizer.Codepage) | 200 | if (null != this.Localizer && -1 != this.Localizer.Codepage) |
206 | { | 201 | { |
207 | output.Codepage = this.localizer.Codepage; | 202 | output.Codepage = this.Localizer.Codepage; |
208 | } | 203 | } |
209 | this.activeOutput = output; | 204 | this.activeOutput = output; |
210 | 205 | ||
@@ -1707,7 +1702,7 @@ namespace WixToolset | |||
1707 | int localizedColumnCount = 0; | 1702 | int localizedColumnCount = 0; |
1708 | 1703 | ||
1709 | // if there are localization strings, figure out which columns can be localized in this table | 1704 | // if there are localization strings, figure out which columns can be localized in this table |
1710 | if (null != this.localizer) | 1705 | if (null != this.Localizer) |
1711 | { | 1706 | { |
1712 | for (int i = 0; i < table.Definition.Columns.Count; i++) | 1707 | for (int i = 0; i < table.Definition.Columns.Count; i++) |
1713 | { | 1708 | { |