summaryrefslogtreecommitdiff
path: root/vcl/workben/olefuzzer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-21 09:39:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-21 09:39:33 +0000
commit4753e83f2e06175c1a02d239bddb6eb03f4c531b (patch)
treedcc7141b308e43b2ba36fbaed0999a78590d75b1 /vcl/workben/olefuzzer.cxx
parent73f81f714c42f0c03290657cbf2116263d0cbc80 (diff)
ofz#891 catch exceptions harder
Change-Id: Ieec895533c8220bb03164489a3e268defb4a8899
Diffstat (limited to 'vcl/workben/olefuzzer.cxx')
-rw-r--r--vcl/workben/olefuzzer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/olefuzzer.cxx b/vcl/workben/olefuzzer.cxx
index b77a70b46c93..ec0d79bfb2ab 100644
--- a/vcl/workben/olefuzzer.cxx
+++ b/vcl/workben/olefuzzer.cxx
@@ -49,10 +49,10 @@ void traverse(const tools::SvRef<SotStorage>& rStorage, std::vector<unsigned cha
void TestImportOLE2(SvStream &rStream, size_t nSize)
{
- tools::SvRef<SotStorage> xRootStorage(new SotStorage(&rStream, false));
- std::vector<unsigned char> aTmpBuf(nSize);
try
{
+ tools::SvRef<SotStorage> xRootStorage(new SotStorage(&rStream, false));
+ std::vector<unsigned char> aTmpBuf(nSize);
traverse(xRootStorage, aTmpBuf);
}
catch (...)