summaryrefslogtreecommitdiff
path: root/vcl/workben/svpclient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svpclient.cxx')
-rw-r--r--vcl/workben/svpclient.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index 2396c6fa69f2..5d7cf8b9aae8 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -91,6 +91,8 @@ SAL_IMPLEMENT_MAIN()
return 0;
}
+namespace {
+
class MyWin : public WorkWindow
{
VclPtr<PushButton> m_aListButton;
@@ -112,6 +114,8 @@ public:
DECL_STATIC_LINK( MyWin, QuitHdl, Button*, void );
};
+}
+
void Main()
{
ScopedVclPtrInstance< MyWin > aMainWin( nullptr, WB_STDWORK );