Kaydet (Commit) b86ef3b7 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Jens Carl

Fix typos

Change-Id: I326827c394347cbe9fad242e9da5702cba7a4d95
Reviewed-on: https://gerrit.libreoffice.org/57761
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst ccc7d6de
......@@ -292,7 +292,7 @@ void SvxTabulatorTabPage::Reset(const SfxItemSet* rSet)
else
aNewTabs.Remove(0, aNewTabs.Count());
// Defaul tab distance
// Default tab distance
nDefDist = SVX_TAB_DEFDIST;
pItem = GetItem(*rSet, SID_ATTR_TABSTOP_DEFAULTS);
......
......@@ -272,7 +272,7 @@ void Sane::ReloadOptions()
mnOptions = pOptions[ 0 ];
if( static_cast<size_t>(pZero->size) > sizeof( SANE_Word ) )
fprintf( stderr, "driver returned numer of options with larger size tha SANE_Word !!!\n" );
fprintf( stderr, "driver returned number of options with larger size than SANE_Word!!!\n" );
mppOptions.reset(new const SANE_Option_Descriptor*[ mnOptions ]);
mppOptions[ 0 ] = pZero;
for( int i = 1; i < mnOptions; i++ )
......
......@@ -913,7 +913,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess
xCfg = xConfigProvider->createInstanceWithArguments(SERVICE_CONFIGURATIONUPDATEACCESS,
comphelper::containerToSequence(lParams));
// If configuration could not be opened ... but factory method does not throwed an exception
// If configuration could not be opened... but factory method did not throw an exception
// trigger throwing of our own CorruptedFilterConfigurationException.
// Let message empty. The normal exception text show enough information to the user.
if (! xCfg.is())
......
......@@ -534,7 +534,7 @@ OUString LwpFootnoteOptions::GetContinuedOnMessage()
{
return m_ContinuedOnMessage.str();
}
// else reture defauls message
// else return default message
return OUString(STRID_FOOTCONTINUEDON);
}
......@@ -547,7 +547,7 @@ OUString LwpFootnoteOptions::GetContinuedFromMessage()
{
return m_ContinuedFromMessage.str();
}
// else reture defauls message
// else return default message
return OUString(STRID_FOOTCONTINUEDFROM);
}
......
......@@ -121,7 +121,7 @@ public class SCalc {
//oooooooooooooooooooooooooooStep 3oooooooooooooooooooooooooooooooooooooooooo
// create cell styles.
// For this purpose get the StyleFamiliesSupplier and the familiy
// For this purpose get the StyleFamiliesSupplier and the family
// CellStyle. Create an instance of com.sun.star.style.CellStyle and
// add it to the family. Now change some properties
......
......@@ -267,7 +267,7 @@ Reference< XLabeledDataSequence > TypeGroupConverter::createCategorySequence()
{
sal_Int32 nMaxValues = 0;
Reference< XLabeledDataSequence > xLabeledSeq;
/* Find first existing category sequence. The bahaviour of Excel 2007 is
/* Find first existing category sequence. The behaviour of Excel 2007 is
different to Excel 2003, which always used the category sequence of the
first series, even if it was empty. */
for (auto const& elem : mrModel.maSeries)
......
......@@ -343,7 +343,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
* At first <code>setHavingClause</code> sets a complex clause.
* Then method <code>getStructuredHavingClause</code> from object relation
* <code>xQueryAna</code> returns a valid <code>PropertyValue[][]</code>
* Method <code>setHavingClause</code> was called with an empty sting to
* Method <code>setHavingClause</code> was called with an empty string to
* reset filter. Now <code>setStructuredHavingClause</code> with the valid
* <code>PropertyValue[][]</code> as parameter was called.
* Test is ok if <code>getHavingClause</code> from <code>xQueryAna</code>
......
......@@ -137,7 +137,7 @@ public class XMLStylesExporter extends TestCase {
//create new style
Object SC = SOF.createInstance(xDrawDoc, "com.sun.star.style.Style");
XStyle Style = UnoRuntime.queryInterface(XStyle.class,SC);
//add new style to style familiy with name[0]
//add new style to style family with name[0]
xStyleFamilyName.insertByName(STYLE_NAME,Style);
// Checking Head Tag existence and that property has changed
......
......@@ -265,7 +265,7 @@ void ScRTFParser::ProcToken( RtfImportInfo* pInfo )
{
switch ( pInfo->nToken )
{
case RTF_TROWD: // denotes table row defauls, before RTF_CELLX
case RTF_TROWD: // denotes table row default, before RTF_CELLX
{
if (!maDefaultList.empty())
nLastWidth = maDefaultList.back()->nTwips;
......
......@@ -2661,7 +2661,7 @@ sal_uInt32 DbGridControl::GetTotalCellWidth(long nRow, sal_uInt16 nColId)
return GetDataWindow().GetTextWidth(GetCurrentRowCellText(pColumn,m_xPaintRow));
}
else
return 30; // FIXME magic number for defaul cell width
return 30; // FIXME magic number for default cell width
}
void DbGridControl::PreExecuteRowContextMenu(sal_uInt16 /*nRow*/, PopupMenu& rMenu)
......
......@@ -642,7 +642,7 @@ void FmSearchEngine::Init(const OUString& sVisibleFields)
{
// analyze the fields
// additionally, create the mapping: because the list of used columns can be shorter than the list
// of columns of the cursor, we need a mapping: "used column numer n" -> "cursor column m"
// of columns of the cursor, we need a mapping: "used column number n" -> "cursor column m"
m_arrFieldMapping.clear();
// important: The case of the columns does not need to be exact - for instance:
......
......@@ -384,7 +384,7 @@ void SdrTableRTFParser::ProcToken( RtfImportInfo* pInfo )
{
switch ( pInfo->nToken )
{
case RTF_TROWD: // denotes table row defauls, before RTF_CELLX
case RTF_TROWD: // denotes table row default, before RTF_CELLX
{
maDefaultList.clear();
mpDefMerge = nullptr;
......
......@@ -311,7 +311,7 @@ sal_uInt16 GetPoolParent( sal_uInt16 nId )
void SwDoc::RemoveAllFormatLanguageDependencies()
{
/* Restore the language independ pool defaults and styles. */
/* Restore the language independent pool defaults and styles. */
GetAttrPool().ResetPoolDefaultItem( RES_PARATR_ADJUST );
SwTextFormatColl * pTextFormatColl = getIDocumentStylePoolAccess().GetTextCollFromPool( RES_POOLCOLL_STANDARD );
......
......@@ -50,10 +50,10 @@ public final class Driver {
/** {@code mergeFile} name. */
private String mergeFile = null;
/** Command-line parmeter. */
/** Command-line parameter. */
private final ArrayList<String> deviceFiles = new ArrayList<String>();
/** Command-line parmeter shortcuts. */
/** Command-line parameter shortcuts. */
private final String mimeTypes[] = {
"sxc", "staroffice/sxc",
"sxw","staroffice/sxw"
......
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