Kaydet (Commit) 866fc4dd authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Icc5fc590a6a90e30afa5f61028d4dd0279fbe120
Reviewed-on: https://gerrit.libreoffice.org/47861Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst a452643b
......@@ -636,7 +636,7 @@ OUString ObjectIdentifier::createParticleForLegend( ChartModel& rModel )
OUStringBuffer aRet;
Reference< XDiagram > xDiagram( rModel.getFirstDiagram() );
//todo: if more than one diagram is implemeted, find the correct diagram which is owner of the given legend
//todo: if more than one diagram is implemented, find the correct diagram which is owner of the given legend
aRet.append( ObjectIdentifier::createParticleForDiagram() );
aRet.append(":");
......@@ -652,7 +652,7 @@ OUString ObjectIdentifier::createParticleForLegend(
OUStringBuffer aRet;
Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) );
//todo: if more than one diagram is implemeted, find the correct diagram which is owner of the given legend
//todo: if more than one diagram is implemented, find the correct diagram which is owner of the given legend
aRet.append( ObjectIdentifier::createParticleForDiagram() );
aRet.append(":");
......
......@@ -667,7 +667,7 @@ void ODbaseTable::refreshIndexes()
for (sal_uInt16 nKey = 0; nKey < nKeyCnt; nKey++)
{
// Refences the key an index-file?
// References the key an index-file?
aKeyName = aInfFile.GetKeyName( nKey );
//...if yes, add the index list of the table
if (aKeyName.startsWith("NDX"))
......
......@@ -946,7 +946,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
if (rcNew.m_nPart == -1)
{
// Don't merge unless fully overlaped.
// Don't merge unless fully overlapped.
SAL_INFO("lok", "New " << rcNew.toString() << " has " << rcOld.toString() << "?");
if (rcNew.m_aRectangle.IsInside(rcOld.m_aRectangle))
{
......@@ -956,7 +956,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
}
else if (rcOld.m_nPart == -1)
{
// Don't merge unless fully overlaped.
// Don't merge unless fully overlapped.
SAL_INFO("lok", "Old " << rcOld.toString() << " has " << rcNew.toString() << "?");
if (rcOld.m_aRectangle.IsInside(rcNew.m_aRectangle))
{
......
......@@ -3254,7 +3254,7 @@ void SAL_CALL ODatabaseForm::executeWithCompletion( const Reference< XInteractio
if ( !impl_approveRowChange_throw( event, true, aGuard ) )
return;
// we're loaded and somebody want's to execute ourself -> this means a reload
// we're loaded and somebody wants to execute ourself -> this means a reload
reload_impl(false, _rxHandler);
}
}
......@@ -3280,7 +3280,7 @@ void SAL_CALL ODatabaseForm::execute()
if ( !impl_approveRowChange_throw( event, true, aGuard ) )
return;
// we're loaded and somebody want's to execute ourself -> this means a reload
// we're loaded and somebody wants to execute ourself -> this means a reload
reload_impl(false);
}
}
......
......@@ -280,7 +280,7 @@ namespace connectivity
// helper to implement getColumnTableRange
bool impl_getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
/** traverses the list of table names, and filles _rTables
/** traverses the list of table names, and fills _rTables
*/
bool traverseTableNames( OSQLTables& _rTables );
......
......@@ -1725,7 +1725,7 @@ sub collect_directories_with_create_flag_from_directoryarray
$directoryhash{'HostName'} = $directoryname;
$directoryhash{'specificlanguage'} = $onedir->{'specificlanguage'};
$directoryhash{'Dir'} = $onedir->{'gid'};
if ( ! $installer::globals::iswindowsbuild ) { $directoryhash{'Styles'} = "(CREATE)"; } # Exeception for Windows?
if ( ! $installer::globals::iswindowsbuild ) { $directoryhash{'Styles'} = "(CREATE)"; } # Exception for Windows?
# saving also the modules
$directoryhash{'modules'} = $onedir->{'modules'};
......
......@@ -601,7 +601,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo74792, "fdo74792.docx")
comphelper::getComponentContext(m_xSFactory), maTempFile.GetURL());
//check that images are also saved
OUString const sImageFile( "word/media/OOXDiagramDataRels1_0.jpeg" ); //added anchor id to form a uniqe name
OUString const sImageFile( "word/media/OOXDiagramDataRels1_0.jpeg" ); //added anchor id to form a unique name
uno::Reference<io::XInputStream> xInputStream(xNameAccess->getByName( sImageFile ), uno::UNO_QUERY);
CPPUNIT_ASSERT( xInputStream.is() );
}
......@@ -628,12 +628,12 @@ DECLARE_OOXMLEXPORT_TEST(testFdo77718, "fdo77718.docx")
comphelper::getComponentContext(m_xSFactory), maTempFile.GetURL());
//check that images are also saved
OUString const sImageFile1( "word/media/OOXDiagramDataRels1_0.jpeg" ); //added anchor id to form a uniqe name
OUString const sImageFile1( "word/media/OOXDiagramDataRels1_0.jpeg" ); //added anchor id to form a unique name
uno::Reference<io::XInputStream> xInputStream1(xNameAccess->getByName( sImageFile1 ), uno::UNO_QUERY);
CPPUNIT_ASSERT( xInputStream1.is() );
//check that images are saved for other smart-arts as well.
OUString const sImageFile2( "word/media/OOXDiagramDataRels2_0.jpeg" ); //added anchor id to form a uniqe name
OUString const sImageFile2( "word/media/OOXDiagramDataRels2_0.jpeg" ); //added anchor id to form a unique name
uno::Reference<io::XInputStream> xInputStream2(xNameAccess->getByName( sImageFile2 ), uno::UNO_QUERY);
CPPUNIT_ASSERT( xInputStream2.is() );
}
......
......@@ -69,7 +69,7 @@ bool UCB_DeleteFile( const OUString& rURL )
catch( css::uno::Exception& )
{
bRemoved = false;
OSL_FAIL( "Exeception from executeCommand( delete )" );
OSL_FAIL( "Exception from executeCommand( delete )" );
}
return bRemoved;
}
......@@ -97,7 +97,7 @@ bool UCB_CopyFile( const OUString& rURL, const OUString& rNewURL, bool bCopyIsMo
}
catch( css::uno::Exception& )
{
OSL_FAIL( "Exeception from executeCommand( transfer )" );
OSL_FAIL( "Exception from executeCommand( transfer )" );
bCopyCompleted = false;
}
return bCopyCompleted;
......@@ -126,7 +126,7 @@ bool UCB_IsCaseSensitiveFileName( const OUString& rURL )
catch( css::uno::Exception& )
{
bCaseSensitive = false;
OSL_FAIL( "Exeception from compareContentIds()" );
OSL_FAIL( "Exception from compareContentIds()" );
}
return bCaseSensitive;
}
......
......@@ -307,7 +307,7 @@ void DocxAttributeOutput::StartParagraph( ww8::WW8TableNodeInfo::Pointer_t pText
bool bOneliner = m_bStartedParaSdt && !m_rExport.SdrExporter().IsDMLAndVMLDrawingOpen() && lcl_isOnelinerSdt(m_aStartedParagraphSdtPrAlias);
if (bEndParaSdt || (m_bStartedParaSdt && m_bHadSectPr) || bOneliner)
{
// This is the common case: "close sdt before the current paragraph" was requrested by the next paragraph.
// This is the common case: "close sdt before the current paragraph" was requested by the next paragraph.
EndSdtBlock();
m_bStartedParaSdt = false;
m_aStartedParagraphSdtPrAlias.clear();
......@@ -1149,7 +1149,7 @@ void DocxAttributeOutput::EndRun(const SwTextNode* pNode, sal_Int32 nPos, bool /
if (m_bEndCharSdt)
{
// This is the common case: "close sdt before the current run" was requrested by the next run.
// This is the common case: "close sdt before the current run" was requested by the next run.
// if another sdt starts in this run, then wait
// as closing the sdt now, might cause nesting of sdts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment