diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:09:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 10:52:46 +0200 |
commit | 9045d0bf35c9b4d5f6d8f791017124341abf8d4f (patch) | |
tree | 04c28c25dbabe5a9b1e2bb137abedcbdea6e31d9 /basctl/source/basicide/basicbox.cxx | |
parent | 6d4f97b05b1bfe5aae395134b2dc35805c23b8c4 (diff) |
loplugin: defaultparams
Change-Id: I89796134a0cce33279ba7f02492857a656e8aee3
Diffstat (limited to 'basctl/source/basicide/basicbox.cxx')
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index 4e3982f0eecb..4bb502f8ba5e 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -202,7 +202,7 @@ void LibBox::FillBox() ClearBox(); // create list box entries - sal_Int32 nPos = InsertEntry( OUString( IDEResId( RID_STR_ALL ) ), LISTBOX_APPEND ); + sal_Int32 nPos = InsertEntry( OUString( IDEResId( RID_STR_ALL ) ) ); SetEntryData( nPos, new LibEntry( ScriptDocument::getApplicationScriptDocument(), LIBRARY_LOCATION_UNKNOWN, OUString() ) ); InsertEntries( ScriptDocument::getApplicationScriptDocument(), LIBRARY_LOCATION_USER ); InsertEntries( ScriptDocument::getApplicationScriptDocument(), LIBRARY_LOCATION_SHARE ); @@ -241,7 +241,7 @@ void LibBox::InsertEntries( const ScriptDocument& rDocument, LibraryLocation eLo { OUString aName( rDocument.getTitle( eLocation ) ); OUString aEntryText( CreateMgrAndLibStr( aName, aLibName ) ); - sal_Int32 nPos = InsertEntry( aEntryText, LISTBOX_APPEND ); + sal_Int32 nPos = InsertEntry( aEntryText ); SetEntryData( nPos, new LibEntry( rDocument, eLocation, aLibName ) ); } } |