Code quality fixes (NullReference checks, unused variables etc)

This commit is contained in:
RKrom 2014-04-26 00:34:06 +02:00
commit ac08533727
99 changed files with 1252 additions and 1312 deletions

View file

@ -35,7 +35,7 @@ namespace Greenshot.Memento {
public SurfaceBackgroundChangeMemento(Surface surface, Point offset) {
this.surface = surface;
this.image = surface.Image;
image = surface.Image;
this.offset = new Point(-offset.X, -offset.Y);
}