Fix typos
Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d
Reviewed-on: https://gerrit.libreoffice.org/18947
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 885525c..34cee4a 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -85,7 +85,7 @@ namespace editeng
const vcl::Font* m_pTargetFont; // target font of new replacement text
sal_Int32 m_nConvOptions; // text conversion options (as used by 'getConversions')
bool m_bIsInteractive; // specifies if the conversion requires user interaction
// (and likeley a specialised dialog) or if it is to run
// (and likely a specialised dialog) or if it is to run
// automatically without any user interaction.
// True for Hangul / Hanja conversion
// False for Chinese simlified / traditional conversion
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 4f1cde2..912968a 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1055,7 +1055,7 @@ bool SvxAutoCorrect::FnCapitalStartSentence( SvxAutoCorrDoc& rDoc,
sChar = rCC.titlecase(sChar); //see fdo#56740
bool bRet = sChar[0] != cSave && rDoc.ReplaceRange( nSttPos, 1, sChar );
// Parahaps someone wants to have the word
// Perhaps someone wants to have the word
if( bRet && SaveWordCplSttLst & nFlags )
rDoc.SaveCpltSttWord( CapitalStartSentence, nSttPos, sWord, cSave );
@@ -2751,7 +2751,7 @@ SvxAutocorrWordList::Content SvxAutocorrWordList::getSortedContent() const
// convert from hash to set permanantly
if ( mpImpl->maSet.empty() )
{
// This beasty has some O(N log(N)) in a terribly slow ICU collate fn.
// This beast has some O(N log(N)) in a terribly slow ICU collate fn.
for (AutocorrWordHashType::const_iterator it = mpImpl->maHash.begin(); it != mpImpl->maHash.end(); ++it)
mpImpl->maSet.insert( it->second );
mpImpl->maHash.clear();
diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx
index 1ac87ac..12d5005 100644
--- a/editeng/source/outliner/outleeng.hxx
+++ b/editeng/source/outliner/outleeng.hxx
@@ -30,7 +30,7 @@ class OutlinerEditEng : public EditEngine
protected:
// derived from EditEngine. Allows Outliner objetcs to provide
// derived from EditEngine. Allows Outliner objects to provide
// bullet access to the EditEngine.
virtual const SvxNumberFormat* GetNumberFormat( sal_Int32 nPara ) const SAL_OVERRIDE;
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 1e11a0f..a7c81ae 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -918,7 +918,7 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
// at the beginning of a paragraph? Move back one position
sal_Int32 nNd = pInsPos->GetNodeIdx();
MovePos(false);
// if can not move backward then later dont move forward !
// if can not move backward then later don't move forward !
bCrsrBack = nNd != pInsPos->GetNodeIdx();
}
diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx
index f8de955..0d90aa9 100644
--- a/editeng/source/uno/unofored.cxx
+++ b/editeng/source/uno/unofored.cxx
@@ -216,7 +216,7 @@ SfxItemState GetSvxEditEngineItemState( EditEngine& rEditEngine, const ESelectio
// if we already found an item
if( pParaItem )
{
// ... and its different to this one than the state is dont care
// ... and its different to this one than the state is don't care
if(*pParaItem != *(i->pAttr))
return SfxItemState::DONTCARE;
}
diff --git a/embeddedobj/source/msole/advisesink.cxx b/embeddedobj/source/msole/advisesink.cxx
index 10a5fee..2f837ed 100644
--- a/embeddedobj/source/msole/advisesink.cxx
+++ b/embeddedobj/source/msole/advisesink.cxx
@@ -101,7 +101,7 @@ STDMETHODIMP_(void) OleWrapperAdviseSink::OnRename(LPMONIKER)
STDMETHODIMP_(void) OleWrapperAdviseSink::OnSave()
{
// TODO: ???
// The object knows about document saving already since it contolls it as ClienSite
// The object knows about document saving already since it controls it as ClienSite
// other interested listeners must be registered for the object
}
diff --git a/embeddedobj/source/msole/xdialogcreator.cxx b/embeddedobj/source/msole/xdialogcreator.cxx
index 1f425d6..7600a95 100644
--- a/embeddedobj/source/msole/xdialogcreator.cxx
+++ b/embeddedobj/source/msole/xdialogcreator.cxx
@@ -319,7 +319,7 @@ embed::InsertedObjectInfo SAL_CALL MSOLEDialogObjectCreator::createInstanceInitF
aObjectInfo.Object = xResult;
// TODO/LATER: in case of iconifie object the icon should be stored in aObjectInfo
// TODO/LATER: in case of iconify object the icon should be stored in aObjectInfo
OSL_ENSURE( aObjectInfo.Object.is(), "No object was created!\n" );
if ( !aObjectInfo.Object.is() )
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index ab334d0..2749fd0 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -517,7 +517,7 @@ namespace dbp
// the shape of the control
implDetermineShape();
// get the columns of the object the settins refer to
// get the columns of the object the settings refer to
Reference< XNameAccess > xColumns;
if (m_aContext.xForm.is())
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 30910da..794cb25 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -142,7 +142,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t)
// Put or Get property, the implementation code has no business guessing that, it's up to the caller to decide that. Worse XDirectInvocation duplicates lots of code.
// XAutomationInvocation provides separate calls for put& get
// properties. Note: Currently the basic runtime doesn't call put properties directly, it should... after all the basic runtime should know whether it is calling a put or get property.
// For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side ( and for the momemnt at least I would prefer the basic
// For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side (and for the moment at least I would prefer the basic
// runtime to call XAutomationInvocation instead of XDirectInvoke
return WeakImplHelper<XBridgeSupplier2,
XInitialization, XAutomationObject, XDefaultProperty, XDefaultMethod, XDirectInvocation, XAutomationInvocation >::queryInterface(t);
@@ -658,7 +658,7 @@ sal_Bool SAL_CALL IUnknownWrapper_Impl::hasProperty( const OUString& aName )
VarDesc aVarDesc(pInfo);
getPropDesc(aName, & aDescGet, & aDescPut, & aVarDesc);
// we should probably just check the funckind
// we should probably just check the func kind
// basic has been modified to handle properties ( 'get' ) props at
// least with parameters
// additionally you can call invoke(Get|Set)Property on the bridge
@@ -2023,7 +2023,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc,
int outParamIndex=0;
for (int paramIndex = 0; paramIndex < nUnoArgs; paramIndex ++)
{
//Determine the index within the method sinature
//Determine the index within the method signature
int realParamIndex = paramIndex;
int revParamIndex = dispparams.cArgs - paramIndex - 1;
if (Params[paramIndex].getValueType()
diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx
index de287db..161af47 100644
--- a/extensions/source/ole/oleobjw.hxx
+++ b/extensions/source/ole/oleobjw.hxx
@@ -235,7 +235,7 @@ protected:
CComPtr<IUnknown> m_spUnknown;
CComPtr<IDispatch> m_spDispatch;
OUString m_sTypeName; // is "" ( not initialised ), "IDispatch" ( we have no idea ) or "SomeLibrary.SomeTypeName" if we managed to get a type
/** This value is set dureing XInitialization::initialize. It indicates that the COM interface
/** This value is set during XInitialization::initialize. It indicates that the COM interface
was transported as VT_DISPATCH in a VARIANT rather then a VT_UNKNOWN
*/
sal_Bool m_bOriginalDispatch;
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index d429adc..552a4af 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -616,9 +616,9 @@ namespace pcr
// The only exception is the user pressing "DEL" while the control has the focus, in this case, we reset the
// control content to an empty string. So this is the only scenario where this method is allowed to be called.
// Striclty, we would be able to convert the display value to a property value,
// Strictly, we would be able to convert the display value to a property value,
// using the "name (location, language)" format we used in convertToControlValue. However,
// there is no need for this code ...
// there is no need for this code...
aAssignedScript.ScriptCode = sNewScriptCode;
return makeAny( aAssignedScript );
diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx
index 32025fc..5533849 100644
--- a/extensions/source/propctrlr/formcomponenthandler.hxx
+++ b/extensions/source/propctrlr/formcomponenthandler.hxx
@@ -171,7 +171,7 @@ namespace pcr
If the component is a RowSet itself, it's returned directly. Else, the parent
is examined for the XRowSet interface. If the parent is no XRowSet, then
a check is made whether our component is a grid control column, and if so,
the parent of the grid control is examied for the XRowSet interace.
the parent of the grid control is examined for the XRowSet interace.
Normally, at least one of those methods should succeed.
*/
@@ -245,7 +245,7 @@ namespace pcr
const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlFactory >& _rxControlFactory
) const;
/** displays a datbase-related error to the user
/** displays a database-related error to the user
*/
void impl_displaySQLError_nothrow( const ::dbtools::SQLExceptionInfo& _rErrorDescriptor ) const;
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 2f2b83ad..feeeaa2 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -95,7 +95,7 @@ namespace pcr
// and insert all entries below this root into the listbox
if (xSearch.is())
{
// check which service the allowed components must suppport
// check which service the allowed components must support
sal_Int16 nClassId = 0;
try { nClassId = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); } catch(...) { }
m_sRequiredService = (FormComponentType::RADIOBUTTON == nClassId) ? OUString(SERVICE_COMPONENT_GROUPBOX) : OUString(SERVICE_COMPONENT_FIXEDTEXT);
diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx
index 5134f4e..ec4437b 100644
--- a/extensions/source/update/check/updatecheckconfig.hxx
+++ b/extensions/source/update/check/updatecheckconfig.hxx
@@ -98,7 +98,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext,
const ::rtl::Reference< UpdateCheckConfigListener >& rListener = ::rtl::Reference< UpdateCheckConfigListener >());
// Should really implement ROModel ..
// Should really implement ROModel...
bool isAutoCheckEnabled() const;
bool isAutoDownloadEnabled() const;
OUString getUpdateEntryVersion() const;
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java
index e8e5a81..c51e2c8 100644
--- a/filter/qa/complex/filter/detection/typeDetection/Helper.java
+++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java
@@ -40,7 +40,7 @@ import util.utils;
/** Helper class for "TypeDetection"
* This class do file hanlding.
* This class do file handling.
*/
public class Helper {