summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/icontest.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index c043ae03154b..2d0923139b40 100644
--- a/vcl/workben/icontest.cxx
+++ b/vcl/workben/icontest.cxx
@@ -116,7 +116,7 @@ public:
virtual int Main() SAL_OVERRIDE;
private:
- int nRet = EXIT_SUCCESS;
+ int nRet;
void DoItWithVcl(std::vector<OUString>& aImageFiles);
void DoItWithOpenGL(std::vector<OUString>& aImageFiles);
@@ -124,6 +124,8 @@ private:
void IconTestApp::Init()
{
+ nRet = EXIT_SUCCESS;
+
uno::Reference<uno::XComponentContext> xContext =
cppu::defaultBootstrap_InitialComponentContext();
uno::Reference<lang::XMultiComponentFactory> xFactory =