[Libreoffice-commits] core.git: svx/inc svx/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 17:08:21 UTC 2017


 svx/inc/sdr/contact/viewcontactofgraphic.hxx            |    2 +-
 svx/inc/sdr/properties/attributeproperties.hxx          |    2 +-
 svx/source/accessibility/AccessibleControlShape.cxx     |    2 +-
 svx/source/customshapes/EnhancedCustomShapeGeometry.cxx |    2 +-
 svx/source/dialog/dlgctl3d.cxx                          |    2 +-
 svx/source/dialog/docrecovery.cxx                       |    2 +-
 svx/source/dialog/fntctrl.cxx                           |    2 +-
 svx/source/dialog/framelink.cxx                         |    2 +-
 svx/source/engine3d/view3d.cxx                          |    2 +-
 svx/source/fmcomp/fmgridcl.cxx                          |    2 +-
 svx/source/fmcomp/fmgridif.cxx                          |    4 ++--
 svx/source/form/fmshell.cxx                             |    2 +-
 svx/source/sdr/contact/viewcontactofvirtobj.cxx         |    2 +-
 svx/source/sdr/contact/viewobjectcontact.cxx            |    2 +-
 svx/source/sdr/overlay/overlaymanagerbuffered.cxx       |    2 +-
 svx/source/svdraw/svdograf.cxx                          |    2 +-
 svx/source/unodraw/UnoGraphicExporter.cxx               |    2 +-
 17 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit 98f18df02357523a1c2c52efd36171f9328ab6d4
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 12:52:52 2017 +0100

    Fix typos
    
    Change-Id: I77cf7fe3a57c031877facf5252b5a900526db48b
    Reviewed-on: https://gerrit.libreoffice.org/35646
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/svx/inc/sdr/contact/viewcontactofgraphic.hxx b/svx/inc/sdr/contact/viewcontactofgraphic.hxx
index a64d392cdcdf..eee418387bd6 100644
--- a/svx/inc/sdr/contact/viewcontactofgraphic.hxx
+++ b/svx/inc/sdr/contact/viewcontactofgraphic.hxx
@@ -65,7 +65,7 @@ namespace sdr
             // #i102380#
             void flushGraphicObjects();
 
-            // helpers for viusualisation state
+            // helpers for visualisation state
             bool visualisationUsesPresObj() const;
             bool visualisationUsesDraft() const;
 
diff --git a/svx/inc/sdr/properties/attributeproperties.hxx b/svx/inc/sdr/properties/attributeproperties.hxx
index 87ec2975b8ae..b60794c05904 100644
--- a/svx/inc/sdr/properties/attributeproperties.hxx
+++ b/svx/inc/sdr/properties/attributeproperties.hxx
@@ -38,7 +38,7 @@ namespace sdr
             void ImpRemoveStyleSheet();
 
         protected:
-            // the SytleSheet of this object
+            // the StyleSheet of this object
             SfxStyleSheet*                                  mpStyleSheet;
 
             // create a new itemset
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index c79a01a149c1..8a48a98faa6c 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -169,7 +169,7 @@ void AccessibleControlShape::Init()
         // way future-proof - as soon as an inner context appears which implements an additional interface,
         // we would need to adjust our implementation to support this new interface, too. Bad idea.
 
-        // The usual solution for such a problem is aggregation. Aggregation means using UNO's own meachnisms
+        // The usual solution for such a problem is aggregation. Aggregation means using UNO's own mechanism
         // for merging an inner with an outer component, and get a component which behaves as it is exactly one.
         // This is what XAggregation is for. Unfortunately, aggregation requires _exact_ control over the ref count
         // of the inner object, which we do not have at all.
diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
index 9608dc454fed..c2f8109af231 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
@@ -6743,7 +6743,7 @@ static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] =
 };
 static const sal_uInt16 mso_sptTextArchUpCurveSegm[] =
 {
-    0xA504, 0x8000      // clockwíse arc
+    0xA504, 0x8000      // clockwise arc
 };
 static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] =
 {
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx
index cd103ce9850e..80249e75f8eb 100644
--- a/svx/source/dialog/dlgctl3d.cxx
+++ b/svx/source/dialog/dlgctl3d.cxx
@@ -614,7 +614,7 @@ void Svx3DLightControl::Tracking( const TrackingEvent& rTEvt )
                 }
                 else
                 {
-                    // intercation start, save values
+                    // interaction start, save values
                     GetPosition(mfSaveActionStartHor, mfSaveActionStartVer);
                 }
 
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index e76dbcfeb8f8..7d48d705438d 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -440,7 +440,7 @@ void SAL_CALL RecoveryCore::statusChanged(const css::frame::FeatureStateEvent& a
     }
 
     // append as new one
-    // TODO think about mmatching Module name to a corresponding icon
+    // TODO think about matching Module name to a corresponding icon
     OUString sURL = aNew.OrgURL;
     if (sURL.isEmpty())
         sURL = aNew.FactoryURL;
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index 626065a5c412..b7be30bddb3c 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -221,7 +221,7 @@ inline bool FontPrevWin_Impl::Is100PercentFontWidthValid() const
 }
 
 /*
- * evalutates the scripttypes of the actual string.
+ * evaluates the scripttypes of the actual string.
  * Afterwards the positions of script change are notified in aScriptChg,
  * the scripttypes in aScriptType.
  * The aTextWidth array will be filled with zero.
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 83c68d44dd58..73d153e6a526 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -884,7 +884,7 @@ void lclDrawVerFrameBorder(
 }
 
 
-// Drawing of diagonal frame borders, incudes clipping functions.
+// Drawing of diagonal frame borders, includes clipping functions.
 
 /** Returns the drawing coordinates for a diagonal thin line.
 
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index d79d00da7642..df28c3c5ba56 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -175,7 +175,7 @@ void Impl3DMirrorConstructOverlay::SetMirrorAxis(Point aMirrorAxisA, Point aMirr
 
         if(xTargetOverlay.is())
         {
-            // build transfoprmation: translate and rotate so that given edge is
+            // build transformation: translate and rotate so that given edge is
             // on x axis, them mirror in y and translate back
             const basegfx::B2DVector aEdge(aMirrorAxisB.X() - aMirrorAxisA.X(), aMirrorAxisB.Y() - aMirrorAxisA.Y());
             basegfx::B2DHomMatrix aMatrixTransform(basegfx::tools::createTranslateB2DHomMatrix(
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index 141938b2ab5b..1c08880b0ef8 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -661,7 +661,7 @@ void FmGridHeader::PreExecuteColumnContextMenu(sal_uInt16 nColId, PopupMenu& rMe
     bool bDesignMode = static_cast<FmGridControl*>(GetParent())->IsDesignMode();
 
     Reference< css::container::XIndexContainer >  xCols(static_cast<FmGridControl*>(GetParent())->GetPeer()->getColumns());
-    // Aufbau des Insert Menues
+    // Aufbau des Insert Menus
     // mark the column if nColId != HEADERBAR_ITEM_NOTFOUND
     if(nColId > 0)
     {
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 0a679c367abf..36b5bf9ee82e 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -1047,7 +1047,7 @@ FmXGridPeer::FmXGridPeer(const Reference< XComponentContext >& _rxContext)
             ,m_pGridListener(nullptr)
             ,m_xContext(_rxContext)
 {
-    // Create must be called after this constructure
+    // Create must be called after this constructor
     m_pGridListener = new GridListenerDelegator( this );
 }
 
@@ -2825,7 +2825,7 @@ IMPL_LINK(FmXGridPeer, OnExecuteGridSlot, DbGridControlNavigationBarState, nSlot
 
     const std::vector<DbGridControlNavigationBarState>& aSlots = getSupportedGridSlots();
 
-    DBG_ASSERT((sal_Int32)aSlots.size() == aUrls.getLength(), "FmXGridPeer::OnExecuteGridSlot : inconstent data returned by getSupportedURLs/getSupportedGridSlots !");
+    DBG_ASSERT((sal_Int32)aSlots.size() == aUrls.getLength(), "FmXGridPeer::OnExecuteGridSlot : inconsistent data returned by getSupportedURLs/getSupportedGridSlots!");
 
     for (size_t i=0; i<aSlots.size(); ++i, ++pUrls)
     {
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index d73936b3544f..6f75d247510b 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -891,7 +891,7 @@ void FmFormShell::GetState(SfxItemSet &rSet)
                     bool bLayerLocked = false;
                     if (m_pFormView)
                     {
-                        // Ist der css::drawing::Layer gelocked, so m???ssen die Slots disabled werden. #36897
+                        // Ist der css::drawing::Layer gelocked, so müssen die Slots disabled werden. #36897
                         SdrPageView* pPV = m_pFormView->GetSdrPageView();
                         if (pPV != nullptr)
                             bLayerLocked = pPV->IsLayerLocked(m_pFormView->GetActiveLayer());
diff --git a/svx/source/sdr/contact/viewcontactofvirtobj.cxx b/svx/source/sdr/contact/viewcontactofvirtobj.cxx
index fed69a8e9aca..de4a2de1f44a 100644
--- a/svx/source/sdr/contact/viewcontactofvirtobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofvirtobj.cxx
@@ -52,7 +52,7 @@ sal_uInt32 ViewContactOfVirtObj::GetObjectCount() const
     // This solution is only a first solution to get things running. Later
     // this needs to be replaced with creating real VOCs for the objects
     // referenced by virtual objects to avoid the 'trick' of setting the
-    // offset for painting at the destination OutputDevive.
+    // offset for painting at the destination OutputDevice.
 
     // As can be seen, with primitives, the problem will be solved using
     // a transformPrimitive, so this solution can stay with primitives.
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index 6a1866681668..ff3c266bba01 100644
--- a/svx/source/sdr/contact/viewobjectcontact.cxx
+++ b/svx/source/sdr/contact/viewobjectcontact.cxx
@@ -134,7 +134,7 @@ void AnimatedExtractingProcessor2D::processBasePrimitive2D(const drawinglayer::p
         case PRIMITIVE2D_ID_TRANSFORMPRIMITIVE2D:
 
         // decompose evtl. animated text contained in MaskPrimitive2D
-        // or group rimitives
+        // or group primitives
         case PRIMITIVE2D_ID_MASKPRIMITIVE2D :
         case PRIMITIVE2D_ID_GROUPPRIMITIVE2D :
         {
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index ddb9b0a28026..939daf397fff 100644
--- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
@@ -342,7 +342,7 @@ namespace sdr
                 // care for a repaint of the child window. A transparent child window is NOT
                 // a window which always keeps it's content consistent over the parent, but it's
                 // more like just a paint flag for the parent.
-                // To get the update, the windows in question are updated manulally here.
+                // To get the update, the windows in question are updated manually here.
                 if(bTargetIsWindow)
                 {
                     vcl::Window& rWindow = static_cast< vcl::Window& >(mrOutputDevice);
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 1c2e93af572e..526202639e90 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -95,7 +95,7 @@ const Graphic ImpLoadLinkedGraphic( const OUString& aFileName, const OUString& a
 
         // #i123042# for e.g SVG the path is needed, so hand it over here. I have no real idea
         // what consequences this may have; maybe this is not handed over by purpose here. Not
-        // handing it over means that any GraphicFormat that internallv needs a path as base
+        // handing it over means that any GraphicFormat that internally needs a path as base
         // to interpret included links may fail.
         // Alternatively the path may be set at the result after this call when it is known
         // that it is a SVG graphic, but only because no one yet tried to interpret it.
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index d7a8e9d8053c..b2c76da96c76 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -177,7 +177,7 @@ namespace {
         SdrModel*           mpDoc;
     };
 
-    /** creates a bitmap that is optionaly transparent from a metafile
+    /** creates a bitmap that is optionally transparent from a metafile
     */
     BitmapEx GetBitmapFromMetaFile( const GDIMetaFile& rMtf, bool bTransparent, const Size* pSize )
     {


More information about the Libreoffice-commits mailing list