diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-06-29 14:40:23 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-18 02:39:11 +0200 |
commit | 061a94ebb244d13e74608de098af49a6d1bf1967 (patch) | |
tree | 666572e0a4f411f16871a5d8f8cd933b0378f81d | |
parent | cb7dadfc099a73414a6d9345f615afcf4f0fe7f0 (diff) |
screenshots: don't leak windows
Change-Id: If39441d6419556d1ae7637626b17b81357d29c38
-rw-r--r-- | sc/qa/unit/screenshots/screenshots.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx index 46a5af28d23e..d331ffa361a3 100644 --- a/sc/qa/unit/screenshots/screenshots.cxx +++ b/sc/qa/unit/screenshots/screenshots.cxx @@ -339,7 +339,7 @@ void ScScreenshotTest::testOpeningModalDialogs() for ( sal_uInt32 i = 0; i < nDialogs; i++ ) { - VclAbstractDialog *pDialog = createDialogByID( i ); + std::unique_ptr<VclAbstractDialog> pDialog( createDialogByID( i ) ); dumpDialogToPath( *pDialog ); } |