[Libreoffice-commits] core.git: basic/source connectivity/source cui/source filter/source framework/inc framework/qa framework/source include/svtools include/xmloff odk/examples sc/source sfx2/source sw/source vcl/headless

Andrea Gelmini andrea.gelmini at gelma.net
Fri Dec 29 08:54:58 UTC 2017


 basic/source/comp/parser.cxx                                   |    2 +-
 connectivity/source/drivers/postgresql/pq_databasemetadata.cxx |    2 +-
 cui/source/inc/acccfg.hxx                                      |    4 ++--
 filter/source/config/cache/filtercache.cxx                     |    6 +++---
 filter/source/config/cache/filtercache.hxx                     |    6 +++---
 filter/source/config/cache/typedetection.cxx                   |    4 ++--
 framework/inc/classes/framecontainer.hxx                       |    2 +-
 framework/qa/complex/framework/autosave/Protocol.java          |    2 +-
 framework/source/helper/persistentwindowstate.cxx              |    2 +-
 framework/source/services/frame.cxx                            |    2 +-
 include/svtools/transfer.hxx                                   |    2 +-
 include/xmloff/xmlnume.hxx                                     |    2 +-
 odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx  |    2 +-
 sc/source/ui/vba/vbaborders.cxx                                |    2 +-
 sc/source/ui/vba/vbapagebreaks.cxx                             |    4 ++--
 sc/source/ui/vba/vbarange.cxx                                  |    2 +-
 sfx2/source/doc/objcont.cxx                                    |    8 ++++----
 sw/source/core/unocore/unodraw.cxx                             |    4 ++--
 sw/source/core/view/printdata.cxx                              |    2 +-
 sw/source/filter/ww8/ww8scan.cxx                               |    2 +-
 sw/source/ui/vba/vbaborders.cxx                                |    2 +-
 vcl/headless/svpinst.cxx                                       |    2 +-
 22 files changed, 33 insertions(+), 33 deletions(-)

New commits:
commit d0222ba1fd7617b793e1e513247b11a82eb22f4e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Dec 29 00:31:05 2017 +0100

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

diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 7d08a99b511e..ff16b016f154 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -605,7 +605,7 @@ void SbiParser::Set()
         // It's a good idea to distinguish between
         // set something = another &
         // something = another
-        // ( its necessary for vba objects where set is object
+        // ( it's necessary for vba objects where set is object
         // specific and also doesn't involve processing default params )
         if( pDef->GetTypeId() )
         {
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 7c440d7eb334..906ce288c1bb 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -1314,7 +1314,7 @@ sal_Int32 typeNameToDataType( const OUString &typeName, const OUString &typtype
         // the user is better of with interpreting arrays as strings !
 //         if( typeName.getLength() && '_' == typeName[0] )
 //         {
-//             its just a naming convention, but as long as we don't have anything better,
+//             it's just a naming convention, but as long as we don't have anything better,
 //             we take it as granted
 //             ret = css::sdbc::DataType::ARRAY;
 //         }
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 34414c09f559..20e37f0ce1bb 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -80,8 +80,8 @@ struct TAccInfo
                  const vcl::KeyCode& aKey )
             : m_nKeyPos        (nKeyPos  )
             , m_nListPos       (nListPos )
-            , m_bIsConfigurable(true ) /**< its important to set sal_True as default -
-                                                because only fix entries will be disabled later ... */
+            , m_bIsConfigurable(true ) /**< it's important to set true as default -
+                                                because only fix entries will be disabled later... */
             , m_sCommand       (         )
             , m_aKey           (aKey     )
         {}
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 6b97bda29bb2..79af348702e0 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -1579,10 +1579,10 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
                                          css::uno::Reference< css::uno::XInterface >());
     }
 
-    // set too. Of course its already used as key into the e.g. outside
-    // used hash map ... but some of our API methods provide
+    // set too. Of course it's already used as key into the e.g. outside
+    // used hash map... but some of our API methods provide
     // this property set as result only. But the user of this CacheItem
-    // should know, which value the key names has :-) ITS IMPORTANT!
+    // should know, which value the key names has :-) IT'S IMPORTANT!
     CacheItem aItem;
     aItem[PROPNAME_NAME] <<= sItem;
     switch(eType)
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index 8fab54e085c1..78339a26b8c1 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -561,14 +561,14 @@ class FilterCache : public BaseLock
 
             @param      aURL
                         URL of the content, which type should be detected.
-                        Its already parsed and splitted into its different parts,
+                        It's already parsed and split into its different parts,
                         like e.g.: main, jump marks etcpp.
 
             @param      rFlatTypes
                         used as [out] parameter to add all types, which match to the given
                         URL. Further an information is added for every type. It indicates, how
                         this type is related to the specified URL (means e.g. if it matches
-                        by extension or URLPattern ...).
+                        by extension or URLPattern...).
 
             @attention  Please note: because this cache can be used inside multithreaded
                         environments, such returned key names can point to some already removed
@@ -655,7 +655,7 @@ class FilterCache : public BaseLock
                         and return its value.
 
             @descr      The specified key must be an absolute configuration path,
-                        which can be splitted into its package and relative path tokens.
+                        which can be split into its package and relative path tokens.
 
             @attention  Because this function might opens a new configuration
                         read access for reading one key value only, it should
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index fee03066ed83..9afb3daa0ed1 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -631,8 +631,8 @@ bool TypeDetection::impl_getPreselectionForType(
     const OUString& sPreSelType, const util::URL& aParsedURL, FlatDetection& rFlatTypes, bool bDocService)
 {
     // Can be used to suppress execution of some parts of this method
-    // if its already clear that detected type is valid or not.
-    // Its necessary to use shared code at the end, which update
+    // if it's already clear that detected type is valid or not.
+    // It's necessary to use shared code at the end, which update
     // all return parameters consistency!
     bool bBreakDetection = false;
 
diff --git a/framework/inc/classes/framecontainer.hxx b/framework/inc/classes/framecontainer.hxx
index 2e44244eb601..5da67fcf49ba 100644
--- a/framework/inc/classes/framecontainer.hxx
+++ b/framework/inc/classes/framecontainer.hxx
@@ -60,7 +60,7 @@ class FrameContainer final
 
         /// list to hold all frames
         TFrameContainer m_aContainer;
-        /// one container item can be the current active frame. Its necessary for Desktop or Frame implementation.
+        /// one container item can be the current active frame. It's necessary for Desktop or Frame implementation.
         css::uno::Reference< css::frame::XFrame > m_xActiveFrame;
 
     // interface
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index a2b16f36352e..8f329246eec8 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -663,7 +663,7 @@ public class Protocol extends JComponent
      * returns a generic html header for generating html log files
      *
      * It's used from the method finish() to generate a valid html formatted file.
-     * For that its necessary to open some special html targets like e.g. <html>.
+     * For that it's necessary to open some special html targets like e.g. <html>.
      *
      * @return  A string, which includes the whole header.
      *
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx
index 60810826c941..dd9aae892c36 100644
--- a/framework/source/helper/persistentwindowstate.cxx
+++ b/framework/source/helper/persistentwindowstate.cxx
@@ -240,7 +240,7 @@ void PersistentWindowState::implst_setWindowStateOnWindow(const css::uno::Refere
     if (!pWindow)
         return;
 
-    // check for system and work window - its necessary to guarantee correct pointer cast!
+    // check for system and work window - it's necessary to guarantee correct pointer cast!
     bool bSystemWindow = pWindow->IsSystemWindow();
     bool bWorkWindow   = (pWindow->GetType() == WindowType::WORKWINDOW);
 
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 29d9371ca185..cb8a6b82024e 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1255,7 +1255,7 @@ void SAL_CALL Frame::activate()
             // But we do nothing then! We are already activated.
             xParent->activate();
         }
-        // Its necessary to send event NOW - not before.
+        // It's necessary to send event NOW - not before.
         // Activation goes from bottom to top!
         // That's the reason to activate parent first and send event now.
         implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_ACTIVATED );
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index a1881149522f..5bc3f7a86320 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -318,7 +318,7 @@ public:
 
         @param nMaxAction Allows you to limit the amount of actions; defaults to 0 which means no limit.
 
-        Whet you eg. Ctrl+a in Excel, you can get the entire sheet as
+        When you eg. Ctrl+a in Excel, you can get the entire sheet as
         metafile, with over 3 million (!) actions; which is just too large for
         any reasonable handling - and you need to set a limit.
     */
diff --git a/include/xmloff/xmlnume.hxx b/include/xmloff/xmlnume.hxx
index 420e6448127c..0a4b1b5836ea 100644
--- a/include/xmloff/xmlnume.hxx
+++ b/include/xmloff/xmlnume.hxx
@@ -43,7 +43,7 @@ class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport final
     const OUString sNumberingRules;
     const OUString sIsPhysical;
     const OUString sIsContinuousNumbering;
-    // Boolean indicating, if properties for position-and-space-mode LABEL_ALIGNEMNT
+    // Boolean indicating, if properties for position-and-space-mode LABEL_ALIGNMENT
     // are exported or not. (#i89178#)
     // These properties have been introduced in ODF 1.2. Thus, its export have
     // to be suppressed on writing ODF 1.0 respectively ODF 1.1
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
index c8f428994650..4020953b68a8 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
@@ -205,7 +205,7 @@ Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler::getSupportedServiceNames
 
 void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs ) throw (RuntimeException)
 {
-    /* Its necessary to hold this object alive, till this method finish.
+    /* It's necessary to hold this object alive, till this method finishes.
        May the outside dispatch cache (implemented by the menu/toolbar!)
        forget this instance during de-/activation of frames (focus!).
 
diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx
index 2b54dad4fd17..19688010aad9 100644
--- a/sc/source/ui/vba/vbaborders.cxx
+++ b/sc/source/ui/vba/vbaborders.cxx
@@ -398,7 +398,7 @@ ScVbaBorders::createEnumeration()
 uno::Any
 ScVbaBorders::createCollectionObject( const css::uno::Any& aSource )
 {
-    return aSource; // its already a Border object
+    return aSource; // it's already a Border object
 }
 
 uno::Type
diff --git a/sc/source/ui/vba/vbapagebreaks.cxx b/sc/source/ui/vba/vbapagebreaks.cxx
index 93690140ffbe..3ffea92358ff 100644
--- a/sc/source/ui/vba/vbapagebreaks.cxx
+++ b/sc/source/ui/vba/vbapagebreaks.cxx
@@ -232,7 +232,7 @@ ScVbaHPageBreaks::createEnumeration()
 uno::Any
 ScVbaHPageBreaks::createCollectionObject( const css::uno::Any& aSource )
 {
-    return aSource; // its already a pagebreak object
+    return aSource; // it's already a pagebreak object
 }
 
 uno::Type
@@ -291,7 +291,7 @@ ScVbaVPageBreaks::createEnumeration()
 uno::Any
 ScVbaVPageBreaks::createCollectionObject( const css::uno::Any& aSource )
 {
-    return aSource; // its already a pagebreak object
+    return aSource; // it's already a pagebreak object
 }
 
 uno::Type
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index b306cf510537..7cfc4109e5e3 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1987,7 +1987,7 @@ ScVbaRange::setFormulaArray(const uno::Any& rFormula)
         return xRange->setFormulaArray( rFormula );
     }
     // #TODO need to distinguish between getFormula and getFormulaArray e.g. (R1C1)
-    // but for the moment its just easier to treat them the same for setting
+    // but for the moment it's just easier to treat them the same for setting
     // seems
     uno::Reference< lang::XMultiServiceFactory > xModelFactory( getUnoModel(), uno::UNO_QUERY_THROW );
     uno::Reference< sheet::XFormulaParser > xParser( xModelFactory->createInstance( "com.sun.star.sheet.FormulaParser" ), uno::UNO_QUERY_THROW );
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 4a82866a5019..021315b53678 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -229,18 +229,18 @@ void SfxObjectShell::UpdateTime_Impl(
     util::Duration editDuration(false, 0, 0, 0,
             secs/3600, (secs%3600)/60, secs%60, 0);
 
-    // Initialize some local member! Its necessary for follow operations!
+    // Initialize some local member! It's necessary for follow operations!
     DateTime     aNow( DateTime::SYSTEM );   // Date and time at current moment
     tools::Time  n24Time     (24,0,0,0)  ;   // Time-value for 24 hours - see follow calculation
     sal_Int32    nDays       = 0         ;   // Count of days between now and last editing
     tools::Time  nAddTime    (0)         ;   // Value to add on aOldTime
 
     // Save impossible cases!
-    // User has changed time to the past between last editing and now ... it's not possible!!!
-    DBG_ASSERT( !(aNow.GetDate()<pImpl->nTime.GetDate()), "Timestamp of last change is in the past ?!..." );
+    // User has changed time to the past between last editing and now... it's not possible!!!
+    DBG_ASSERT( !(aNow.GetDate()<pImpl->nTime.GetDate()), "Timestamp of last change is in the past!?..." );
 
     // Do the follow only, if user has NOT changed time to the past.
-    // Else add a time of 0 to aOldTime ... !!!
+    // Else add a time of 0 to aOldTime... !!!
     if (aNow.GetDate()>=pImpl->nTime.GetDate())
     {
         // Get count of days last editing.
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index e15629008b17..bd16087cb7a1 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -722,14 +722,14 @@ void SwXDrawPage::add(const uno::Reference< drawing::XShape > & xShape)
         aAnchor.SetAnchor( pPam->GetPoint() );
 
         // #i32349# - adjustment of vertical positioning
-        // attributes no longer needed, because its already got a default.
+        // attributes no longer needed, because it's already got a default.
     }
     else
     {
         aAnchor.SetType(RndStdIds::FLY_AT_PAGE);
 
         // #i32349# - adjustment of vertical positioning
-        // attributes no longer needed, because its already got a default.
+        // attributes no longer needed, because it's already got a default.
     }
     aSet.Put(aAnchor);
     SwPaM* pTemp = pInternalPam;
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx
index c795e73f2d8f..da1810546fb5 100644
--- a/sw/source/core/view/printdata.cxx
+++ b/sw/source/core/view/printdata.cxx
@@ -159,7 +159,7 @@ SwPrintUIOptions::SwPrintUIOptions(
     m_rDefaultPrintData( rDefaultPrintData )
 {
     // printing HTML sources does not have any valid UI options.
-    // Its just the source code that gets printed ...
+    // It's just the source code that gets printed...
     if (bSwSrcView)
     {
         m_aUIProperties.clear();
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index db1c05bd06c1..0ac70ba1be37 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -6935,7 +6935,7 @@ WW8_STD* WW8Style::Read1Style(sal_uInt16& rSkip, OUString* pString)
                     {
                         /*
                         #i8114#
-                        This is supposed to be impossible, its just supposed
+                        This is supposed to be impossible, it's just supposed
                         to be 16 bit count followed by the string and ending
                         in a 0 short. But "Lotus SmartSuite Product: Word Pro"
                         is creating invalid style names in ww7- format. So we
diff --git a/sw/source/ui/vba/vbaborders.cxx b/sw/source/ui/vba/vbaborders.cxx
index ad70cf1bdf09..f0a29acdd0fc 100644
--- a/sw/source/ui/vba/vbaborders.cxx
+++ b/sw/source/ui/vba/vbaborders.cxx
@@ -315,7 +315,7 @@ SwVbaBorders::createEnumeration()
 uno::Any
 SwVbaBorders::createCollectionObject( const css::uno::Any& aSource )
 {
-    return aSource; // its already a Border object
+    return aSource; // it's already a Border object
 }
 
 uno::Type
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 9912186c729c..943b824ab412 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -370,7 +370,7 @@ void SvpSalInstance::AddToRecentDocumentList(const OUString&, const OUString&, c
 {
 }
 
-//obviously doesn't actually do anything, its just a nonfunctional stub
+//obviously doesn't actually do anything, it's just a nonfunctional stub
 
 #ifdef LIBO_HEADLESS
 


More information about the Libreoffice-commits mailing list