Fix typos

Change-Id: I005023337dbe593e0ac1d76f7b10848d24f314a5
Reviewed-on: https://gerrit.libreoffice.org/50785
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Andrea Gelmini 2018-03-05 21:20:27 +01:00 committed by Samuel Mehrbrodt
parent 3e38b81a65
commit 240e67e37e
12 changed files with 28 additions and 28 deletions

View File

@ -438,7 +438,7 @@ void FilterCache::setItem( EItemType eType ,
aItem.validateUINames(m_sActLocale);
// remove implicit properties as e.g. FINALIZED or MANDATORY
// They can't be saved here and must be readed on demand later, if they are needed.
// They can't be saved here and must be read on demand later, if they are needed.
removeStatePropsFromItem(aItem);
rList[sItem] = aItem;
@ -950,7 +950,7 @@ void FilterCache::impl_validateAndOptimize()
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
// First check if any filter or type could be readed
// First check if any filter or type could be read
// from the underlying configuration!
bool bSomeTypesShouldExist = ((m_eFillState & E_CONTAINS_STANDARD ) == E_CONTAINS_STANDARD );
bool bAllFiltersShouldExist = ((m_eFillState & E_CONTAINS_FILTERS ) == E_CONTAINS_FILTERS );
@ -1364,7 +1364,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
// update fill state. Note: it's a bit field, which combines different parts.
m_eFillState = static_cast<EFillState>(static_cast<sal_Int32>(m_eFillState) | static_cast<sal_Int32>(eRequiredState));
// any data readed?
// any data read?
// yes! => validate it and update optimized structures.
impl_validateAndOptimize();

View File

@ -87,11 +87,11 @@ class FilterCache : public BaseLock
@descr This cache supports a 2-step load mechanism.
First only types (and only some special properties of every type!)
but no filters/frame loaders/content handlers will be readed.
but no filters/frame loaders/content handlers will be read.
That should be enough to work with this cache e.g. for loading
the first document. After this first document was loaded successfully,
a special "load-on-demand-thread" will be started to fill this cache
with ALL other information, which was not readed before.
with ALL other information, which was not read before.
That's the second step. All operations on top of this cache will be
blocked then.
*/
@ -112,7 +112,7 @@ class FilterCache : public BaseLock
/** @short regulate, which properties of a configured item
will be readed.
will be read.
@descr To perform reading of all configuration items,
only standard properties will be handled. At a second
@ -304,7 +304,7 @@ class FilterCache : public BaseLock
/** @short force special fill state of this cache.
@descr This method checks, if all requested items/properties already
exist. Only missing information will be readed.
exist. Only missing information will be read.
Otherwise this method does nothing!
This method must be called from every user of this cache
@ -663,7 +663,7 @@ class FilterCache : public BaseLock
expensive one.
@param sDirectKey
the absolute configuration path, which should be readed.
the absolute configuration path, which should be read.
@return [css::uno::Any]
the value of the requested key.
@ -675,7 +675,7 @@ class FilterCache : public BaseLock
/** @short load the underlying configuration into this cache.
@descr Which items should be readed can be regulate by the
@descr Which items should be read can be regulate by the
parameter eRequiredState. That provides the possibility
to load standard values on startup only and update this
cache later on demand with all available information.
@ -749,7 +749,7 @@ class FilterCache : public BaseLock
provides access to the configuration set, which includes all items.
@param eType
specify, which container item type must be readed.
specify, which container item type must be read.
@param sItem
means the internal name, which can be used to address the item

View File

@ -144,7 +144,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css
/** @short checks, if the help module should be shown automatically for the
currently opened office module.
@descr This value is readed from the module configuration.
@descr This value is read from the module configuration.
In case the help should be shown, this method returns
a help URL, which can be used to show the right help content.

View File

@ -137,13 +137,13 @@ class JobData final
/**
the uno implementation name of this job.
It's readed from the configuration. Don't set it from outside!
It's read from the configuration. Don't set it from outside!
*/
OUString m_sService;
/**
the module context list of this job.
It's readed from the configuration. Don't set it from outside!
It's read from the configuration. Don't set it from outside!
*/
OUString m_sContext;
@ -159,8 +159,8 @@ class JobData final
OUString m_sEvent;
/**
job specific configuration items ... unknown for us!
It's readed from the configuration. Don't set it from outside!
job specific configuration items... unknown for us!
It's read from the configuration. Don't set it from outside!
*/
std::vector< css::beans::NamedValue > m_lArguments;

View File

@ -547,7 +547,7 @@ private:
- which recovery entries may already exists
@throw [com.sun.star.uno.RuntimeException]
if config could not be opened or readed successfully!
if config could not be opened or read successfully!
@threadsafe
*/
@ -560,7 +560,7 @@ private:
E.g. the recovery list is not addressed here.
@throw [com.sun.star.uno.RuntimeException]
if config could not be opened or readed successfully!
if config could not be opened or read successfully!
@threadsafe
*/

View File

@ -1402,8 +1402,8 @@ css::uno::Reference< css::util::XStringSubstitution > PathSettings::fa_getSubsti
if (! xSubst.is())
{
// create the needed substitution service.
// We must replace all used variables inside readed path values.
// In case we can't do so ... the whole office can't work really.
// We must replace all used variables inside read path values.
// In case we can't do so... the whole office can't work really.
// That's why it seems to be OK to throw a RuntimeException then.
xSubst = css::util::PathSubstitution::create(m_xContext);

View File

@ -38,7 +38,7 @@ public:
// Decode a base 64 encoded string into a sequence of bytes. The first
// version can be used for attribute values only, because it does not
// return any chars left from conversion.
// For text submitted throgh the SAX characters call, the later method
// For text submitted through the SAX characters call, the later method
// must be used!
static void decode(css::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);

View File

@ -456,7 +456,7 @@ public class AsciiReplaceFilter
// copy current buffer to the document model.
// Create a new paragraph for every line inside original file.
// May not all data could be readed - but that doesn't matter here.
// May not all data could be read - but that doesn't matter here.
// Reason: somewhere cancelled this function.
// But check for optional replace request before...
int nStart = 0;

View File

@ -2535,7 +2535,7 @@ void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pE
case SC_WID_UNO_TBLBORD:
case SC_WID_UNO_TBLBORD2:
{
//! loop throgh all ranges
//! loop through all ranges
if ( !aRanges.empty() )
{
const ScRange* pFirst = aRanges[ 0 ];
@ -3439,7 +3439,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryVisibleC
while (nCol <= MAXCOL)
{
if (rDoc.ColHidden(nCol, nTab, nullptr, &nLastCol))
// hidden columns. Unselect them.
// hidden columns. Deselect them.
aMarkData.SetMultiMarkArea(ScRange(nCol, 0, nTab, nLastCol, MAXROW, nTab), false);
nCol = nLastCol + 1;
@ -3449,7 +3449,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryVisibleC
while (nRow <= MAXROW)
{
if (rDoc.RowHidden(nRow, nTab, nullptr, &nLastRow))
// These rows are hidden. Unselect them.
// These rows are hidden. Deselect them.
aMarkData.SetMultiMarkArea(ScRange(0, nRow, nTab, MAXCOL, nLastRow, nTab), false);
nRow = nLastRow + 1;

View File

@ -432,7 +432,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf1(WW8_PIC const & rPic, SvStream* pSt,
if (!bOk)
{
delete pGraph;
return nullptr; // Graphic could not be readed correctly
return nullptr; // Graphic could not be read correctly
}
WW8PicDesc aPD( rPic );

View File

@ -675,13 +675,13 @@ bool SvtModuleOptions_Impl::ClassifyFactoryByName( const OUString& sName, SvtMod
/*-************************************************************************************************************
@short read factory configuration
@descr Give us a list of pure factory names (long names!) which can be used as
direct set node names ... and we read her property values and fill internal list.
direct set node names... and we read her property values and fill internal list.
These method can be used by initial reading at ctor and later updating by "Notify()".
@seealso ctor
@seealso method Notify()
@param "lFactories" is the list of set node entries which should be readed.
@param "lFactories" is the list of set node entries which should be read.
@onerror We do nothing.
@threadsafe no
*//*-*************************************************************************************************************/

View File

@ -939,7 +939,7 @@ GtkPrintDialog::impl_readFromSettings()
bChanged = true;
m_xWrapper->print_settings_set_collate(pSettings, bCollate);
}
// TODO: wth was this var. meant for?
// TODO: what was this variable meant for?
(void) bChanged;
m_xWrapper->print_unix_dialog_set_settings(GTK_PRINT_UNIX_DIALOG(m_pDialog), pSettings);