diff options
Diffstat (limited to 'cppcanvas/qa')
-rw-r--r-- | cppcanvas/qa/extras/emfplus/emfplus.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index c704b4aef005..1b5f86592ccf 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -57,9 +57,9 @@ public: SfxBaseModel* pModel = dynamic_cast<SfxBaseModel*>(mxComponent.get()); CPPUNIT_ASSERT(pModel); SfxObjectShell* pShell = pModel->GetObjectShell(); - boost::shared_ptr<GDIMetaFile> pMetaFile = pShell->GetPreviewMetaFile(); + std::shared_ptr<GDIMetaFile> xMetaFile = pShell->GetPreviewMetaFile(); BitmapEx aResultBitmap; - CPPUNIT_ASSERT(pMetaFile->CreateThumbnail(aResultBitmap)); + CPPUNIT_ASSERT(xMetaFile->CreateThumbnail(aResultBitmap)); // If this is set, the metafile will be dumped as a PNG one for debug purposes. char* pEnv = getenv("CPPCANVAS_DEBUG_EMFPLUS_DUMP_TO"); if (pEnv) |