Fix typos
Change-Id: I94bfbfef24be46583c5c2877e468ed65c2bd5eb0 Reviewed-on: https://gerrit.libreoffice.org/76513 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
86b24adfbd
commit
4a9ac82cab
@@ -61,7 +61,7 @@ public struct Any
|
||||
|
||||
/** constructs an instance.
|
||||
|
||||
<p>If the arguments ar invalid then an exception is thrown.</p>
|
||||
<p>If the arguments are invalid then an exception is thrown.</p>
|
||||
@exception System.Exception
|
||||
*/
|
||||
public Any(Type type, object value)
|
||||
|
||||
@@ -2280,7 +2280,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC
|
||||
}
|
||||
else
|
||||
{
|
||||
// It may be that the Wrongs in the list ar not
|
||||
// It may be that the Wrongs in the list are not
|
||||
// spanning exactly over words because the
|
||||
// WordDelimiters during expansion are not
|
||||
// evaluated.
|
||||
|
||||
@@ -1056,7 +1056,7 @@ SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq,
|
||||
// E.g. Sequence<Sequence<sal_Int32>> , the index would refer to Sequence<sal_Int32>
|
||||
// In this case arDimSeqIndices would have the size 1. That is the elements are not counted
|
||||
// but the Sequences that contain those elements.
|
||||
// The indices ar 0 based
|
||||
// The indices are 0 based
|
||||
std::unique_ptr<sal_Int32[]> sarDimsSeqIndices;
|
||||
sal_Int32* arDimsSeqIndices= nullptr;
|
||||
if( dimsSeq > 0)
|
||||
|
||||
@@ -177,7 +177,7 @@ private:
|
||||
ErrCode CheckPasswd_Impl
|
||||
(
|
||||
SfxObjectShell* pDoc,
|
||||
SfxMedium* pFile // the Medium and its Password shold be obtained
|
||||
SfxMedium* pFile // the Medium and its Password should be obtained
|
||||
)
|
||||
|
||||
/* [Description]
|
||||
@@ -703,7 +703,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
|
||||
|
||||
// Run synchronous, so that not the next document is loaded
|
||||
// when rescheduling
|
||||
// TODO/LATER: use URLList argument and always remove one document after another, each step in asychronous execution, until finished
|
||||
// TODO/LATER: use URLList argument and always remove one document after another, each step in asynchronous execution, until finished
|
||||
// but only if reschedule is a problem
|
||||
GetDispatcher_Impl()->Execute( SID_OPENDOC, SfxCallMode::SYNCHRON, *rReq.GetArgs() );
|
||||
|
||||
|
||||
@@ -325,7 +325,7 @@ void SvFileObject::Edit(weld::Window* pParent, sfx2::SvBaseLink* pLink, const Li
|
||||
|
||||
IMPL_LINK_NOARG( SvFileObject, LoadGrfReady_Impl, void*, void )
|
||||
{
|
||||
// When we come form here there it can not be an error no more.
|
||||
// When we come from here there it can not be an error no more.
|
||||
bLoadError = false;
|
||||
bWaitForData = false;
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ bool SvDDEObject::GetData( css::uno::Any & rData /*out param*/,
|
||||
pConnection.reset( new DdeConnection( sServer, sTopic ) );
|
||||
}
|
||||
|
||||
if( bWaitForData ) // we are in an rekursive loop, get out again
|
||||
if( bWaitForData ) // we are in a recursive loop, get out again
|
||||
return false;
|
||||
|
||||
// Lock against Reentrance
|
||||
|
||||
@@ -477,7 +477,7 @@ SfxWorkWindow::SfxWorkWindow( vcl::Window *pWin, SfxFrame *pFrm, SfxFrame* pMast
|
||||
|
||||
pBindings->SetWorkWindow_Impl( this );
|
||||
|
||||
// For the ObjectBars a integral place in the Childlist is reserved,
|
||||
// For the ObjectBars an integral place in the Childlist is reserved,
|
||||
// so that they always come in a defined order.
|
||||
for (int i=0; i<SFX_OBJECTBAR_MAX; ++i)
|
||||
aChildren.push_back( nullptr );
|
||||
@@ -670,7 +670,7 @@ void SfxWorkWindow::ArrangeChildren_Impl( bool bForce )
|
||||
SvBorder aBorder;
|
||||
if ( nChildren && IsVisible_Impl() )
|
||||
aBorder = Arrange_Impl();
|
||||
// If the current application document contains a IPClient, then the
|
||||
// If the current application document contains an IPClient, then the
|
||||
// object through SetTopToolFramePixel has to be assigned the available
|
||||
// space. The object will then point to its UITools and sets the app border
|
||||
// (-> SfxInPlaceEnv_Impl:: ArrangeChildren_Impl ()). Otherwise the
|
||||
|
||||
@@ -1136,7 +1136,7 @@ std::unique_ptr<SfxItemSet> SfxBindings::CreateSet_Impl
|
||||
std::size_t nCachePos = pImpl->nMsgPos;
|
||||
const SfxSlot *pSibling = pRealSlot->GetNextSlot();
|
||||
|
||||
// the Slots ODF a interfaces ar linked in a circle
|
||||
// the Slots ODF and interfaces are linked in a circle
|
||||
while ( pSibling > pRealSlot )
|
||||
{
|
||||
SfxStateFunc pSiblingFnc=nullptr;
|
||||
|
||||
@@ -173,7 +173,7 @@ void SfxControllerItem::SetId( sal_uInt16 nItemId )
|
||||
}
|
||||
|
||||
|
||||
// creates a atomic item for a controller without registration.
|
||||
// creates an atomic item for a controller without registration.
|
||||
|
||||
SfxControllerItem::SfxControllerItem():
|
||||
nId(0),
|
||||
|
||||
@@ -461,7 +461,7 @@ SfxDispatcher::~SfxDispatcher()
|
||||
}
|
||||
}
|
||||
|
||||
/** With this method, one or more <SfxShell> are poped from the SfxDispatcher.
|
||||
/** With this method, one or more <SfxShell> are popped from the SfxDispatcher.
|
||||
The SfxShell is marked for popping and a timer is set up. Only when the
|
||||
timer has reached the end, the pop is actually performed
|
||||
( <SfxDispatcher::Flush()> ) and the <SfxBindings> is invalidated.
|
||||
@@ -1691,7 +1691,7 @@ bool SfxDispatcher::FindServer_(sal_uInt16 nSlot, SfxSlotServer& rServer)
|
||||
bool bIsServerShell = !xImp->pFrame || bIsInPlace;
|
||||
|
||||
// Of course ShellServer-Slots are also executable even when it is
|
||||
// executed on a container dispatcher without a IPClient.
|
||||
// executed on a container dispatcher without an IPClient.
|
||||
if ( !bIsServerShell )
|
||||
{
|
||||
SfxViewShell *pViewSh = xImp->pFrame->GetViewShell();
|
||||
|
||||
@@ -1095,7 +1095,7 @@ sal_Int32 SAL_CALL ThumbnailViewItemAcc::getAccessibleIndexInParent()
|
||||
for (sal_uInt16 i=0; i<nCount && !bDone; i++)
|
||||
{
|
||||
// Guard the retrieval of the i-th child with a try/catch block
|
||||
// just in case the number of children changes in the mean time.
|
||||
// just in case the number of children changes in the meantime.
|
||||
try
|
||||
{
|
||||
pItem = mpParent->mrParent.ImplGetVisibleItem (i);
|
||||
|
||||
@@ -720,7 +720,7 @@ void SfxDispatchController_Impl::dispatch( const css::util::URL& aURL,
|
||||
if ( bMasterSlave )
|
||||
{
|
||||
// Extract slave command and add argument to the args list. Master slot MUST
|
||||
// have a argument that has the same name as the master slot and type is SfxStringItem.
|
||||
// have an argument that has the same name as the master slot and type is SfxStringItem.
|
||||
sal_Int32 nIndex = lNewArgs.getLength();
|
||||
lNewArgs.realloc( nIndex+1 );
|
||||
lNewArgs[nIndex].Name = OUString::createFromAscii( pSlot->pUnoName );
|
||||
|
||||
@@ -793,7 +793,7 @@ ErrCode FileDialogHelper_Impl::getGraphic( Graphic& rGraphic ) const
|
||||
{
|
||||
ErrCode nRet = ERRCODE_NONE;
|
||||
|
||||
// rhbz#1079672 do not return maGraphic, it need not be the selected file
|
||||
// rhbz#1079672 do not return maGraphic, it needs not to be the selected file
|
||||
|
||||
OUString aPath;
|
||||
Sequence<OUString> aPathSeq = mxFileDlg->getFiles();
|
||||
|
||||
@@ -647,7 +647,7 @@ SfxMailModel::~SfxMailModel()
|
||||
|
||||
void SfxMailModel::AddToAddress( const OUString& rAddress )
|
||||
{
|
||||
// don't add a empty address
|
||||
// don't add an empty address
|
||||
if ( !rAddress.isEmpty() )
|
||||
{
|
||||
if ( !mpToList )
|
||||
|
||||
@@ -432,7 +432,7 @@ void SfxRedactionHelper::searchInMetaFile(const RedactionTarget* pRedactionTarge
|
||||
MetaAction* pCurrAct;
|
||||
|
||||
// Watch for TEXTARRAY actions.
|
||||
// They contain the text of paragraphes.
|
||||
// They contain the text of paragraphs.
|
||||
for (pCurrAct = const_cast<GDIMetaFile&>(rMtf).FirstAction(); pCurrAct;
|
||||
pCurrAct = const_cast<GDIMetaFile&>(rMtf).NextAction())
|
||||
{
|
||||
|
||||
@@ -506,7 +506,7 @@ Reference < XContent > SfxMedium::GetContent() const
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: SAL_WARN( "sfx.doc", "SfxMedium::GetContent()\nCreate Content? This code exists as fallback only. Please clarify, why its used.");
|
||||
// TODO: SAL_WARN( "sfx.doc", "SfxMedium::GetContent()\nCreate Content? This code exists as fallback only. Please clarify, why it's used.");
|
||||
OUString aURL;
|
||||
if ( !pImpl->m_aName.isEmpty() )
|
||||
osl::FileBase::getFileURLFromSystemPath( pImpl->m_aName, aURL );
|
||||
@@ -2444,7 +2444,7 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont
|
||||
if ( !pImpl->m_aBackupURL.isEmpty() )
|
||||
return;
|
||||
|
||||
// the copiing to the backup catalog failed ( for example because
|
||||
// the copying to the backup catalog failed ( for example because
|
||||
// of using an encrypted partition as target catalog )
|
||||
// since the user did not specify to make backup explicitly
|
||||
// office should try to make backup in another place,
|
||||
|
||||
@@ -970,7 +970,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
|
||||
|
||||
if ( nId == SID_EXPORTDOCASPDF )
|
||||
{
|
||||
// This function is used by the SendMail function that needs information if a export
|
||||
// This function is used by the SendMail function that needs information if an export
|
||||
// file was written or not. This could be due to cancellation of the export
|
||||
// or due to an error. So IO abort must be handled like an error!
|
||||
nErrorCode = ( lErr != ERRCODE_IO_ABORT ) && ( nErrorCode == ERRCODE_NONE ) ? nErrorCode : lErr;
|
||||
|
||||
@@ -317,7 +317,7 @@ uno::Sequence< beans::Property > HierarchyContent::getProperties(
|
||||
|
||||
|
||||
// Currently no difference between read-only/read-write
|
||||
// -> all props ar read-only
|
||||
// -> all props are read-only
|
||||
|
||||
static const beans::Property aRootFolderPropertyInfoTable[] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user