diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/DocumentMetadataAccess.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 8 |
5 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx index 228f57878a34..d6130df49887 100644 --- a/sfx2/source/doc/DocumentMetadataAccess.cxx +++ b/sfx2/source/doc/DocumentMetadataAccess.cxx @@ -1262,7 +1262,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, if (!xIn.is() && URL.isEmpty()) { throw lang::IllegalArgumentException( "DocumentMetadataAccess::loadMetadataFromMedium: " - "inalid medium: no URL, no input stream", *this, 0); + "invalid medium: no URL, no input stream", *this, 0); } uno::Reference<embed::XStorage> xStorage; try { diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 140e62cd044c..38ca442ccf9b 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -615,7 +615,7 @@ bool SfxDocumentTemplates::CopyOrMove else { if ( xTemplates->removeTemplate( pTargetRgn->GetTitle(), aTitle ) ) - return false; // will trigger tetry with copy instead of move + return false; // will trigger retry with copy instead of move // if it is not possible to remove just created template ( must be possible! ) // it is better to report success here, since at least the copy has succeeded diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index c7d5cde56e11..16c573e36ad3 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -233,7 +233,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 necessary for wollow operations! + // Initialize some local member! Its necessary for follow operations! DateTime aNow( DateTime::SYSTEM ); // Date and time at current moment tools::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/objstor.cxx b/sfx2/source/doc/objstor.cxx index ae51fb74004f..cfaa651a887b 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1795,7 +1795,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r { // the following call will only compare stream sizes // TODO/LATER: this is a very risky part, since if the URL contents are different from the storage - // contents, the storag will be broken + // contents, the storage will be broken xOptStorage->attachToURL( aBackupURL, sal_True ); // the storage is successfully attached to backup, thus it is owned by the document not by the medium diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 791fbeaf915d..be3825a07f3c 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -470,8 +470,8 @@ void SAL_CALL SfxPrintHelper::setPrinter(const uno::Sequence< beans::PropertyVal /* This implements a thread which will be started to wait for asynchronous - print jobs to temp. localy files. If they finish we move the temp. files - to her right locations by using the ucb. + print jobs to temp. locally files. If they finish we move the temp. files + to their right locations by using the ucb. */ class ImplUCBPrintWatcher : public ::osl::Thread { @@ -509,7 +509,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread /* } SAFE */ // lock for further using of our member isn't necessary - because - // we truns alone by defenition. Nobody join for us nor use us ... + // we run alone by definition. Nobody join for us nor use us... moveAndDeleteTemp(&m_pTempFile,m_sTargetURL); // finishing of this run() method will call onTerminate() automatically @@ -787,7 +787,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // b) else { - // Note: we create(d) some resource on the heap. (thread and tep file) + // Note: we create(d) some resource on the heap (thread and temp file). // They will be deleted by the thread automatically if he finish his run() method. ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl ); pWatcher->create(); |