summaryrefslogtreecommitdiff
path: root/vcl/ios
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 13:38:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 14:31:32 +0200
commit77e39d55457385eb1585034e8e461ad9ba77e707 (patch)
tree65251b5ad85da5538f099aad6f50c6b811c3c8b7 /vcl/ios
parent77902a3cb2ab3af542e62253cc9f4dc12e099293 (diff)
use unique_ptr in CreatePrintGraphics
Change-Id: Ib9ca0173f3b5bb090ae71f8622fef717a47e8a2b Reviewed-on: https://gerrit.libreoffice.org/78704 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/ios')
-rw-r--r--vcl/ios/dummies.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/ios/dummies.cxx b/vcl/ios/dummies.cxx
index 0a42b8307887..efc0daae0f86 100644
--- a/vcl/ios/dummies.cxx
+++ b/vcl/ios/dummies.cxx
@@ -37,9 +37,9 @@ OUString SvpSalInstance::GetDefaultPrinter()
return OUString();
}
-GenPspGraphics *SvpSalInstance::CreatePrintGraphics()
+std::unique_ptr<GenPspGraphics> SvpSalInstance::CreatePrintGraphics()
{
- return NULL;
+ return nullptr;
}
void SvpSalInstance::PostPrintersChanged()