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 570988aa684..6717584e887 100644
--- a/lib/private/Preview/Office.php
+++ b/lib/private/Preview/Office.php
@@ -83,7 +83,7 @@ abstract class Office extends ProviderV2 {
return null;
}
- $image = new \OC_Image();
+ $image = new \OCP\Image();
$image->loadFromData((string) $png);
$this->cleanTmpFiles();