summaryrefslogtreecommitdiff
path: root/vcl/workben/svptest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r--vcl/workben/svptest.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 72ff179821a8..06937d2255ed 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -82,6 +82,8 @@ SAL_IMPLEMENT_MAIN()
return 0;
}
+namespace {
+
class MyWin : public WorkWindow
{
Bitmap m_aBitmap;
@@ -91,6 +93,8 @@ public:
virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const tools::Rectangle& rRect ) override;
};
+}
+
void Main()
{
ScopedVclPtrInstance< MyWin > aMainWin( nullptr, WB_APP | WB_STDWORK );