diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/appl/appuno.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/childwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 8 |
11 files changed, 21 insertions, 21 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index de1e79d33df5..821b0b61f7ca 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -181,7 +181,7 @@ private: try { // check the encryption data - // if the data correct is the stream will be opened successfuly + // if the data correct is the stream will be opened successfully // and immediatelly closed ::comphelper::OStorageHelper::SetCommonStorageEncryptionData( mxStorage, rEncryptionData ); @@ -457,7 +457,7 @@ void SfxApplication::NewDocDirectExec_Impl( SfxRequest& rReq ) aReq.AppendItem( SfxFrameItem( SID_DOCFRAME, GetFrame() ) ); aReq.AppendItem( SfxStringItem( SID_TARGETNAME, rtl::OUString( "_default" ) ) ); - // TODO/LATER: Should the other arguments be transfered as well? + // TODO/LATER: Should the other arguments be transferred as well? SFX_REQUEST_ARG( rReq, pDefaultPathItem, SfxStringItem, SID_DEFAULTFILEPATH, sal_False); if ( pDefaultPathItem ) aReq.AppendItem( *pDefaultPathItem ); diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index 189bb9447f91..ff36e493f19d 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -454,7 +454,7 @@ void TransformParameters( sal_uInt16 nSlotId, const ::com::sun::star::uno::Seque nSubId |= CONVERT_TWIPS; if (!pItem->PutValue( rProp.Value, nSubId ) ) { - // ... but it was not convertable + // ... but it was not convertible bRet = sal_False; #ifdef DBG_UTIL rtl::OStringBuffer aDbgStr(RTL_CONSTASCII_STRINGPARAM("Property not convertable: ")); @@ -946,7 +946,7 @@ void TransformParameters( sal_uInt16 nSlotId, const ::com::sun::star::uno::Seque #ifdef DB_UTIL if ( nFoundArgs == nCount ) { - // except for the "special" slots: assure that every argument was convertable + // except for the "special" slots: assure that every argument was convertible rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM("MacroPlayer: Some properties didn't match to any formal argument for slot: ")); aStr.append(pSlot->pUnoName); DBG_WARNING( aStr.getStr() ); @@ -1152,7 +1152,7 @@ void TransformItems( sal_uInt16 nSlotId, const SfxItemSet& rSet, ::com::sun::sta } #ifdef DBG_UTIL - // now check the itemset: is there any item that is not convertable using the list of formal arguments + // now check the itemset: is there any item that is not convertible using the list of formal arguments // or the table of additional items?! if ( rSet.Count() != nItems ) { diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 6d3869ba729c..798da8c280fb 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -727,7 +727,7 @@ void SfxChildWindow::SetFrame( const ::com::sun::star::uno::Reference< ::com::su pImp->xListener = ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >( new DisposeListener( this, pImp ) ); // Set new frame in data container - // and build new listener connection, if neccessary. + // and build new listener connection, if necessary. pImp->xFrame = rFrame; if( pImp->xFrame.is() ) pImp->xFrame->addEventListener( pImp->xListener ); diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 8dcb7a455aa6..70edb4fdb9f2 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1383,7 +1383,7 @@ SfxItemSet* SfxBindings::CreateSet_Impl sal_uInt16 nCachePos = pImp->nMsgPos; const SfxSlot *pSibling = pRealSlot->GetNextSlot(); - // the Slots odf a interfaces ar linked in a circle + // the Slots ODF a interfaces ar linked in a circle while ( pSibling > pRealSlot ) { SfxStateFunc pSiblingFnc=0; diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 6e81c0b31aac..4a8fa5a8224b 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1665,7 +1665,7 @@ void SfxDispatcher::FlushImpl() if( bAwakeBindings ) aToDoCopy.clear(); - // If more changes have occured on the stach when + // If more changes have occurred on the stach when // Activate/Deactivate/Delete: if (!bFlushed) // If Push/Pop hs been called by someone, theb also EnterReg was called! diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 0fc15a822ca5..453a87aab30e 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1097,7 +1097,7 @@ bool SfxMedium::LockOrigFileOnDemand( sal_Bool bLoading, sal_Bool bNoUI ) } catch ( const ucb::InteractiveIOException& e ) { - // exception means that the lock file can not be successfuly accessed + // exception means that the lock file can not be successfully accessed // in this case it should be ignored if system file locking is anyway active if ( bUseSystemLock || !IsOOoLockFileUsed() ) { @@ -1129,7 +1129,7 @@ bool SfxMedium::LockOrigFileOnDemand( sal_Bool bLoading, sal_Bool bNoUI ) } catch ( const uno::Exception& ) { - // exception means that the lock file can not be successfuly accessed + // exception means that the lock file can not be successfully accessed // in this case it should be ignored if system file locking is anyway active if ( bUseSystemLock || !IsOOoLockFileUsed() ) { diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 40c6385fd2c7..c4d18c9096b1 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -350,7 +350,7 @@ sal_Bool GraphicHelper::createThumb_Impl( const GDIMetaFile& rMtf, const_cast< GDIMetaFile& >( rMtf ).WindStart(); const_cast< GDIMetaFile& >( rMtf ).Play( &aVDev, aBackPosPix, aDrawSize ); - // draw overlay if neccessary + // draw overlay if necessary if ( pOverlay ) aVDev.DrawBitmapEx( aOverlayRect.TopLeft(), aOverlayRect.GetSize(), *pOverlay ); diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index cafd12747a63..643d3fc414ff 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -234,7 +234,7 @@ void SfxObjectShell::UpdateTime_Impl( util::Duration editDuration(sal_False, 0, 0, 0, secs/3600, (secs%3600)/60, secs%60, 0); - // Initialize some local member! Its neccessary for wollow operations! + // Initialize some local member! Its necessary for wollow operations! DateTime aNow( DateTime::SYSTEM ); // Date and time at current moment Time n24Time (24,0,0,0) ; // Time-value for 24 hours - see follow calculation sal_uIntPtr nDays = 0 ; // Count of days between now and last editing diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 73611c25d5c4..9c4ee5aff3c2 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -707,8 +707,8 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) GetMedium()->SetUpdatePickList( sal_True ); // TODO: in future it must be done in followind way - // if document is opened from GUI it is immediatelly appeares in the picklist - // if the document is a new one then it appeares in the picklist immediatelly + // if document is opened from GUI it is immediatelly appears in the picklist + // if the document is a new one then it appears in the picklist immediatelly // after SaveAs operation triggered from GUI } catch( const task::ErrorCodeIOException& aErrorEx ) diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 6f41f7d856d9..bd862c67b5f7 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -279,7 +279,7 @@ sal_Bool SfxObjectShell::PutURLContentsToVersionStream_Impl( uno::Reference< embed::XStorage > xTempStorage = ::comphelper::OStorageHelper::GetStorageFromURL( aTempURL, embed::ElementModes::READWRITE ); - // the password will be transfered from the xStorage to xTempStorage by storage implemetation + // the password will be transferred from the xStorage to xTempStorage by storage implemetation xStorage->copyToStorage( xTempStorage ); // the temporary storage was commited by the previous method and it will die by refcount @@ -1756,7 +1756,7 @@ sal_Bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMediu // contents, the storag will be broken xOptStorage->attachToURL( aBackupURL, sal_True ); - // the storage is successfuly attached to backup, thus it it owned by the document not by the medium + // the storage is successfully attached to backup, thus it it owned by the document not by the medium rSrcMedium.CanDisposeStorage_Impl( sal_False ); bResult = sal_True; } @@ -1796,7 +1796,7 @@ sal_Bool SfxObjectShell::ConnectTmpStorage_Impl( uno::Reference< embed::XOptimizedStorage > xOptStorage( xStorage, uno::UNO_QUERY_THROW ); xOptStorage->writeAndAttachToStream( uno::Reference< io::XStream >() ); - // the storage is successfuly disconnected from the original sources, thus the medium must not dispose it + // the storage is successfully disconnected from the original sources, thus the medium must not dispose it if ( pMediumArg ) pMediumArg->CanDisposeStorage_Impl( sal_False ); diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 77f89faed106..8cc782ea1082 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -500,7 +500,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread } /* } SAFE */ - // lock for further using of our member isn't neccessary - because + // lock for further using of our member isn't necessary - because // we truns alone by defenition. Nobody join for us nor use us ... moveAndDeleteTemp(&m_pTempFile,m_sTargetURL); @@ -637,7 +637,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // reasons. Otherwhise we break to much external code ... // We try to convert it to a file URL. If its possible // we put the system path to the item set and let vcl work with it. - // No ucb or thread will be neccessary then. In case it couldnt be + // No ucb or thread will be necessary then. In case it couldnt be // converted its not an URL nor a system path. Then we can't accept // this parameter and have to throw an exception. ::rtl::OUString sSystemPath(sTemp); @@ -765,11 +765,11 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // Ok - may be execution before has finished (or started!) printing. // And may it was a printing to a file. - // Now we have to check if we can move the file (if neccessary) via ucb to his right location. + // Now we have to check if we can move the file (if necessary) via ucb to his right location. // Cases: // a) printing finished => move the file directly and forget the watcher thread // b) printing is asynchron and runs currently => start watcher thread and exit this method - // This thread make all neccessary things by itself. + // This thread make all necessary things by itself. if (pUCBPrintTempFile!=NULL) { // a) |