[Libreoffice-commits] core.git: starmath/inc starmath/source stoc/source svgio/inc svgio/source

Andrea Gelmini andrea.gelmini at gelma.net
Wed Sep 30 03:46:10 PDT 2015


 starmath/inc/starmath.hrc                     |    2 +-
 starmath/source/accessibility.cxx             |    2 +-
 starmath/source/cursor.cxx                    |    2 +-
 starmath/source/document.cxx                  |    2 +-
 starmath/source/mathmlimport.cxx              |    2 +-
 starmath/source/mathtype.cxx                  |    4 ++--
 starmath/source/view.cxx                      |    2 +-
 starmath/source/visitors.cxx                  |    2 +-
 stoc/source/javavm/javavm.cxx                 |    3 +--
 stoc/source/security/access_controller.cxx    |    4 ++--
 svgio/inc/svgio/svgreader/svgnode.hxx         |    2 +-
 svgio/source/svgreader/svgnode.cxx            |    2 +-
 svgio/source/svgreader/svgstyleattributes.cxx |    4 ++--
 13 files changed, 16 insertions(+), 17 deletions(-)

New commits:
commit 7319f5faccc74dd1a0662c803a2c1428f7b7446e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 18:09:26 2015 +0200

    Fix typos
    
    Change-Id: Ic3d2171521e308261c354d8f699b44b26c95f1ea
    Reviewed-on: https://gerrit.libreoffice.org/18978
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index 6bf6e21..9a64513 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -515,7 +515,7 @@
 #define RID_CATEGORY_OTHERS                 (RID_APP_START + 4009)
 #define RID_CATEGORY_EXAMPLES               (RID_APP_START + 4010)
 
-// more tooptips help texts
+// more tooltips help texts
 #define RID_XEQY_HELP               (RID_APP_START + 4011)
 #define RID_XNEQY_HELP              (RID_APP_START + 4012)
 #define RID_XEQUIVY_HELP            (RID_APP_START + 4013)
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 7831b15..843ec7c 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -1145,7 +1145,7 @@ static SfxItemState GetSvxEditEngineItemState( EditEngine& rEditEngine, const ES
             // 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/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index c8ad785..3449384 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -1458,7 +1458,7 @@ void SmCursor::EndEdit(){
     if( pDocShell->GetCreateMode() == SfxObjectCreateMode::EMBEDDED )
         pDocShell->OnDocumentPrinterChanged(0);
 
-    //Request a replaint...
+    //Request a repaint...
     RequestRepaint();
 
     //Update the edit engine and text of the document
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index b38a55f..c240e7c 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -1279,7 +1279,7 @@ void SmDocShell::SetVisArea(const Rectangle & rVisArea)
         EnableSetModified( false );
 
     //TODO/LATER: it's unclear how this interacts with the SFX code
-    // If outplace editing, then dont resize the OutplaceWindow. But the
+    // If outplace editing, then don't resize the OutplaceWindow. But the
     // ObjectShell has to resize. Bug 56470
     bool bUnLockFrame;
     if( GetCreateMode() == SfxObjectCreateMode::EMBEDDED && !IsInPlaceActive() && GetFrame() )
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 9514aab..19a3890 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -1055,7 +1055,7 @@ void SmXMLErrorContext_Impl::EndElement()
     /*Right now the error tag is completely ignored, what
      can I do with it in starmath, ?, maybe we need a
      report window ourselves, do a test for validity of
-     the xml input, use merrors, and then generate
+     the xml input, use mirrors, and then generate
      the markup inside the merror with a big red colour
      of something. For now just throw them all away.
      */
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 5948272..4c9d08a 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -637,8 +637,8 @@ void MathType::HandleNudge()
         pS->ReadUInt16( nYLongNudge );
     }
 }
-/*Fabously complicated as many tokens have to be reordered and generally
- *moved around from mathtypes paradigm to starmaths.*/
+/* Fabulously complicated as many tokens have to be reordered and generally
+ * moved around from mathtypes paradigm to starmaths. */
 int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
     sal_uInt8 nVariation, int nMatrixRows,int nMatrixCols)
 {
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 574755b..d548b61 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -822,7 +822,7 @@ IMPL_LINK_NOARG_TYPED( SmCmdBoxWindow, InitialFocusTimerHdl, Timer *, void )
     // Problem: There is no proper way to do this
     // Thus: this timer based solution has been implemented (see GrabFocus below)
 
-    // Follow-up problem (#i114910): grabing the focus may bust the help system since
+    // Follow-up problem (#i114910): grabbing the focus may bust the help system since
     // it relies on getting the current frame which conflicts with grabbing the focus.
     // Thus aside from the 'GrabFocus' call everything else is to get the
     // help reliably working despite using 'GrabFocus'.
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 301a637..54e6961 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -1568,7 +1568,7 @@ void SmCaretPosGraphBuildingVisitor::Visit( SmAttributNode* pNode )
     mpRightMost = right;
 }
 
-//Consider these single symboles
+//Consider these single symbols
 void SmCaretPosGraphBuildingVisitor::Visit( SmSpecialNode* pNode )
 {
     SmCaretPosGraphEntry* right = mpGraph->Add( SmCaretPos( pNode, 1 ), mpRightMost );
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 1684d11..382ae89 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -753,8 +753,7 @@ JavaVirtualMachine::getJavaVM(css::uno::Sequence< sal_Int8 > const & rProcessId)
         case JFW_E_NONE: bStarted = true; break;
         case JFW_E_NO_SELECT:
         {
-            // No Java configured. We silenty run the java configuration
-            // Java.
+            // No Java configured. We silently run the Java configuration
             info.clear();
             javaFrameworkError errFind = jfw_findAndSelectJRE(&info.info);
             if (getenv("STOC_FORCE_NO_JRE"))
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index d984fdd..d22a073 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -750,7 +750,7 @@ PermissionCollection AccessController::getEffectivePermissions(
     }
     catch (RuntimeException &)
     {
-        // dont check postponed, just cleanup
+        // don't check postponed, just cleanup
         clearPostPoned();
         delete static_cast< t_rec_vec * >( m_rec.getData() );
         m_rec.setData( 0 );
@@ -765,7 +765,7 @@ PermissionCollection AccessController::getEffectivePermissions(
     }
     catch (...)
     {
-        // dont check postponed, just cleanup
+        // don't check postponed, just cleanup
         clearPostPoned();
         throw;
     }
diff --git a/svgio/inc/svgio/svgreader/svgnode.hxx b/svgio/inc/svgio/svgreader/svgnode.hxx
index 129e3f5..34a1505 100644
--- a/svgio/inc/svgio/svgreader/svgnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgnode.hxx
@@ -112,7 +112,7 @@ namespace svgio
             // node hierarchy itself which also needs to be used in style entry solving
             SvgStyleAttributeVector     maCssStyleVector;
 
-            /// possibbe local CssStyle, e.g. style="fill:red; stroke:red;"
+            /// possible local CssStyle, e.g. style="fill:red; stroke:red;"
             SvgStyleAttributes*         mpLocalCssStyle;
 
             /// bitfield
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 88cc39d..2ea11be 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -230,7 +230,7 @@ namespace svgio
                 // only changing some pointers.
                 // The alternative would be to create the style hierarchy for every element (or even
                 // for the element containing the hierarchy) in a vector of pointers and to use that.
-                // Resetting the CssStyleParent on rOriginal is probably not needeed
+                // Resetting the CssStyleParent on rOriginal is probably not needed
                 // but simply safer to do.
                 const_cast< SvgStyleAttributes& >(rOriginal).setCssStyleParent(0);
 
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 1ca8d64..ae9bb3a 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -305,7 +305,7 @@ namespace svgio
 
                 // add fill. Use geometry even for simple color fill when stroke
                 // is used, else text rendering and the geometry-based stroke will
-                // normally not really match optically due to divrese system text
+                // normally not really match optically due to diverse system text
                 // renderers
                 if(aMergedArea.count() && (pFillGradient || pFillPattern || bStrokeUsed))
                 {
@@ -964,7 +964,7 @@ namespace svgio
                                 {
                                     const sal_uInt32 nPointIndex(b % nSubPolygonPointCount);
 
-                                    // get entering and leaving tangents; this will search backward/froward
+                                    // get entering and leaving tangents; this will search backward/forward
                                     // in the polygon to find tangents unequal to zero, skipping empty edges
                                     // see basegfx descriptions)
                                     // Hint: Mozilla, Inkscape and others use only leaving tangent for start marker


More information about the Libreoffice-commits mailing list