summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 10:03:34 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 12:34:21 +0000
commit51d996354f11048d7759cd7e206a2383421c2c81 (patch)
tree4c34da7dbec966bcceb3477ac14c2eda1be2e84c
parentb068d9fb8d29e06ff652b1493605cea22a9199f3 (diff)
Fix typos
Change-Id: If5e709c9d6e3a4fbb568bdc261cccd214dd0cbd3 Reviewed-on: https://gerrit.libreoffice.org/34784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl2
-rw-r--r--schema/odf1.0/OpenDocument-schema-v1.0-os.rng2
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx8
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx4
-rw-r--r--sd/source/core/stlsheet.cxx2
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx2
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx2
-rw-r--r--sd/source/ui/docshell/docshel4.cxx2
-rw-r--r--sd/source/ui/unoidl/randomnode.cxx2
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx2
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx2
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx4
-rw-r--r--sfx2/source/notebookbar/ContextVBox.cxx2
-rw-r--r--sfx2/source/notebookbar/PriorityHBox.cxx2
-rw-r--r--smoketest/com/sun/star/comp/smoketest/TestExtension.java2
16 files changed, 21 insertions, 21 deletions
diff --git a/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl b/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl
index 4622f2acefb6..995430c69fce 100644
--- a/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl
+++ b/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl
@@ -423,7 +423,7 @@ module addin
double getPrice(
[in] com::sun::star::beans::XPropertySet xOptions,
[in] long Settlement, [in] long Maturity, [in] double Rate, [in] double Yield,
- [in] double Redemption, [in] long Frequncy, [in] any Base )
+ [in] double Redemption, [in] long Frequency, [in] any Base )
raises( com::sun::star::lang::IllegalArgumentException );
/// pricedisc.
diff --git a/schema/odf1.0/OpenDocument-schema-v1.0-os.rng b/schema/odf1.0/OpenDocument-schema-v1.0-os.rng
index cf4ee51741a5..8f21e4caf46a 100644
--- a/schema/odf1.0/OpenDocument-schema-v1.0-os.rng
+++ b/schema/odf1.0/OpenDocument-schema-v1.0-os.rng
@@ -14009,7 +14009,7 @@
<define name="shadowType">
<choice>
<value>none</value>
- <!-- The follwing string must match an XSL shadow decl -->
+ <!-- The following string must match an XSL shadow decl -->
<ref name="string"/>
</choice>
</define>
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index e1599be206bc..56faea32c6d2 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -280,7 +280,7 @@ MasterScriptProvider::getScript( const OUString& scriptURI )
// for languages other than basic, scripts located in uno packages
// are merged into the user/share location context.
// For other languages the location attribute in script url has the form
- // location = [user|share]:uno_packages or location :uno_pacakges/xxxx.uno.pkg
+ // location = [user|share]:uno_packages or location :uno_packages/xxxx.uno.pkg
// we need to extract the value of location part from the
// location attribute of the script, if the script is located in an
// uno package then that is the location part up to and including
@@ -495,7 +495,7 @@ MasterScriptProvider::insertByName( const OUString& aName, const Any& aElement )
throw lang::IllegalArgumentException( "Name not set!!",
Reference < XInterface > (), 1 );
}
- // TODO for library pacakge parse the language, for the moment will try
+ // TODO for library package parse the language, for the moment will try
// to get each provider to process the new Package, the first one the succeeds
// will terminate processing
if ( !providerCache() )
@@ -563,7 +563,7 @@ MasterScriptProvider::removeByName( const OUString& Name )
throw lang::IllegalArgumentException( "Name not set!!",
Reference < XInterface > (), 1 );
}
- // TODO for Script library pacakge url parse the language,
+ // TODO for Script library package url parse the language,
// for the moment will just try to get each provider to process remove/revoke
// request, the first one the succeeds will terminate processing
@@ -659,7 +659,7 @@ MasterScriptProvider::hasByName( const OUString& aName )
throw lang::IllegalArgumentException( "Name not set!!",
Reference < XInterface > (), 1 );
}
- // TODO for Script library pacakge url parse the language,
+ // TODO for Script library package url parse the language,
// for the moment will just try to get each provider to see if the
// package exists in any provider, first one that succeed will
// terminate the loop
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 1552292e5df6..10fb24bfc3ad 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1481,7 +1481,7 @@ void SdTiledRenderingTest::testTdf104405()
xmlDocPtr pXmlDoc = parseXmlDump();
OString aPrefix = "/SdDrawDocument/SdrModel/SdPage/SdrObjList/SdrTableObj/SdrTableObjImpl"
"/TableModel/Cell[1]/DefaultProperties/SfxItemSet/SdrTextVertAdjustItem";
- // the following name has a compiler-dependant part
+ // the following name has a compiler-dependent part
CPPUNIT_ASSERT_EQUAL(getXPath(pXmlDoc, aPrefix, "value"), OUString("2"));
xmlFreeDoc(pXmlDoc);
@@ -1575,7 +1575,7 @@ void SdTiledRenderingTest::testCommentCallbacks()
{
// Load the document.
comphelper::LibreOfficeKit::setActive();
- // Set the tield annotations off
+ // Set the tiled annotations off
comphelper::LibreOfficeKit::setTiledAnnotations(false);
SdXImpressDocument* pXImpressDocument = createDoc("dummy.odp", comphelper::InitPropertySequence(
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 190be22158f7..a7dd13cc925d 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -526,7 +526,7 @@ void SdStyleSheet::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
return;
/* if the dummy gets a notify about a changed attribute, he takes care that
- the actual ment style sheet sends broadcasts. */
+ the actual meant style sheet sends broadcasts. */
if (rHint.GetId() == SfxHintId::DataChanged)
{
SdStyleSheet* pRealStyle = GetRealStyleSheet();
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 9edbb70efb3a..29278b4fdc63 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -113,7 +113,7 @@ namespace {
void lcl_CommentNotification(CommentNotificationType nType, const SfxViewShell* pViewShell, Reference<XAnnotation>& rxAnnotation)
{
- // callbacks only if tiled annotations are explicltly turned off by LOK client
+ // callbacks only if tiled annotations are explicitly turned off by LOK client
if (!comphelper::LibreOfficeKit::isActive() || comphelper::LibreOfficeKit::isTiledAnnotations())
return;
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index fcb8cca4c0ba..7c25286c1b81 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -214,7 +214,7 @@ long ClientBox::GetActiveEntryIndex()
//This function may be called with nPos < 0
void ClientBox::selectEntry( const long nPos )
{
- //ToDo whe should not use the guard at such a big scope here.
+ //ToDo we should not use the guard at such a big scope here.
//Currently it is used to guard m_vEntries and m_nActive. m_nActive will be
//modified in this function.
//It would be probably best to always use a copy of m_vEntries
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 2a000c57152f..71a96c2705ab 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -270,7 +270,7 @@ bool DrawDocShell::Load( SfxMedium& rMedium )
mbNewDocument = false;
// If this is an ODF file being loaded, then by default, use legacy processing
- // for tdf#99729 (if required, it will be overriden in *::ReadUserDataSequence())
+ // for tdf#99729 (if required, it will be overridden in *::ReadUserDataSequence())
if (IsOwnStorageFormat(rMedium))
{
mpDoc->SetAnchoredTextOverflowLegacy(true);
diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx
index d80f373a9b5b..3edb7be657f3 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -136,7 +136,7 @@ public:
Reference< XAnimationNode > SAL_CALL appendChild( const Reference< XAnimationNode >& newChild ) override;
private:
- // our first, last and only protection from mutli-threads!
+ // our first, last and only protection from multi-threads!
Mutex maMutex;
sal_Int16 mnPresetClass;
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index b499eb02a334..641fcd429d80 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -847,7 +847,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
bool bDisableCollapseAll = true;
bool bDisableExpandAll = true;
- // does the selection contain something collapsable/expandable?
+ // does the selection contain something collapsible/expandable?
if (!bDisableCollapse)
bDisableCollapseAll = false;
if (!bDisableExpand)
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 5184ea84668f..e778ff2cf224 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -964,7 +964,7 @@ void WriterXmlFinalizer::visit( ParagraphElement& elem, const std::list< Element
if( elem.Parent )
{
- // check for center alignement
+ // check for center alignment
// criterion: paragraph is small relative to parent and distributed around its center
double p_x = elem.Parent->x;
double p_w = elem.Parent->w;
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index ce8374fc9fd0..2d7d3c685e40 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -439,7 +439,7 @@ mkException( OUString const & i_rMessage,
<ul><li>(default:) cancel import, raise exception</li>
<li>ignore the error and continue</li>
<li>retry the action that led to the error</li></ul></p>
- N.B.: must not be called before DMA is fully initalized!
+ N.B.: must not be called before DMA is fully initialized!
@returns true iff caller should retry
*/
static bool
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 1d25ce1b8e20..5d46a2db7c60 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -4368,7 +4368,7 @@ SfxBaseModel::loadMetadataFromStorage(
} catch (lang::IllegalArgumentException &) {
throw; // not initialized
} catch (Exception &) {
- // UGLY: if it's a RuntimeException, we can't be sure DMA is initialzed
+ // UGLY: if it's a RuntimeException, we can't be sure DMA is initialized
m_pData->m_xDocumentMetadata = xDMA;
throw;
}
@@ -4407,7 +4407,7 @@ SfxBaseModel::loadMetadataFromMedium(
} catch (lang::IllegalArgumentException &) {
throw; // not initialized
} catch (Exception &) {
- // UGLY: if it's a RuntimeException, we can't be sure DMA is initialzed
+ // UGLY: if it's a RuntimeException, we can't be sure DMA is initialized
m_pData->m_xDocumentMetadata = xDMA;
throw;
}
diff --git a/sfx2/source/notebookbar/ContextVBox.cxx b/sfx2/source/notebookbar/ContextVBox.cxx
index 8b59cfaf5dce..a02cc51051ee 100644
--- a/sfx2/source/notebookbar/ContextVBox.cxx
+++ b/sfx2/source/notebookbar/ContextVBox.cxx
@@ -24,7 +24,7 @@
#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
/*
- * ContextVBox is a VclVBox which shows own childs depending on current context.
+ * ContextVBox is a VclVBox which shows own children depending on current context.
* This control can be used in the notebookbar .ui files
*/
diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx
index 91d9fb877e87..596fb5e72912 100644
--- a/sfx2/source/notebookbar/PriorityHBox.cxx
+++ b/sfx2/source/notebookbar/PriorityHBox.cxx
@@ -31,7 +31,7 @@ bool lcl_comparePriority(const vcl::IPrioritable* a, const vcl::IPrioritable* b)
}
/*
- * PriorityHBox is a VclHBox which hides own childs if there is no sufficient space.
+ * PriorityHBox is a VclHBox which hides its own children if there is no sufficient space.
* Hiding order can be modified using child's priorities. If a control have default
* priority assigned (VCL_PRIORITY_DEFAULT), it is always shown.
*/
diff --git a/smoketest/com/sun/star/comp/smoketest/TestExtension.java b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
index 65fdfff75dff..5da73bb00a91 100644
--- a/smoketest/com/sun/star/comp/smoketest/TestExtension.java
+++ b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
@@ -118,7 +118,7 @@ public class TestExtension {
public void initialize( Object[] object )
throws com.sun.star.uno.Exception {
/* The component describes what arguments its expected and in which
- * order!At this point you can read the objects and can intialize
+ * order!At this point you can read the objects and can initialize
* your component using these objects.
*/
}