aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Office.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/Office.php')
-rw-r--r--lib/private/Preview/Office.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Office.php b/lib/private/Preview/Office.php
index 6717584e887..3ba7c5a21a0 100644
--- a/lib/private/Preview/Office.php
+++ b/lib/private/Preview/Office.php
@@ -71,7 +71,7 @@ abstract class Office extends ProviderV2 {
[$dirname, , , $filename] = array_values(pathinfo($absPath));
$pngPreview = $tmpDir . '/' . $filename . '.png';
- $png = new \imagick($pngPreview . '[0]');
+ $png = new \Imagick($pngPreview . '[0]');
$png->setImageFormat('jpg');
} catch (\Exception $e) {
$this->cleanTmpFiles();