summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/unoobj/dispuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/dispuno.cxx')
-rw-r--r--sc/source/ui/unoobj/dispuno.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/dispuno.cxx b/sc/source/ui/unoobj/dispuno.cxx
index 6c82871d02da..272c9e95b9c3 100644
--- a/sc/source/ui/unoobj/dispuno.cxx
+++ b/sc/source/ui/unoobj/dispuno.cxx
@@ -215,7 +215,7 @@ void SAL_CALL ScDispatchProviderInterceptor::disposing( const lang::EventObject&
ScDispatch::ScDispatch(ScTabViewShell* pViewSh) :
pViewShell( pViewSh ),
- bListeningToView( FALSE )
+ bListeningToView( sal_False )
{
if (pViewShell)
StartListening(*pViewShell);
@@ -249,7 +249,7 @@ void SAL_CALL ScDispatch::dispatch( const util::URL& aURL,
{
ScUnoGuard aGuard;
- BOOL bDone = FALSE;
+ sal_Bool bDone = sal_False;
if ( pViewShell && !aURL.Complete.compareToAscii(cURLInsertColumns) )
{
ScViewData* pViewData = pViewShell->GetViewData();
@@ -321,7 +321,7 @@ void SAL_CALL ScDispatch::addStatusListener(
bListeningToView = sal_True;
}
- ScDBData* pDBData = pViewShell->GetDBData(FALSE,SC_DB_OLD);
+ ScDBData* pDBData = pViewShell->GetDBData(sal_False,SC_DB_OLD);
if ( pDBData )
pDBData->GetImportParam( aLastImport );
lcl_FillDataSource( aEvent, aLastImport ); // modifies State, IsEnabled
@@ -340,8 +340,8 @@ void SAL_CALL ScDispatch::removeStatusListener(
if ( !aURL.Complete.compareToAscii(cURLDocDataSource) )
{
- USHORT nCount = aDataSourceListeners.Count();
- for ( USHORT n=nCount; n--; )
+ sal_uInt16 nCount = aDataSourceListeners.Count();
+ for ( sal_uInt16 n=nCount; n--; )
{
uno::Reference<frame::XStatusListener> *pObj = aDataSourceListeners[n];
if ( *pObj == xListener )
@@ -371,7 +371,7 @@ void SAL_CALL ScDispatch::selectionChanged( const ::com::sun::star::lang::EventO
if ( pViewShell )
{
ScImportParam aNewImport;
- ScDBData* pDBData = pViewShell->GetDBData(FALSE,SC_DB_OLD);
+ ScDBData* pDBData = pViewShell->GetDBData(sal_False,SC_DB_OLD);
if ( pDBData )
pDBData->GetImportParam( aNewImport );
@@ -388,7 +388,7 @@ void SAL_CALL ScDispatch::selectionChanged( const ::com::sun::star::lang::EventO
lcl_FillDataSource( aEvent, aNewImport ); // modifies State, IsEnabled
- for ( USHORT n=0; n<aDataSourceListeners.Count(); n++ )
+ for ( sal_uInt16 n=0; n<aDataSourceListeners.Count(); n++ )
(*aDataSourceListeners[n])->statusChanged( aEvent );
aLastImport = aNewImport;
@@ -407,7 +407,7 @@ void SAL_CALL ScDispatch::disposing( const ::com::sun::star::lang::EventObject&
lang::EventObject aEvent;
aEvent.Source.set(static_cast<cppu::OWeakObject*>(this));
- for ( USHORT n=0; n<aDataSourceListeners.Count(); n++ )
+ for ( sal_uInt16 n=0; n<aDataSourceListeners.Count(); n++ )
(*aDataSourceListeners[n])->disposing( aEvent );
pViewShell = NULL;