mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Code quality fixes (NullReference checks, unused variables etc)
This commit is contained in:
parent
6ab6033f85
commit
ac08533727
99 changed files with 1252 additions and 1312 deletions
|
@ -30,11 +30,11 @@ namespace Greenshot.Drawing {
|
|||
[Serializable()]
|
||||
public class ObfuscateContainer : FilterContainer {
|
||||
public ObfuscateContainer(Surface parent) : base(parent) {
|
||||
AddField(GetType(), FieldType.PREPARED_FILTER_OBFUSCATE, FilterContainer.PreparedFilter.PIXELIZE);
|
||||
AddField(GetType(), FieldType.PREPARED_FILTER_OBFUSCATE, PreparedFilter.PIXELIZE);
|
||||
init();
|
||||
}
|
||||
|
||||
[OnDeserializedAttribute()]
|
||||
[OnDeserialized()]
|
||||
private void OnDeserialized(StreamingContext context) {
|
||||
init();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue