diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index f8fb47f0a918..23b03e0dd61b 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -839,7 +839,7 @@ void EditorWindow::HandleCodeCompletion() { if( i->tokenType == TT_WHITESPACE ) // a whitespace: stop; if there is no ws, it goes to the beginning of the line break; - if( i->tokenType == TT_IDENTIFIER || i->tokenType == TT_KEYWORDS ) // extract the identifers(methods, base variable) + if( i->tokenType == TT_IDENTIFIER || i->tokenType == TT_KEYWORDS ) // extract the identifiers(methods, base variable) /* an example: Dim aLocVar2 as com.sun.star.beans.PropertyValue * here, aLocVar2.Name, and PropertyValue's Name field is treated as a keyword(?!) * */ diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index b99426439eaf..35a329f8931e 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -84,7 +84,7 @@ void Shell::ExecuteCurrent( SfxRequest& rReq ) SfxItemSet const& rArgs = *rReq.GetArgs(); // unfortunately I don't know the ID: sal_uInt16 nWhich = rArgs.GetWhichByPos( 0 ); - DBG_ASSERT( nWhich, "Wich fuer SearchItem ?" ); + DBG_ASSERT( nWhich, "Which for SearchItem?" ); SfxPoolItem const& rItem = rArgs.Get(nWhich); DBG_ASSERT(dynamic_cast<SvxSearchItem const*>(&rItem), "no searchitem!"); SvxSearchItem const& rSearchItem = static_cast<SvxSearchItem const&>(rItem); |