Kaydet (Commit) 5051b6ed authored tarafından Lubos Lunak's avatar Lubos Lunak

PCH for Library_dbu

üst 9bb21aea
...@@ -35,6 +35,8 @@ $(eval $(call gb_Library_set_include,dbu,\ ...@@ -35,6 +35,8 @@ $(eval $(call gb_Library_set_include,dbu,\
-I$(call gb_SrsTemplateTarget_get_include_dir,dbaccess) \ -I$(call gb_SrsTemplateTarget_get_include_dir,dbaccess) \
)) ))
$(eval $(call gb_Library_set_precompiled_header,dbu,$(SRCDIR)/dbaccess/inc/pch/precompiled_dbu))
$(eval $(call gb_Library_use_sdk_api,dbu)) $(eval $(call gb_Library_use_sdk_api,dbu))
$(eval $(call gb_Library_add_defs,dbu,\ $(eval $(call gb_Library_add_defs,dbu,\
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "precompiled_dbu.hxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This diff is collapsed.
...@@ -49,7 +49,7 @@ namespace dbaui ...@@ -49,7 +49,7 @@ namespace dbaui
OutputDevice* m_pDev; OutputDevice* m_pDev;
public: public:
ColorChanger( OutputDevice* _pDev, const Color& _rNewLineColor, const Color& _rNewFillColor ) ColorChanger( OutputDevice* _pDev, const ::Color& _rNewLineColor, const ::Color& _rNewFillColor )
:m_pDev( _pDev ) :m_pDev( _pDev )
{ {
m_pDev->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR ); m_pDev->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR );
......
...@@ -311,7 +311,7 @@ void SAL_CALL SbaTableQueryBrowser::disposing() ...@@ -311,7 +311,7 @@ void SAL_CALL SbaTableQueryBrowser::disposing()
// doin' a lot of VCL stuff here -> lock the SolarMutex // doin' a lot of VCL stuff here -> lock the SolarMutex
// kiss our listeners goodbye // kiss our listeners goodbye
EventObject aEvt(*this); com::sun::star::lang::EventObject aEvt(*this);
m_aSelectionListeners.disposeAndClear(aEvt); m_aSelectionListeners.disposeAndClear(aEvt);
m_aContextMenuInterceptors.disposeAndClear(aEvt); m_aContextMenuInterceptors.disposeAndClear(aEvt);
...@@ -1390,7 +1390,7 @@ void SbaTableQueryBrowser::implCheckExternalSlot( sal_uInt16 _nId ) ...@@ -1390,7 +1390,7 @@ void SbaTableQueryBrowser::implCheckExternalSlot( sal_uInt16 _nId )
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void SAL_CALL SbaTableQueryBrowser::disposing( const EventObject& _rSource ) throw(RuntimeException) void SAL_CALL SbaTableQueryBrowser::disposing( const com::sun::star::lang::EventObject& _rSource ) throw(RuntimeException)
{ {
// our frame ? // our frame ?
Reference< ::com::sun::star::frame::XFrame > xSourceFrame(_rSource.Source, UNO_QUERY); Reference< ::com::sun::star::frame::XFrame > xSourceFrame(_rSource.Source, UNO_QUERY);
...@@ -1684,7 +1684,7 @@ void SbaTableQueryBrowser::LoadFinished(sal_Bool _bWasSynch) ...@@ -1684,7 +1684,7 @@ void SbaTableQueryBrowser::LoadFinished(sal_Bool _bWasSynch)
} }
// if the form has been loaded, this means that our "selection" has changed // if the form has been loaded, this means that our "selection" has changed
EventObject aEvent( *this ); com::sun::star::lang::EventObject aEvent( *this );
m_aSelectionListeners.notifyEach( &XSelectionChangeListener::selectionChanged, aEvent ); m_aSelectionListeners.notifyEach( &XSelectionChangeListener::selectionChanged, aEvent );
} }
......
...@@ -974,8 +974,8 @@ sal_Bool ODbTypeWizDialogSetup::SaveDatabaseDocument() ...@@ -974,8 +974,8 @@ sal_Bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
void doLoadAsync(); void doLoadAsync();
// XTerminateListener // XTerminateListener
virtual void SAL_CALL queryTermination( const EventObject& Event ) throw (TerminationVetoException, RuntimeException); virtual void SAL_CALL queryTermination( const com::sun::star::lang::EventObject& Event ) throw (TerminationVetoException, RuntimeException);
virtual void SAL_CALL notifyTermination( const EventObject& Event ) throw (RuntimeException); virtual void SAL_CALL notifyTermination( const com::sun::star::lang::EventObject& Event ) throw (RuntimeException);
// XEventListener // XEventListener
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
...@@ -1056,17 +1056,17 @@ sal_Bool ODbTypeWizDialogSetup::SaveDatabaseDocument() ...@@ -1056,17 +1056,17 @@ sal_Bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
} }
// ............................................................................. // .............................................................................
void SAL_CALL AsyncLoader::queryTermination( const EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException) void SAL_CALL AsyncLoader::queryTermination( const com::sun::star::lang::EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException)
{ {
throw TerminationVetoException(); throw TerminationVetoException();
} }
// ............................................................................. // .............................................................................
void SAL_CALL AsyncLoader::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException) void SAL_CALL AsyncLoader::notifyTermination( const com::sun::star::lang::EventObject& /*Event*/ ) throw (RuntimeException)
{ {
} }
// ............................................................................. // .............................................................................
void SAL_CALL AsyncLoader::disposing( const EventObject& /*Source*/ ) throw (RuntimeException) void SAL_CALL AsyncLoader::disposing( const com::sun::star::lang::EventObject& /*Source*/ ) throw (RuntimeException)
{ {
} }
} }
......
...@@ -54,6 +54,7 @@ namespace dbaui ...@@ -54,6 +54,7 @@ namespace dbaui
namespace namespace
{ {
//---------------------------------------------------------------- //----------------------------------------------------------------
#undef UNOTYPE
template < class ITEMTYPE, class UNOTYPE > template < class ITEMTYPE, class UNOTYPE >
class ItemAdapter class ItemAdapter
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment