From f464b3a3caef296d4c13982f4ade63e902a91279 Mon Sep 17 00:00:00 2001 From: RKrom Date: Sun, 7 Oct 2012 12:35:29 +0000 Subject: [PATCH] Fixed refactoring changes for unused plugin. git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2123 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotPhotobucketPlugin/PhotobucketPlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GreenshotPhotobucketPlugin/PhotobucketPlugin.cs b/GreenshotPhotobucketPlugin/PhotobucketPlugin.cs index 4d8f27ab5..27737d0dc 100644 --- a/GreenshotPhotobucketPlugin/PhotobucketPlugin.cs +++ b/GreenshotPhotobucketPlugin/PhotobucketPlugin.cs @@ -111,9 +111,9 @@ namespace GreenshotPhotobucketPlugin { public bool Upload(ICaptureDetails captureDetails, Image image, out string uploadURL) { OutputSettings outputSettings = new OutputSettings(config.UploadFormat, config.UploadJpegQuality, config.UploadReduceColors); using (MemoryStream stream = new MemoryStream()) { - host.SaveToStream(image, stream, outputSettings); + ImageOutput.SaveToStream(image, stream, outputSettings); try { - string filename = Path.GetFileName(host.GetFilename(config.UploadFormat, captureDetails)); + string filename = Path.GetFileName(FilenameHelper.GetFilename(config.UploadFormat, captureDetails)); PhotobucketInfo photobucketInfo = null; // Run upload in the background