diff options
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/macrodlg.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 16 |
6 files changed, 17 insertions, 17 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index cc7c5cb68840..847a1a072d7e 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -311,7 +311,7 @@ void LibBox::NotifyIDE() if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_LIBSELECTED, - SfxCallMode::SYNCHRON, &aDocumentItem, &aLibNameItem, 0L + SfxCallMode::SYNCHRON, &aDocumentItem, &aLibNameItem, 0 ); } ReleaseFocus(); diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 30fa79236e18..288d7edca1da 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -932,7 +932,7 @@ bool TreeListBox::OpenCurrent() ); pDispatcher->Execute( SID_BASICIDE_SHOWSBX, - SfxCallMode::SYNCHRON, &aSbxItem, 0L + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); return true; } diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index f911713648ef..01e0b6db29eb 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -555,7 +555,7 @@ void TabBar::EndRenaming() SfxStringItem aNewName( SID_BASICIDE_ARG_MODULENAME, GetEditText() ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_NAMECHANGEDONTAB, - SfxCallMode::SYNCHRON, &aID, &aNewName, 0L ); + SfxCallMode::SYNCHRON, &aID, &aNewName, 0 ); } } diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index e2affdcb10cb..c4a5fa403344 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -678,7 +678,7 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void ) SfxGetpApp()->ExecuteSlot( aRequest ); if (SfxDispatcher* pDispatcher = GetDispatcher()) - pDispatcher->Execute( SID_BASICIDE_EDITMACRO, SfxCallMode::ASYNCHRON, &aInfoItem, 0L ); + pDispatcher->Execute( SID_BASICIDE_EDITMACRO, SfxCallMode::ASYNCHRON, &aInfoItem, 0 ); EndDialog(Macro_Edit); } else @@ -688,7 +688,7 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void ) DeleteMacro(); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_UPDATEMODULESOURCE, - SfxCallMode::SYNCHRON, &aInfoItem, 0L ); + SfxCallMode::SYNCHRON, &aInfoItem, 0 ); CheckButtons(); UpdateFields(); //if ( m_pMacroBox->GetCurEntry() ) // OV-Bug ? @@ -714,7 +714,7 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void ) SfxGetpApp()->ExecuteSlot( aRequest ); if (SfxDispatcher* pDispatcher = GetDispatcher()) - pDispatcher->Execute( SID_BASICIDE_EDITMACRO, SfxCallMode::ASYNCHRON, &aInfoItem, 0L ); + pDispatcher->Execute( SID_BASICIDE_EDITMACRO, SfxCallMode::ASYNCHRON, &aInfoItem, 0 ); StoreMacroDescription(); EndDialog(Macro_New); } diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 37cabb5b7db4..64e45e22f6cf 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -632,7 +632,7 @@ IMPL_LINK_TYPED( LibPage, ButtonHdl, Button *, pButton, void ) SfxStringItem aLibNameItem( SID_BASICIDE_ARG_LIBNAME, aLibName ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_LIBSELECTED, - SfxCallMode::ASYNCHRON, &aDocItem, &aLibNameItem, 0L ); + SfxCallMode::ASYNCHRON, &aDocItem, &aLibNameItem, 0 ); EndTabDialog( 1 ); return; } @@ -1356,7 +1356,7 @@ void LibPage::DeleteCurrent() SfxStringItem aLibNameItem( SID_BASICIDE_ARG_LIBNAME, aLibName ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_LIBREMOVED, - SfxCallMode::SYNCHRON, &aDocItem, &aLibNameItem, 0L ); + SfxCallMode::SYNCHRON, &aDocItem, &aLibNameItem, 0 ); // remove library from module and dialog library containers if ( xModLibContainer.is() && xModLibContainer->hasByName( aOULibName ) ) @@ -1535,7 +1535,7 @@ void createLibImpl( vcl::Window* pWin, const ScriptDocument& rDocument, SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, rDocument, aLibName, aModName, TYPE_MODULE ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_SBXINSERTED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); if( pBasicBox ) { diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 894613d2d9b0..1285300f9ac5 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -122,7 +122,7 @@ bool ExtTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewT { SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, rNewText, ConvertType( eType ) ); pDispatcher->Execute( SID_BASICIDE_SBXRENAMED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); } // OV-Bug?! @@ -355,7 +355,7 @@ TriState ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi { SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, rSourceDoc, aSourceLibName, aSourceName, ConvertType( eType ) ); pDispatcher->Execute( SID_BASICIDE_SBXDELETED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); } } @@ -447,7 +447,7 @@ TriState ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi { SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, rDestDoc, aDestLibName, aSourceName, ConvertType( eType ) ); pDispatcher->Execute( SID_BASICIDE_SBXINSERTED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); } } @@ -717,7 +717,7 @@ IMPL_LINK_TYPED( ObjectPage, ButtonHdl, Button *, pButton, void ) } SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDesc.GetDocument(), aDesc.GetLibName(), aModName, TreeListBox::ConvertType( aDesc.GetType() ) ); - pDispatcher->Execute( SID_BASICIDE_SHOWSBX, SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + pDispatcher->Execute( SID_BASICIDE_SHOWSBX, SfxCallMode::SYNCHRON, &aSbxItem, 0 ); } } else // Nur Lib selektiert @@ -736,7 +736,7 @@ IMPL_LINK_TYPED( ObjectPage, ButtonHdl, Button *, pButton, void ) SfxStringItem aLibNameItem( SID_BASICIDE_ARG_LIBNAME, aLibName ); if ( pDispatcher ) { - pDispatcher->Execute( SID_BASICIDE_LIBSELECTED, SfxCallMode::ASYNCHRON, &aDocItem, &aLibNameItem, 0L ); + pDispatcher->Execute( SID_BASICIDE_LIBSELECTED, SfxCallMode::ASYNCHRON, &aDocItem, &aLibNameItem, 0 ); } } EndTabDialog( 1 ); @@ -842,7 +842,7 @@ void ObjectPage::NewDialog() SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, aDlgName, TYPE_DIALOG ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_SBXINSERTED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); LibraryLocation eLocation = aDocument.getLibraryLocation( aLibName ); SvTreeListEntry* pRootEntry = m_pBasicBox->FindRootEntry( aDocument, eLocation ); if ( pRootEntry ) @@ -897,7 +897,7 @@ void ObjectPage::DeleteCurrent() { SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, aDocument, aLibName, aName, TreeListBox::ConvertType( eType ) ); pDispatcher->Execute( SID_BASICIDE_SBXDELETED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); } try @@ -999,7 +999,7 @@ SbModule* createModImpl( vcl::Window* pWin, const ScriptDocument& rDocument, SbxItem aSbxItem( SID_BASICIDE_ARG_SBX, rDocument, aLibName, aModName, TYPE_MODULE ); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_SBXINSERTED, - SfxCallMode::SYNCHRON, &aSbxItem, 0L ); + SfxCallMode::SYNCHRON, &aSbxItem, 0 ); LibraryLocation eLocation = rDocument.getLibraryLocation( aLibName ); SvTreeListEntry* pRootEntry = rBasicBox.FindRootEntry( rDocument, eLocation ); if ( pRootEntry ) |