diff options
author | Aleksas Pantechovskis <alex.pantec@gmail.com> | 2016-03-03 15:43:51 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-04 06:40:33 +0000 |
commit | 57d0caacee2f395be2e89b78f8ece2d47b2c8683 (patch) | |
tree | 5d51c927ad91433c6f76e7a7edb8bb561bfec026 /basctl/source/basicide/moduldlg.cxx | |
parent | f5e131b2bcd2c88a47e5988d5f319bffd767c4dc (diff) |
tdf#96505 Remove long integer literal specifier when not needed
Remove L from integer literals if it does not produce warnings
and does not change semantics
Change-Id: I9573a47d3e3401993a1f0fbcf7df4be20f9e6eba
Reviewed-on: https://gerrit.libreoffice.org/22867
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
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 ) |