Fix typos
Change-Id: I2b21ba71cd555a88e015871e4f6f5a7747615520 Reviewed-on: https://gerrit.libreoffice.org/77763 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
4b317a7042
commit
e0acc90f37
5 changed files with 14 additions and 14 deletions
|
@ -52,7 +52,7 @@
|
|||
</xs:element>
|
||||
<xs:element name="OrganisationName" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A container for organisation name details. Same organisaion with many types of names can be used by this container</xs:documentation>
|
||||
<xs:documentation>A container for organisation name details. Same organisation with many types of names can be used by this container</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
|
|
|
@ -654,7 +654,7 @@ public class UndoManager
|
|||
m_currentTestCase.verifySingleModificationDocumentState();
|
||||
|
||||
// undo the modification, ensure the listener got the proper notifications
|
||||
assertEquals( "We did not yet do a undo!", 0, m_undoListener.getUndoActionCount() );
|
||||
assertEquals( "We did not yet do an undo!", 0, m_undoListener.getUndoActionCount() );
|
||||
i_undoManager.undo();
|
||||
assertEquals( "A simple undo does not result in the proper Undo count.",
|
||||
1, m_undoListener.getUndoActionCount() );
|
||||
|
|
|
@ -1662,7 +1662,7 @@ bool SfxObjectShell::SaveTo_Impl
|
|||
{
|
||||
SAL_WARN( "sfx.doc", "Storing has failed." );
|
||||
|
||||
// in case the document storage was connected to backup temporarely it must be disconnected now
|
||||
// in case the document storage was connected to backup temporarily it must be disconnected now
|
||||
if ( bNeedsDisconnectionOnFail )
|
||||
ConnectTmpStorage_Impl( pImpl->m_xDocStorage, nullptr );
|
||||
}
|
||||
|
@ -3049,7 +3049,7 @@ bool SfxObjectShell::SaveAsOwnFormat( SfxMedium& rMedium )
|
|||
{
|
||||
sal_Int32 nVersion = rMedium.GetFilter()->GetVersion();
|
||||
|
||||
// OASIS templates have own mediatypes ( SO7 also actually, but it is to late to use them here )
|
||||
// OASIS templates have own mediatypes (SO7 also actually, but it is to late to use them here)
|
||||
const bool bTemplate = rMedium.GetFilter()->IsOwnTemplateFormat()
|
||||
&& nVersion > SOFFICE_FILEFORMAT_60;
|
||||
|
||||
|
|
|
@ -421,7 +421,7 @@ void SfxPrintHelper::impl_setPrinter(const uno::Sequence< beans::PropertyValue >
|
|||
}
|
||||
|
||||
// The PaperSize may be set only when actually PAPER_USER
|
||||
// applies, otherwise the driver could choose a invalid format.
|
||||
// applies, otherwise the driver could choose an invalid format.
|
||||
if(nPaperFormat == view::PaperFormat_USER && aSetPaperSize.Width())
|
||||
{
|
||||
// Bug 56929 - MapMode of 100mm which recalculated when
|
||||
|
@ -626,7 +626,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
|
|||
{
|
||||
// OK - it's not a valid URL. But may it's a simple
|
||||
// system path directly. It will be supported for historical
|
||||
// reasons. Otherwise we break to much external code ...
|
||||
// reasons. Otherwise we break too 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 necessary then. In case it couldn't be
|
||||
|
@ -750,7 +750,7 @@ 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 necessary) via ucb to his right location.
|
||||
// Now we have to check if we can move the file (if necessary) via UCB to its 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
|
||||
|
@ -766,7 +766,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
|
|||
else
|
||||
{
|
||||
// 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.
|
||||
// They will be deleted by the thread automatically if it finishes its run() method.
|
||||
ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl );
|
||||
pWatcher->create();
|
||||
}
|
||||
|
|
|
@ -477,13 +477,13 @@ SfxSaveGuard::~SfxSaveGuard()
|
|||
// storing at the same time. Further m_bSuicide was set to sal_True only if close(sal_True) was called.
|
||||
// So the ownership was delegated to the place where a veto exception was thrown.
|
||||
// Now we have to call close() again and delegate the ownership to the next one, which
|
||||
// can't accept that. Close(sal_False) can't work in this case. Because then the document will may be never closed ...
|
||||
// can't accept that. Close(sal_False) can't work in this case. Because then the document will may be never closed...
|
||||
|
||||
if ( !m_pData->m_bSuicide )
|
||||
return;
|
||||
|
||||
// Reset this state. In case the new close() request is not accepted by someone else ...
|
||||
// it's not a good idea to have two "owners" for close .-)
|
||||
// Reset this state. In case the new close() request is not accepted by someone else...
|
||||
// it's not a good idea to have two "owners" for close.-)
|
||||
m_pData->m_bSuicide = false;
|
||||
try
|
||||
{
|
||||
|
@ -1896,7 +1896,7 @@ void SAL_CALL SfxBaseModel::load( const Sequence< beans::PropertyValue >& seqA
|
|||
m_pData->m_pObjectShell->SetModified();
|
||||
}
|
||||
|
||||
// TODO/LATER: may be the mode should be retrieved from outside and the preused filter should not be set
|
||||
// TODO/LATER: maybe the mode should be retrieved from outside and the preused filter should not be set
|
||||
if ( m_pData->m_pObjectShell->GetCreateMode() == SfxObjectCreateMode::EMBEDDED )
|
||||
{
|
||||
const SfxStringItem* pFilterItem = SfxItemSet::GetItem<SfxStringItem>(pMedium->GetItemSet(), SID_FILTER_NAME, false);
|
||||
|
@ -3653,7 +3653,7 @@ void SAL_CALL SfxBaseModel::storeToStorage( const Reference< embed::XStorage >&
|
|||
SfxAllItemSet aSet( m_pData->m_pObjectShell->GetPool() );
|
||||
TransformParameters( SID_SAVEASDOC, aMediaDescriptor, aSet );
|
||||
|
||||
// TODO/LATER: may be a special URL "private:storage" should be used
|
||||
// TODO/LATER: maybe a special URL "private:storage" should be used
|
||||
const SfxStringItem* pItem = aSet.GetItem<SfxStringItem>(SID_FILTER_NAME, false);
|
||||
sal_Int32 nVersion = SOFFICE_FILEFORMAT_CURRENT;
|
||||
if( pItem )
|
||||
|
@ -4163,7 +4163,7 @@ Reference< frame::XController2 > SAL_CALL SfxBaseModel::createViewController(
|
|||
// tell the guard we were successful
|
||||
aViewCreationGuard.releaseAll();
|
||||
|
||||
// outta gere
|
||||
// outta here
|
||||
return pBaseController;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue