diff options
Diffstat (limited to 'dtrans/source/win32/dnd')
-rw-r--r-- | dtrans/source/win32/dnd/dndentry.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/dnd/source.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/dnd/dndentry.cxx b/dtrans/source/win32/dnd/dndentry.cxx index 9a06cbc6f3b9..58ec08f45858 100644 --- a/dtrans/source/win32/dnd/dndentry.cxx +++ b/dtrans/source/win32/dnd/dndentry.cxx @@ -30,13 +30,13 @@ using namespace ::com::sun::star::registry ; using namespace ::cppu ; using namespace ::com::sun::star::lang; -Reference< XInterface > createDragSource( const Reference< XMultiServiceFactory >& rServiceManager ) +static Reference< XInterface > createDragSource( const Reference< XMultiServiceFactory >& rServiceManager ) { DragSource* pSource= new DragSource( comphelper::getComponentContext(rServiceManager) ); return Reference<XInterface>( static_cast<XInitialization*>(pSource), UNO_QUERY); } -Reference< XInterface > createDropTarget( const Reference< XMultiServiceFactory >& rServiceManager ) +static Reference< XInterface > createDropTarget( const Reference< XMultiServiceFactory >& rServiceManager ) { DropTarget* pTarget= new DropTarget( comphelper::getComponentContext(rServiceManager) ); return Reference<XInterface>( static_cast<XInitialization*>(pTarget), UNO_QUERY); diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx index 5b1bc1d3d1b3..45337ec764c4 100644 --- a/dtrans/source/win32/dnd/source.cxx +++ b/dtrans/source/win32/dnd/source.cxx @@ -46,7 +46,7 @@ using namespace com::sun::star::awt::MouseButton; using namespace com::sun::star::awt; using namespace com::sun::star::lang; -unsigned __stdcall DndOleSTAFunc(LPVOID pParams); +static unsigned __stdcall DndOleSTAFunc(LPVOID pParams); DragSource::DragSource( const Reference<XComponentContext>& rxContext): WeakComponentImplHelper< XDragSource, XInitialization, XServiceInfo >(m_mutex), |