diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 581a9fd7a5bf..73f765e71f16 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -122,7 +122,7 @@ std::u16string_view const cSuffixes = u"%&!#@$"; * Helper functions to get/set text in TextEngine using * the stream interface. * - * get/setText() only supports tools Strings limited to 64K). + * get/setText() only supports tools Strings limited to 64K. */ OUString getTextEngineText (ExtTextEngine& rEngine) { @@ -784,7 +784,7 @@ void EditorWindow::HandleAutoCloseParen() if( aLine.getLength() > 0 && aLine[aSel.GetEnd().GetIndex()-1] != '(' ) { GetEditView()->InsertText(u")"_ustr); - //leave the cursor on its place: inside the parenthesis + //leave the cursor in its place: inside the parenthesis TextPaM aEnd(nLine, aSel.GetEnd().GetIndex()); GetEditView()->SetSelection( TextSelection( aEnd, aEnd ) ); } @@ -805,7 +805,7 @@ void EditorWindow::HandleAutoCloseDoubleQuotes() if( aLine.getLength() > 0 && !aLine.endsWith("\"") && (aPortions.back().tokenType != TokenType::String) ) { GetEditView()->InsertText(u"\""_ustr); - //leave the cursor on its place: inside the two double quotes + //leave the cursor in its place: inside the two double quotes TextPaM aEnd(nLine, aSel.GetEnd().GetIndex()); GetEditView()->SetSelection( TextSelection( aEnd, aEnd ) ); } @@ -2971,7 +2971,7 @@ std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassMethods() const aRetVect.push_back( rMethod->getName() ); } } - return aRetVect;//this is empty when cannot code complete + return aRetVect;//this is empty when it cannot code complete } std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassFields() const @@ -2985,7 +2985,7 @@ std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassFields() const aRetVect.push_back( rxField->getName() ); } } - return aRetVect;//this is empty when cannot code complete + return aRetVect;//this is empty when it cannot code complete } diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index 173538b17d88..a8abaa3c5ea6 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -31,7 +31,7 @@ // enough, if not we need to increase the size of nArgs member in the Methods // struct below. // note: the limitation of 63 args is only for RTL functions defined here and -// does NOT impose a limit on User defined procedures ). This changes is to +// does NOT impose a limit on User defined procedures ). This change is to // allow us space for a flag to denylist some functions in vba mode namespace { @@ -772,9 +772,9 @@ constexpr Method aMethods[] = { arg(u"number", SbxDOUBLE), { u"SLN", SbxDOUBLE, 3 | FUNCTION_ | COMPATONLY_, SbRtl_SLN }, - arg(u"Cost", SbxDOUBLE), - arg(u"Double", SbxDOUBLE), - arg(u"Life", SbxDOUBLE), + arg(u"Cost", SbxDOUBLE), + arg(u"Salvage", SbxDOUBLE), + arg(u"Life", SbxDOUBLE), { u"SYD", SbxDOUBLE, 4 | FUNCTION_ | COMPATONLY_, SbRtl_SYD }, arg(u"Cost", SbxDOUBLE), diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 22eb3a7db9fa..4d55ec21fab3 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -440,7 +440,7 @@ public class OOoBean If no document is loaded and the instance is added to a Java container that is showing, then this method needs not to be called. If later one of the methods - {@link #loadFromURL loadFromURL}, {@link #loadFromStream loadFromStream1}, + {@link #loadFromURL loadFromURL}, {@link #loadFromStream loadFromStream}, or {@link #loadFromByteArray loadFromByteArray} is called, then the document is automatically displayed.