[Libreoffice-commits] core.git: svgio/source svl/source svtools/inc svtools/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Sep 29 23:20:56 PDT 2015


 svgio/source/svgreader/svgsvgnode.cxx       |    2 +-
 svl/source/filerec/filerec.cxx              |    4 ++--
 svl/source/items/itempool.cxx               |    4 ++--
 svl/source/items/poolio.cxx                 |    2 +-
 svl/source/numbers/zforscan.cxx             |    2 +-
 svtools/inc/table/tablecontrolinterface.hxx |    2 +-
 svtools/source/brwbox/datwin.hxx            |    4 ++--
 svtools/source/config/test/test.cxx         |    2 +-
 svtools/source/contnr/treelistbox.cxx       |    2 +-
 svtools/source/control/tabbar.cxx           |    2 +-
 svtools/source/dialogs/addresstemplate.cxx  |    2 +-
 svtools/source/misc/ehdl.cxx                |    2 +-
 svtools/source/misc/imagemgr.cxx            |    8 ++++----
 svtools/source/misc/sampletext.cxx          |    2 +-
 svtools/source/svrtf/parrtf.cxx             |    2 +-
 15 files changed, 21 insertions(+), 21 deletions(-)

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

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

diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx
index f33961b..2a98b75 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -322,7 +322,7 @@ namespace svgio
                     // bounding box width or height on a given object (refer to the section that describes object
                     // bounding box units)."
 
-                    // Comparisons with commom browsers show, that it's mostly interpreted relative to the viewport
+                    // Comparisons with common browsers show that it's mostly interpreted relative to the viewport
                     // of the parent, and so does the new implementation.
 
                     // Extract known viewport data
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index c703193..ef53860 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -129,7 +129,7 @@ bool SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader )
  * This constructor interprets a 'pStream' from the current position
  * as a continuous sequence of records that should be parsable by
  * this group of classes. The first record that is an <SfxMiniRecord>
- * (possibly an extened-Record> that has the PreTag 'nTag' will be opened
+ * (possibly an extended-Record> that has the PreTag 'nTag' will be opened
  * and represented by this instance.
  *
  * If the end of stream is reached or a record with tag
@@ -459,7 +459,7 @@ sal_uInt32 SfxMultiVarRecordWriter::Close( bool bSeekToEndOfRec )
  * @param nContentVer  content version
  *
  * With this method new Content is added to a record and
- * its tag and version are regorded. This method must be called
+ * its tag and version are recorded. This method must be called
  * to start each content, including the first record.
  */
 void SfxMultiMixRecordWriter::NewContent(sal_uInt16 nContentTag, sal_uInt8 nContentVer)
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 20b9e3a..909c650 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -880,10 +880,10 @@ const SfxPoolItem& SfxItemPool::GetDefaultItem( sal_uInt16 nWhich ) const
     {
         if ( pImp->mpSecondary )
             return pImp->mpSecondary->GetDefaultItem( nWhich );
-        assert(!"unknown which - dont ask me for defaults");
+        assert(!"unknown which - don't ask me for defaults");
     }
 
-    DBG_ASSERT( pImp->ppStaticDefaults, "no defaults known - dont ask me for defaults" );
+    DBG_ASSERT( pImp->ppStaticDefaults, "no defaults known - don't ask me for defaults" );
     sal_uInt16 nPos = GetIndex_Impl(nWhich);
     SfxPoolItem *pDefault = *(pImp->ppPoolDefaults + nPos);
     if ( pDefault )
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index bed569a..619f9ca 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -892,7 +892,7 @@ sal_uInt32 SfxItemPool::GetSurrogate(const SfxPoolItem *pItem) const
     {
         if ( pImp->mpSecondary )
             return pImp->mpSecondary->GetSurrogate( pItem );
-        SFX_ASSERT( false, pItem->Which(), "unknown Which-Id - dont ask me for surrogates" );
+        SFX_ASSERT( false, pItem->Which(), "unknown Which-Id - don't ask me for surrogates" );
     }
 
     // Pointer on static or pool-default attribute?
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index fb0ddef..2fd6aaa 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -438,7 +438,7 @@ void ImpSvNumberformatScan::SetDependentKeywords()
         break;
     }
 
-    // boolean keyords
+    // boolean keywords
     InitSpecialKeyword( NF_KEY_TRUE );
     InitSpecialKeyword( NF_KEY_FALSE );
 
diff --git a/svtools/inc/table/tablecontrolinterface.hxx b/svtools/inc/table/tablecontrolinterface.hxx
index 080d058..f2af714 100644
--- a/svtools/inc/table/tablecontrolinterface.hxx
+++ b/svtools/inc/table/tablecontrolinterface.hxx
@@ -230,7 +230,7 @@ namespace svt { namespace table
         /// calculates a width, given in pixels, into a AppFont-based width
         virtual long    pixelWidthToAppFont( long const i_pixels ) const = 0;
 
-        /// shows a trackign rectangle
+        /// shows a tracking rectangle
         virtual void    showTracking( Rectangle const & i_location, sal_uInt16 const i_flags ) = 0;
 
         /// hides a prviously shown tracking rectangle
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index e88f85b..0c2b5e3 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -126,9 +126,9 @@ public:
     bool            bUpdateOnUnlock;  // Update() while locked
     bool            bInUpdateScrollbars;  // prevents recursions
     bool            bHadRecursion;        // a recursion occurred
-    bool            bOwnDataChangedHdl;   // dont change colors in DataChanged
+    bool            bOwnDataChangedHdl;   // don't change colors in DataChanged
     bool            bCallingDropCallback; // we're in a callback to AcceptDrop or ExecuteDrop currently
-    sal_uInt16          nUpdateLock;    // lock count, dont call Control::Update()!
+    sal_uInt16          nUpdateLock;    // lock count, don't call Control::Update()!
     short           nCursorHidden;  // new counter for DoHide/ShowCursor
 
     long            m_nDragRowDividerLimit;
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index 78d7064..0ca5c5a 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -200,7 +200,7 @@ void TestApplication::impl_testDynamicMenuOptions()
 }
 
 
-// create new uno servicemanager by using normall applicat.rdb and user.rdb of an office installation!
+// create new uno servicemanager by using normal applicat.rdb and user.rdb of an office installation!
 // Don't use this application at same time like the office!
 
 Reference< XMultiServiceFactory > TestApplication::getUNOServiceManager()
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 56fdc29..f207ff1 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3123,7 +3123,7 @@ long SvTreeListBox::PaintEntry1(SvTreeListEntry& rEntry, long nLine, vcl::Render
                             (!(rEntry.GetFlags() & SvTLEntryFlags::HAD_CHILDREN)) &&
                             pImp->GetDontKnowNodeBmp().GetSizePixel().Width())
                         {
-                            aControlValue.setTristateVal( BUTTONVALUE_DONTKNOW ); //dont know
+                            aControlValue.setTristateVal( BUTTONVALUE_DONTKNOW ); //don't know
                         }
                         else
                         {
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 54fdafc..a7f9fc5 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1755,7 +1755,7 @@ void TabBar::RemovePage(sal_uInt16 nPageId)
         if (mnCurPageId == nPageId)
             mnCurPageId = 0;
 
-        // check if first visibale page should be moved
+        // check if first visible page should be moved
         if (mnFirstPos > nPos)
             mnFirstPos--;
 
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 40a4a4e..a54c681 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -1264,7 +1264,7 @@ void AssignmentPersistentData::ImplCommit()
                         {   // we can still scroll up
                             // -> scroll up
                             implScrollFields(m_pImpl->nFieldScrollPos - 1, false, true);
-                            // give the right control in the "prebious" line the focus
+                            // give the right control in the "previous" line the focus
                             m_pImpl->pFields[0 - 1 + 2]->GrabFocus();
                             // return saying "have handled this"
                             return true;
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 5cd02f8..11a8672 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -40,7 +40,7 @@ static sal_uInt16 aWndFunc(
 /*  [Description]
 
     Draw an errorbox on the screen. Depending on nFlags
-    Error/Info etc. boxes with the requested buttosn are shown.
+    Error/Info etc. boxes with the requested buttons are shown.
 
     Returnvalue is the button pressed
 
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index bef17b0..3b189d32 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -252,7 +252,7 @@ static OUString GetImageExtensionByFactory_Impl( const OUString& rURL )
     }
     catch( const ::com::sun::star::uno::RuntimeException& )
     {
-        throw; // dont hide it!
+        throw; // don't hide it!
     }
     catch( const ::com::sun::star::uno::Exception& )
     {
@@ -311,7 +311,7 @@ static bool GetVolumeProperties_Impl( ::ucbhelper::Content& rContent, svtools::V
     }
     catch( const ::com::sun::star::uno::RuntimeException& )
     {
-        throw; // dont hide it!
+        throw; // don't hide it!
     }
     catch( const ::com::sun::star::uno::Exception& )
     {
@@ -342,7 +342,7 @@ static sal_uInt16 GetFolderImageId_Impl( const OUString& rURL )
     }
     catch( const ::com::sun::star::uno::RuntimeException& )
     {
-        throw; // dont hide it!
+        throw; // don't hide it!
     }
     catch( const ::com::sun::star::uno::Exception& )
     {
@@ -475,7 +475,7 @@ static sal_uInt16 GetFolderDescriptionId_Impl( const OUString& rURL )
     }
     catch( const ::com::sun::star::uno::RuntimeException& )
     {
-        throw; // dont hide it!
+        throw; // don't hide it!
     }
     catch( const ::com::sun::star::uno::Exception& )
     {
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx
index 63d8c9a..f55d6d5 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -1261,7 +1261,7 @@ namespace
                 eScript = USCRIPT_TRADITIONAL_HAN;
             else if (bHans && !bHant && !bKore && !bJpan)
                 eScript = USCRIPT_SIMPLIFIED_HAN;
-            //otherwise fall-through as USCRIPT_HAN and expect a combind Hant/Hans preview
+            //otherwise fall-through as USCRIPT_HAN and expect a combined Hant/Hans preview
         }
         return eScript;
     }
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index 7216a4f..562090d 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -408,7 +408,7 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak )
                             nNextCh = '\\';
                             int nToken = _GetNextToken();
                             DBG_ASSERT( RTF_U == nToken, "doch kein UNI-Code Zeichen" );
-                            // dont convert symbol chars
+                            // don't convert symbol chars
                             aStrBuffer.append(static_cast< sal_Unicode >(nTokenValue));
 
                             // overread the next n "RTF" characters. This


More information about the Libreoffice-commits mailing list