faster PDF file type determination and loading

This commit is contained in:
Paddy Xu
2017-05-22 21:16:21 +03:00
parent 0504dd9b97
commit de8554d2dc
2 changed files with 7 additions and 8 deletions

View File

@@ -185,7 +185,7 @@ namespace QuickLook.Plugin.PDFViewer
ReRenderCurrentPage();
}
public Size GetDesiredControlSizeByFirstPage(string path)
public static Size GetDesiredControlSizeByFirstPage(string path)
{
var tempHandle = new PdfFile(path);