summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/xwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/embed/xwin.cxx')
-rw-r--r--embedserv/source/embed/xwin.cxx106
1 files changed, 53 insertions, 53 deletions
diff --git a/embedserv/source/embed/xwin.cxx b/embedserv/source/embed/xwin.cxx
index 473647419cb9..38840a7d71f1 100644
--- a/embedserv/source/embed/xwin.cxx
+++ b/embedserv/source/embed/xwin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,7 +38,7 @@ ContainerWindowWrapper::ContainerWindowWrapper(HWND aHwnd)
m_pDisposeEventListeners(0)
{
}
-
+
ContainerWindowWrapper::~ContainerWindowWrapper()
{
delete m_pDisposeEventListeners;
@@ -47,31 +47,31 @@ ContainerWindowWrapper::~ContainerWindowWrapper()
void SAL_CALL
ContainerWindowWrapper::dispose(
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
cppu::OInterfaceContainerHelper *pDisposeEventListeners(0);
-
+
{
osl::MutexGuard aGuard(m_aMutex);
pDisposeEventListeners = m_pDisposeEventListeners;
}
-
+
if(pDisposeEventListeners) {
lang::EventObject aEvt;
aEvt.Source = static_cast< awt::XWindow* >(this);
-
+
pDisposeEventListeners->disposeAndClear(aEvt);
}
}
void SAL_CALL
-ContainerWindowWrapper::addEventListener(
+ContainerWindowWrapper::addEventListener(
const ::com::sun::star::uno::Reference<
- ::com::sun::star::lang::XEventListener >& Listener
+ ::com::sun::star::lang::XEventListener >& Listener
)
throw (
::com::sun::star::uno::RuntimeException
@@ -82,14 +82,14 @@ ContainerWindowWrapper::addEventListener(
osl::MutexGuard aGuard(m_aMutex);
pDisposeEventListeners = m_pDisposeEventListeners;
}
-
+
if(! pDisposeEventListeners)
{
osl::MutexGuard aGuard(m_aMutex);
pDisposeEventListeners = m_pDisposeEventListeners =
new cppu::OInterfaceContainerHelper(m_aMutex);
}
-
+
pDisposeEventListeners->addInterface( Listener );
}
@@ -98,11 +98,11 @@ void SAL_CALL
ContainerWindowWrapper::removeEventListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XEventListener >& Listener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
-{
+{
cppu::OInterfaceContainerHelper *pDisposeEventListeners(0);
{
osl::MutexGuard aGuard(m_aMutex);
@@ -117,15 +117,15 @@ ContainerWindowWrapper::removeEventListener(
// XSystemDependentWindowPeer
::com::sun::star::uno::Any SAL_CALL
-ContainerWindowWrapper::getWindowHandle(
+ContainerWindowWrapper::getWindowHandle(
const ::com::sun::star::uno::Sequence< sal_Int8 >& ProcessId,
sal_Int16 SystemType
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
- if(SystemType == lang::SystemDependent::SYSTEM_WIN32 ||
+ if(SystemType == lang::SystemDependent::SYSTEM_WIN32 ||
SystemType == lang::SystemDependent::SYSTEM_WIN16)
{
uno::Any aAny;
@@ -138,24 +138,24 @@ ContainerWindowWrapper::getWindowHandle(
}
-
+
void SAL_CALL
-ContainerWindowWrapper::setPosSize(
+ContainerWindowWrapper::setPosSize(
sal_Int32 X,
sal_Int32 Y,
- sal_Int32 Width,
- sal_Int32 Height,
+ sal_Int32 Width,
+ sal_Int32 Height,
sal_Int16 Flags
)
throw (
::com::sun::star::uno::RuntimeException)
{
-
+
}
::com::sun::star::awt::Rectangle SAL_CALL
-ContainerWindowWrapper::getPosSize(
-)
+ContainerWindowWrapper::getPosSize(
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -167,7 +167,7 @@ ContainerWindowWrapper::getPosSize(
void SAL_CALL
ContainerWindowWrapper::setVisible(
sal_Bool Visible
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -177,9 +177,9 @@ ContainerWindowWrapper::setVisible(
void SAL_CALL
-ContainerWindowWrapper::setEnable(
+ContainerWindowWrapper::setEnable(
sal_Bool Enable
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -189,7 +189,7 @@ ContainerWindowWrapper::setEnable(
void SAL_CALL
ContainerWindowWrapper::setFocus(
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -198,22 +198,22 @@ ContainerWindowWrapper::setFocus(
}
void SAL_CALL
-ContainerWindowWrapper::addWindowListener(
- const ::com::sun::star::uno::Reference<
+ContainerWindowWrapper::addWindowListener(
+ const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XWindowListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
}
-
+
void SAL_CALL
ContainerWindowWrapper::removeWindowListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XWindowListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -223,10 +223,10 @@ ContainerWindowWrapper::removeWindowListener(
void SAL_CALL
-ContainerWindowWrapper::addFocusListener(
+ContainerWindowWrapper::addFocusListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XFocusListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -234,24 +234,24 @@ ContainerWindowWrapper::addFocusListener(
}
-
+
void SAL_CALL
ContainerWindowWrapper::removeFocusListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XFocusListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
}
-
+
void SAL_CALL
ContainerWindowWrapper::addKeyListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XKeyListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -260,10 +260,10 @@ ContainerWindowWrapper::addKeyListener(
}
void SAL_CALL
-ContainerWindowWrapper::removeKeyListener(
+ContainerWindowWrapper::removeKeyListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XKeyListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
@@ -271,21 +271,21 @@ ContainerWindowWrapper::removeKeyListener(
}
-
+
void SAL_CALL
ContainerWindowWrapper::addMouseListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
-
+
}
+
-
-void SAL_CALL
+void SAL_CALL
ContainerWindowWrapper::removeMouseListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseListener >& xListener
@@ -301,17 +301,17 @@ ContainerWindowWrapper::removeMouseListener(
void SAL_CALL
ContainerWindowWrapper::addMouseMotionListener(
const ::com::sun::star::uno::Reference<
- ::com::sun::star::awt::XMouseMotionListener >& xListener
-)
+ ::com::sun::star::awt::XMouseMotionListener >& xListener
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
}
-
+
void SAL_CALL
-ContainerWindowWrapper::removeMouseMotionListener(
+ContainerWindowWrapper::removeMouseMotionListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseMotionListener >& xListener
)
@@ -326,19 +326,19 @@ void SAL_CALL
ContainerWindowWrapper::addPaintListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XPaintListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)
{
-
+
}
void SAL_CALL
-ContainerWindowWrapper::removePaintListener(
- const ::com::sun::star::uno::Reference<
+ContainerWindowWrapper::removePaintListener(
+ const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XPaintListener >& xListener
-)
+)
throw (
::com::sun::star::uno::RuntimeException
)