[Libreoffice-commits] core.git: scaddins/idl schema/odf1.0 scripting/source sdext/source sd/qa sd/source sfx2/source smoketest/com

Andrea Gelmini andrea.gelmini at gelma.net
Thu Mar 2 12:34:55 UTC 2017


 scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl      |    2 +-
 schema/odf1.0/OpenDocument-schema-v1.0-os.rng            |    2 +-
 scripting/source/provider/MasterScriptProvider.cxx       |    8 ++++----
 sd/qa/unit/tiledrendering/tiledrendering.cxx             |    4 ++--
 sd/source/core/stlsheet.cxx                              |    2 +-
 sd/source/ui/annotations/annotationmanager.cxx           |    2 +-
 sd/source/ui/dlg/RemoteDialogClientBox.cxx               |    2 +-
 sd/source/ui/docshell/docshel4.cxx                       |    2 +-
 sd/source/ui/unoidl/randomnode.cxx                       |    2 +-
 sd/source/ui/view/outlnvsh.cxx                           |    2 +-
 sdext/source/pdfimport/tree/writertreevisiting.cxx       |    2 +-
 sfx2/source/doc/DocumentMetadataAccess.cxx               |    2 +-
 sfx2/source/doc/sfxbasemodel.cxx                         |    4 ++--
 sfx2/source/notebookbar/ContextVBox.cxx                  |    2 +-
 sfx2/source/notebookbar/PriorityHBox.cxx                 |    2 +-
 smoketest/com/sun/star/comp/smoketest/TestExtension.java |    2 +-
 16 files changed, 21 insertions(+), 21 deletions(-)

New commits:
commit 51d996354f11048d7759cd7e206a2383421c2c81
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu Mar 2 10:03:34 2017 +0100

    Fix typos
    
    Change-Id: If5e709c9d6e3a4fbb568bdc261cccd214dd0cbd3
    Reviewed-on: https://gerrit.libreoffice.org/34784
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl b/scaddins/idl/com/sun/star/sheet/addin/XAnalysis.idl
index 4622f2a..995430c 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 cf4ee51..8f21e4c 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 e1599be..56faea3 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 1552292..10fb24b 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 190be22..a7dd13c 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 9edbb70..29278b4 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 fcb8cca..7c25286 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 2a000c5..71a96c2 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 d80f373..3edb7be 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 b499eb0..641fcd4 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 5184ea84..e778ff2 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 ce8374f..2d7d3c6 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 1d25ce1..5d46a2d 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 8b59cfa..a02cc51 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 91d9fb8..596fb5e 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 65fdfff..5da73bb 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.
              */
         }


More information about the Libreoffice-commits mailing list