Kaydet (Commit) e7447790 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

ISO C++ forbids in-class initialization of non-const static member 'nRet'

Change-Id: Ia2bfaff2a284c2ea40198f1152716860d5963482
üst e6bd33d4
...@@ -116,7 +116,7 @@ public: ...@@ -116,7 +116,7 @@ public:
virtual int Main() SAL_OVERRIDE; virtual int Main() SAL_OVERRIDE;
private: private:
int nRet = EXIT_SUCCESS; int nRet;
void DoItWithVcl(std::vector<OUString>& aImageFiles); void DoItWithVcl(std::vector<OUString>& aImageFiles);
void DoItWithOpenGL(std::vector<OUString>& aImageFiles); void DoItWithOpenGL(std::vector<OUString>& aImageFiles);
...@@ -124,6 +124,8 @@ private: ...@@ -124,6 +124,8 @@ private:
void IconTestApp::Init() void IconTestApp::Init()
{ {
nRet = EXIT_SUCCESS;
uno::Reference<uno::XComponentContext> xContext = uno::Reference<uno::XComponentContext> xContext =
cppu::defaultBootstrap_InitialComponentContext(); cppu::defaultBootstrap_InitialComponentContext();
uno::Reference<lang::XMultiComponentFactory> xFactory = uno::Reference<lang::XMultiComponentFactory> xFactory =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment