summaryrefslogtreecommitdiff
path: root/vcl/source/app/svmain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r--vcl/source/app/svmain.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index e032edcc710f..cd6f3b781823 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -232,6 +232,8 @@ static Application * pOwnSvApp = nullptr;
// Exception handler. pExceptionHandler != NULL => VCL already inited
static oslSignalHandler pExceptionHandler = nullptr;
+namespace {
+
class DesktopEnvironmentContext: public cppu::WeakImplHelper< css::uno::XCurrentContext >
{
public:
@@ -245,6 +247,8 @@ private:
css::uno::Reference< css::uno::XCurrentContext > m_xNextContext;
};
+}
+
uno::Any SAL_CALL DesktopEnvironmentContext::getValueByName( const OUString& Name)
{
uno::Any retVal;
@@ -586,6 +590,8 @@ void DeInitVCL()
EmbeddedFontsHelper::clearTemporaryFontFiles();
}
+namespace {
+
// only one call is allowed
struct WorkerThreadData
{
@@ -598,6 +604,8 @@ struct WorkerThreadData
}
};
+}
+
#ifdef _WIN32
static HANDLE hThreadID = nullptr;
static unsigned __stdcall threadmain( void *pArgs )