sc/source/ui/vba/vbaapplication.cxx |    4 ++--
 sc/source/ui/vba/vbaaxes.cxx        |    2 +-
 sc/source/ui/vba/vbafont.cxx        |    2 +-
 sc/source/ui/vba/vbarange.cxx       |   10 +++++-----
 sc/source/ui/vba/vbarange.hxx       |    2 +-
 sc/source/ui/vba/vbaworksheet.cxx   |    2 +-
 sc/source/ui/view/dbfunc3.cxx       |    2 +-
 sc/source/ui/view/drawview.cxx      |    2 +-
 sc/source/ui/view/formatsh.cxx      |    6 +++---
 sc/source/ui/view/gridwin.cxx       |    8 ++++----
 sc/source/ui/view/gridwin3.cxx      |    2 +-
 sc/source/ui/view/gridwin4.cxx      |    4 ++--
 sc/source/ui/view/output2.cxx       |    2 +-
 sc/source/ui/view/printfun.cxx      |    4 ++--
 sc/source/ui/view/tabview2.cxx      |    2 +-
 15 files changed, 27 insertions(+), 27 deletions(-)

New commits:
commit 24b60f65a5dbf7f8f7e54c0ffd1210dc4ba8363d
Author: Andrea Gelmini <andrea.gelm...@gelma.net>
Date:   Wed Sep 30 12:08:53 2015 +0200

    Fix typos
    
    Change-Id: Ifb52f4a5a547a5a52462c0f9166aad13cbf21cd9
    Reviewed-on: https://gerrit.libreoffice.org/18971
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/sc/source/ui/vba/vbaapplication.cxx 
b/sc/source/ui/vba/vbaapplication.cxx
index 859ec90..7cd16bb 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -585,7 +585,7 @@ ScVbaApplication::GoTo( const uno::Any& Reference, const 
uno::Any& Scroll ) thro
         {
             //maybe this should be a procedure name
             //TODO for procedure name
-            //browse::XBrowseNodeFactory is a singlton. OUString( 
"/singletons/com.sun.star.script.browse.theBrowseNodeFactory")
+            //browse::XBrowseNodeFactory is a singleton. OUString( 
"/singletons/com.sun.star.script.browse.theBrowseNodeFactory")
             //and the createView( 
browse::BrowseNodeFactoryViewTypes::MACROSELECTOR ) to get a root 
browse::XBrowseNode.
             //for query XInvocation interface.
             //but how to directly get the XInvocation?
@@ -601,7 +601,7 @@ ScVbaApplication::GoTo( const uno::Any& Reference, const 
uno::Any& Scroll ) thro
         ScGridWindow* gridWindow = 
static_cast<ScGridWindow*>(pShell->GetWindow());
         if ( xVbaRange.is() )
         {
-            //TODO bScroll should be using, In this time, it doesenot have 
effection
+            //TODO bScroll should be using. An this time, it does not have 
effection
             if( bScroll )
             {
                 xVbaRange->Select();
diff --git a/sc/source/ui/vba/vbaaxes.cxx b/sc/source/ui/vba/vbaaxes.cxx
index 12ee55c..7e81431 100644
--- a/sc/source/ui/vba/vbaaxes.cxx
+++ b/sc/source/ui/vba/vbaaxes.cxx
@@ -172,7 +172,7 @@ ScVbaAxes::Item( const css::uno::Any& _nType, const 
css::uno::Any& _oAxisGroup)
 {
     // #TODO map the possible index combinations to a container::XIndexAccess 
wrapper impl
     // using a vector of valid std::pair maybe?
-    // bodgy helperapi port bits
+    // body helper api port bits
     sal_Int32 nAxisGroup = xlPrimary;
     sal_Int32 nType = -1;
     if ( !_nType.hasValue() || !( _nType >>= nType ) )
diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx
index 5715f4d..0a39355 100644
--- a/sc/source/ui/vba/vbafont.cxx
+++ b/sc/source/ui/vba/vbafont.cxx
@@ -235,7 +235,7 @@ ScVbaFont::setColorIndex( const uno::Any& _colorindex ) 
throw( uno::RuntimeExcep
 
     if ( !nIndex || ( nIndex == excel::XlColorIndex::xlColorIndexAutomatic ) )
         {
-        nIndex = 1;  // check defualt ( assume black )
+        nIndex = 1;  // check default ( assume black )
                 ScVbaFont_BASE::setColorIndex( uno::makeAny( nIndex ) );
         }
         else
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 29596bc..ba05f97 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1168,7 +1168,7 @@ bool getScRangeListForAddress( const OUString& sName, 
ScDocShell* pDocSh, ScRang
     // see if there is a match with a named range
     uno::Reference< beans::XPropertySet > xProps( pDocSh->GetModel(), 
uno::UNO_QUERY_THROW );
     uno::Reference< container::XNameAccess > xNameAccess( 
xProps->getPropertyValue( "NamedRanges" ), uno::UNO_QUERY_THROW );
-    // Strangly enough you can have Range( "namedRange1, namedRange2, etc," )
+    // Strange enough you can have Range( "namedRange1, namedRange2, etc," )
     // loop around each ',' separated name
     std::vector< OUString > vNames;
     sal_Int32 nIndex = 0;
@@ -3553,13 +3553,13 @@ ScVbaRange::End( ::sal_Int32 Direction )  throw 
(uno::RuntimeException, std::exc
 
     // #FIXME #TODO
     // euch! found my orig implementation sucked, so
-    // trying this even suckier one ( really need to use/expose code in
-    // around  ScTabView::MoveCursorArea(), thats the bit that calcutes
-    // where the cursor should go )
+    // trying this even sucker one (really need to use/expose code in
+    // around  ScTabView::MoveCursorArea(), thats the bit that calculates
+    // where the cursor should go)
     // Main problem with this method is the ultra hacky attempt to preserve
     // the ActiveCell, there should be no need to go to these extremes
 
-    // Save ActiveSheet/ActiveCell pos ( to restore later )
+    // Save ActiveSheet/ActiveCell pos (to restore later)
     uno::Any aDft;
     uno::Reference< excel::XApplication > xApplication( Application(), 
uno::UNO_QUERY_THROW );
     uno::Reference< excel::XWorksheet > sActiveSheet = 
xApplication->getActiveSheet();
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index 401bcd6..360d0f4 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -279,7 +279,7 @@ public:
         // XDefaultProperty
         OUString SAL_CALL getDefaultPropertyName(  ) throw 
(css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return 
OUString("Value"); }
 
-// #TODO completely rewrite ScVbaRange, its become a hackfest
+// #TODO completely rewrite ScVbaRange, it's become a hackfest
 // it needs to be closer to ScCellRangeBase in that the underlying
 // object model should probably be a ScRangelst.
 //     * would be nice to be able to construct a range from an address only
diff --git a/sc/source/ui/vba/vbaworksheet.cxx 
b/sc/source/ui/vba/vbaworksheet.cxx
index e106457..1e7aa38 100644
--- a/sc/source/ui/vba/vbaworksheet.cxx
+++ b/sc/source/ui/vba/vbaworksheet.cxx
@@ -989,7 +989,7 @@ uno::Any
 ScVbaWorksheet::getControlShape( const OUString& sName )
 {
     // ideally we would get an XControl object but it appears an XControl
-    // implementation only exists for a Control implementation optained from 
the
+    // implementation only exists for a Control implementation obtained from 
the
     // view ( e.g. in basic you would get this from
     // thiscomponent.currentcontroller.getControl( controlModel ) )
     // and the thing to realise is that it is only possible to get an XControl
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 268c216..6755a4d 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -438,7 +438,7 @@ void ScDBFunc::DoSubTotals( const ScSubTotalParam& rParam, 
bool bRecord,
             else
                 pUndoDoc->InitUndo( &rDoc, nTab, nTab, false, bOldFilter );
 
-            // recod data range - including filter results
+            // record data range - including filter results
             rDoc.CopyToDocument( 0,rParam.nRow1+1,nTab, 
MAXCOL,rParam.nRow2,nTab,
                                     IDF_ALL, false, pUndoDoc );
 
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index bc575d4..f49c66a 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -334,7 +334,7 @@ void ScDrawView::RecalcScale()
             for ( size_t i = 0; i < nCount; ++i )
             {
                 SdrObject* pObj = pPage->GetObj( i );
-                // Align objects to nearset grid position
+                // Align objects to nearest grid position
                 SyncForGrid( pObj );
             }
         }
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index f3f7351..ccd622d 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -591,7 +591,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
                             if ( pStyleSheet )
                             {
                                 // style pointer to names before erase,
-                                // otherwise cells will get ivalid pointer
+                                // otherwise cells will get invalid pointer
                                 //!!! As it happens, a method that does it for 
a particular style
                                 rDoc.StylesToNames();
                                 bConvertBack = true;
@@ -945,7 +945,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
                         pStylePool->Remove( pStyleSheet );
                     else
                     {
-                        // If in the mean time something was paited with the
+                        // If in the mean time something was painted with the
                         // temporary changed item set
                         pDocSh->PostPaintGridAll();
                     }
@@ -2520,7 +2520,7 @@ void ScFormatShell::GetNumFormatState( SfxItemSet& rSet )
                             aFormatCode = 9;
                             break;
                         default:
-                            aFormatCode = -1;   //for more roburst
+                            aFormatCode = -1;   //for more robust
                         }
                         if( aFormatCode == -1 )
                             rSet.InvalidateItem( nWhich );
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 549008a..e3d918c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2063,7 +2063,7 @@ void ScGridWindow::HandleMouseButtonDown( const 
MouseEvent& rMEvt, MouseEventSta
             GetEditUrl(rMEvt.GetPosPixel()) )           // click on link: do 
not move cursor
     {
         SetPointer( Pointer( PointerStyle::RefHand ) );
-        nMouseStatus = SC_GM_URLDOWN;                   // also only esecute 
when ButtonUp
+        nMouseStatus = SC_GM_URLDOWN;                   // also only execute 
when ButtonUp
         return;
     }
 
@@ -2546,7 +2546,7 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt 
)
                     aAddr = aAddr + ":" + aAddr;
                 }
 
-                //! SID_MARKAREA does not exixst anymore ???
+                //! SID_MARKAREA does not exist anymore ???
                 //! What happens when selecting with the cursor ???
             }
             else                                        // only move cursor
@@ -3138,7 +3138,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt )
                 // Edit cell with spelling errors ?
             if (bMouse && (GetEditUrl(aPosPixel) || bSpellError))
             {
-                //  GetEditUrlOrError has alreasy moved the Cursor
+                //  GetEditUrlOrError has already moved the Cursor
 
                 pScMod->SetInputMode( SC_INPUT_TABLE );
                 bEdit = pViewData->HasEditView(eWhich);     // Did it work?
@@ -3579,7 +3579,7 @@ bool ScGridWindow::DropScroll( const Point& rMousePos )
 
 static bool lcl_TestScenarioRedliningDrop( ScDocument* pDoc, const ScRange& 
aDragRange)
 {
-    //  Test, if a senario is affected by a drop when turing on RedLining,
+    //  Test, if a scenario is affected by a drop when turing on RedLining,
     bool bReturn = false;
     SCTAB nTab = aDragRange.aStart.Tab();
     SCTAB nTabCount = pDoc->GetTableCount();
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index cfeac01..8077064 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -143,7 +143,7 @@ bool ScGridWindow::DrawCommand(const CommandEvent& rCEvt)
         pDraw->SetWindow( this );
         sal_uInt8 nUsed = pDraw->Command( rCEvt );
         if( nUsed == SC_CMD_USED )
-            nButtonDown = 0;  // MouseButtonUp is swalloed...
+            nButtonDown = 0;  // MouseButtonUp is swallowed...
         if( nUsed || pDrView->IsAction() )
             return true;
     }
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 72c6202..51e4b19 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1186,7 +1186,7 @@ void ScGridWindow::DrawPagePreview( SCCOL nX1, SCROW nY1, 
SCCOL nX2, SCROW nY2,
                 rRenderContext.DrawRect( Rectangle( 
Point(aStart.X(),aEnd.Y()-2), aEnd ) );
                 rRenderContext.DrawRect( Rectangle( 
Point(aEnd.X()-2,aStart.Y()), aEnd ) );
 
-                // Page breakes
+                // Page breaks
                 //! Display differently (dashed ????)
 
                 size_t nColBreaks = rData.GetPagesX();
@@ -1621,7 +1621,7 @@ void ScGridWindow::GetSelectionRects( ::std::vector< 
Rectangle >& rPixelRects )
     for (SCROW nY=nY1; nY<=nY2; nY++)
     {
         bool bFirstRow = ( nY == nPosY );                       // first 
visible row?
-        bool bDoHidden = false;                                 // repete 
hidden ?
+        bool bDoHidden = false;                                 // repeat 
hidden ?
         sal_uInt16 nHeightTwips = pDoc->GetRowHeight( nY,nTab );
         bool bDoRow = ( nHeightTwips != 0 );
         if (bDoRow)
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index b2e04d0..e07b7f7 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1705,7 +1705,7 @@ Rectangle ScOutputData::LayoutStrings(bool bPixelToLogic, 
bool bPaint, const ScA
 
                     nNeededWidth = aVars.GetTextSize().Width() + nTotalMargin;
 
-                    // GetOutputArea gives justfied rectangles
+                    // GetOutputArea gives justified rectangles
                     GetOutputArea( nX, nArrY, nPosX, nPosY, nCellX, nCellY, 
nNeededWidth,
                                    *pPattern, 
sal::static_int_cast<sal_uInt16>(eOutHorJust),
                                    bCellIsValue || bRepeat || bShrink, bBreak, 
false,
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 02a9d5d..5b775a8 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -945,7 +945,7 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions 
)
     if (!bPrintEntireSheet && !nPrintRangeCount)
         mbHasPrintRange = false;
 
-    if ( pUserArea )                // UserArea (selection) has prority
+    if ( pUserArea )                // UserArea (selection) has priority
     {
         bPrintCurrentTable    =
         aAreaParam.bPrintArea = true;                   // Selection
@@ -1690,7 +1690,7 @@ void ScPrintFunc::MakeEditEngine()
         pEditDefaults->Put( rPattern.GetItem(ATTR_FONT_HEIGHT), 
EE_CHAR_FONTHEIGHT );
         pEditDefaults->Put( rPattern.GetItem(ATTR_CJK_FONT_HEIGHT), 
EE_CHAR_FONTHEIGHT_CJK );
         pEditDefaults->Put( rPattern.GetItem(ATTR_CTL_FONT_HEIGHT), 
EE_CHAR_FONTHEIGHT_CTL );
-        //  dont use font color, because background color is not used
+        //  don't use font color, because background color is not used
         //! there's no way to set the background for note pages
         pEditDefaults->ClearItem( EE_CHAR_COLOR );
         if (ScGlobal::IsSystemRTL())
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index 5e14d9c..6876070 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -337,7 +337,7 @@ void ScTabView::InitOwnBlockMode()
 {
     if (!IsBlockMode())
     {
-        // when there is no (old) selection anynmore, delete anchor in 
SelectionEngine:
+        // when there is no (old) selection anymore, delete anchor in 
SelectionEngine:
         ScMarkData& rMark = aViewData.GetMarkData();
         if (!rMark.IsMarked() && !rMark.IsMultiMarked())
             GetSelEngine()->CursorPosChanging( false, false );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to