[Libreoffice-commits] core.git: filter/source forms/source framework/source include/svtools odk/examples offapi/com sc/source sd/qa sd/source sfx2/source smoketest/com sw/qa sw/source unotools/source vcl/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 07:47:26 UTC 2019


 filter/source/config/cache/filtercache.cxx                             |    2 +-
 forms/source/component/GroupManager.cxx                                |    2 +-
 forms/source/component/ImageButton.cxx                                 |    2 +-
 framework/source/services/taskcreatorsrv.cxx                           |    4 ++--
 include/svtools/acceleratorexecute.hxx                                 |    4 ++--
 include/svtools/optionsdrawinglayer.hxx                                |    2 +-
 odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java |    4 ++--
 odk/examples/java/MinimalComponent/MinimalComponent.java               |    4 ++--
 offapi/com/sun/star/drawing/GenericDrawingDocument.idl                 |    2 +-
 offapi/com/sun/star/frame/XTerminateListener2.idl                      |    2 +-
 offapi/com/sun/star/text/GenericTextDocument.idl                       |    2 +-
 sc/source/filter/xml/xmlimprt.cxx                                      |    8 ++++----
 sc/source/ui/dbgui/validate.cxx                                        |    2 +-
 sd/qa/unit/uimpress.cxx                                                |    2 +-
 sd/source/filter/xml/sdxmlwrp.cxx                                      |    8 ++++----
 sfx2/source/dialog/mgetempl.cxx                                        |    2 +-
 smoketest/com/sun/star/comp/smoketest/TestExtension.java               |    4 ++--
 sw/qa/extras/ooxmlexport/ooxmlexport6.cxx                              |    4 ++--
 sw/source/filter/docx/swdocxreader.cxx                                 |    4 ++--
 sw/source/filter/inc/msfilter.hxx                                      |    4 ++--
 sw/source/filter/ww8/wrtww8gr.cxx                                      |    2 +-
 sw/source/filter/ww8/ww8par.cxx                                        |    4 ++--
 sw/source/filter/xml/xmlimp.cxx                                        |    8 ++++----
 unotools/source/misc/mediadescriptor.cxx                               |    6 +++---
 vcl/source/control/button.cxx                                          |    2 +-
 25 files changed, 45 insertions(+), 45 deletions(-)

New commits:
commit f3261ba74815b30f1018954bfb9ecd332fa8f1d5
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 10 23:24:48 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 09:46:21 2019 +0200

    Fix typos
    
    "its"
    
    Change-Id: I02c660e46964270376a66210fdb5f1b1985ce5b6
    Reviewed-on: https://gerrit.libreoffice.org/77255
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 59ac271b8393..8b620cacf438 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -638,7 +638,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
                 // special case. no exception - but not a valid item => it must be finalized or mandatory!
                 // Reject flush operation by throwing an exception. At least one item couldn't be flushed.
                 if (!xItem.is())
-                    throw css::uno::Exception("Can not change item. Its finalized or mandatory!",
+                    throw css::uno::Exception("Can not change item. It's finalized or mandatory!",
                                               css::uno::Reference< css::uno::XInterface >());
 
                 CacheItemList::const_iterator pItem = rCache.find(item);
diff --git a/forms/source/component/GroupManager.cxx b/forms/source/component/GroupManager.cxx
index a98cceb075d5..6b8ee7a8c04e 100644
--- a/forms/source/component/GroupManager.cxx
+++ b/forms/source/component/GroupManager.cxx
@@ -157,7 +157,7 @@ void OGroup::RemoveComponent( const Reference<XPropertySet>& rxElement )
 
             /*
              * By removing the GroupComp the insertion position has become invalid.
-             * We do not to change it here, however, because its passed on continuously
+             * We do not to change it here, however, because it's passed on continuously
              * and ascending distinctively.
              */
         }
diff --git a/forms/source/component/ImageButton.cxx b/forms/source/component/ImageButton.cxx
index 63c627c93fe0..63cf27fca416 100644
--- a/forms/source/component/ImageButton.cxx
+++ b/forms/source/component/ImageButton.cxx
@@ -200,7 +200,7 @@ void OImageButtonControl::mousePressed(const awt::MouseEvent& e)
     else
     {
         // Or else don't; we must not notify the listeners in that case.
-        // Even not if its added later on.
+        // Even not if it's added later on.
         aGuard.clear();
         actionPerformed_Impl( false, e );
     }
diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx
index 04d4f98fe776..43dd64c7d573 100644
--- a/framework/source/services/taskcreatorsrv.cxx
+++ b/framework/source/services/taskcreatorsrv.cxx
@@ -197,8 +197,8 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL TaskCreatorService::createI
     if (bEnableTitleBarUpdate)
         implts_establishTitleBarUpdate(xFrame);
 
-    // Make it visible directly here ...
-    // if its required from outside.
+    // Make it visible directly here...
+    // if it's required from outside.
     if (bVisible)
         xContainerWindow->setVisible(bVisible);
 
diff --git a/include/svtools/acceleratorexecute.hxx b/include/svtools/acceleratorexecute.hxx
index 34d336ff94ec..0cf4675b99db 100644
--- a/include/svtools/acceleratorexecute.hxx
+++ b/include/svtools/acceleratorexecute.hxx
@@ -123,8 +123,8 @@ class SVT_DLLPUBLIC AcceleratorExecute : private TMutexInit
         /** @short  init this instance.
 
             @descr  It must be called as first method after creation.
-                    And further it can be called more than once ...
-                    but at least its should be used one times only.
+                    And further it can be called more than once...
+                    but at least it should be used one times only.
                     Otherwise nobody can say, which asynchronous
                     executions will be used inside the old and which one
                     will be used inside the new environment.
diff --git a/include/svtools/optionsdrawinglayer.hxx b/include/svtools/optionsdrawinglayer.hxx
index d3cb4a00c0b2..762b2545e1af 100644
--- a/include/svtools/optionsdrawinglayer.hxx
+++ b/include/svtools/optionsdrawinglayer.hxx
@@ -94,7 +94,7 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
         sal_uInt32  GetMaximumPaperTopMargin() const;
         sal_uInt32  GetMaximumPaperBottomMargin() const;
 
-        // #i95644# helper to check if AA is allowed on this system. Currently, for WIN its disabled
+        // #i95644# helper to check if AA is allowed on this system. Currently, for WIN it's disabled
         // and OutDevSupportType::TransparentRect is checked (this  hits XRenderExtension, e.g.
         // currently for SunRay as long as not supported there)
         bool       IsAAPossibleOnThisSystem() const;
diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
index 372f6c2dfa04..b47aa70082ef 100644
--- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
+++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
@@ -118,8 +118,8 @@ public class LicenseTest {
          */
         public void initialize( Object[] object )
             throws com.sun.star.uno.Exception {
-            /* The component describes what arguments its expected and in which
-             * order!At this point you can read the objects and can initialize
+            /* The component describes what arguments are expected and in which
+             * order! At this point you can read the objects and initialize
              * your component using these objects.
              */
         }
diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.java b/odk/examples/java/MinimalComponent/MinimalComponent.java
index b18a777eb373..b8efbafcc429 100644
--- a/odk/examples/java/MinimalComponent/MinimalComponent.java
+++ b/odk/examples/java/MinimalComponent/MinimalComponent.java
@@ -91,8 +91,8 @@ public class MinimalComponent {
          */
         public void initialize( Object[] object )
             throws com.sun.star.uno.Exception {
-            /* The component describes what arguments its expected and in which
-             * order!At this point you can read the objects and can initialize
+            /* The component describes what arguments are expected and in which
+             * order! At this point you can read the objects and initialize
              * your component using these objects.
              */
         }
diff --git a/offapi/com/sun/star/drawing/GenericDrawingDocument.idl b/offapi/com/sun/star/drawing/GenericDrawingDocument.idl
index 47b8e1bba815..621a1c3607b5 100644
--- a/offapi/com/sun/star/drawing/GenericDrawingDocument.idl
+++ b/offapi/com/sun/star/drawing/GenericDrawingDocument.idl
@@ -38,7 +38,7 @@
 /** specifies a document which consists of multiple pages
     with drawings.
 
-    <p>Because its function is needed more than once, its defined as generic one.</p>
+    <p>Because its function is needed more than once, it's defined as generic one.</p>
  */
 service GenericDrawingDocument
 {
diff --git a/offapi/com/sun/star/frame/XTerminateListener2.idl b/offapi/com/sun/star/frame/XTerminateListener2.idl
index 6c61fdcea227..537e3fa82309 100644
--- a/offapi/com/sun/star/frame/XTerminateListener2.idl
+++ b/offapi/com/sun/star/frame/XTerminateListener2.idl
@@ -38,7 +38,7 @@ interface XTerminateListener2 : ::com::sun::star::frame::XTerminateListener
         it doesn't know if termination will be real next time.
         Because any other listener can throw those exception too ... and so it can happen
         that after queryTermination() no notifyTermination() will occur. But these listener
-        don't know if its allowed to start new processes then.
+        don't know if it's allowed to start new processes then.
         Using this optional(!) interface will make it possible to be informed about
         canceled termination requests also.
         </p>
diff --git a/offapi/com/sun/star/text/GenericTextDocument.idl b/offapi/com/sun/star/text/GenericTextDocument.idl
index e3918dc31b31..f242f9979e02 100644
--- a/offapi/com/sun/star/text/GenericTextDocument.idl
+++ b/offapi/com/sun/star/text/GenericTextDocument.idl
@@ -53,7 +53,7 @@
     <p>Each paragraph and each portion of text can be fitted with
     some attributes (technically properties).</p>
 
-    <p>Its declared as generic text document, because its function is
+    <p>It's declared as generic text document, because its function is
     needed by different derived services (TextDocument/WebDocument/GlobalDocument).</p>
 
     <p>In addition, all text objects can be searched.</p>
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index dd4ac8a37ed1..5d083893f4a0 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -2029,8 +2029,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportFODS(SvStream &rStream)
 
     uno::Reference<document::XFilter> xFilter(xInterface, uno::UNO_QUERY_THROW);
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = xFilter->filter(aArgs);
@@ -2063,8 +2063,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportXLSX(SvStream &rStream)
     xImporter->setTargetDocument(xModel);
 
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = false;
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index c611fd3933fb..a4bacae396df 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -142,7 +142,7 @@ void ScTPValidationValue::RefInputStartPreHdl( formula::RefEdit* pEdit, const fo
             // if Edit SetParent but button not, the tab order will be
             // incorrect, so move button anyway, and restore
             // parent later in order to restore the tab order. But
-            // hide it if its moved but unwanted
+            // hide it if it's moved but unwanted.
             m_xRefGrid->move(m_xBtnRef->GetWidget(), pNewParent);
             m_xBtnRef->GetWidget()->set_visible(pButton == m_xBtnRef.get());
             m_pBtnRefParent = pNewParent;
diff --git a/sd/qa/unit/uimpress.cxx b/sd/qa/unit/uimpress.cxx
index d0dbd223887b..bf6b122f67c9 100644
--- a/sd/qa/unit/uimpress.cxx
+++ b/sd/qa/unit/uimpress.cxx
@@ -61,7 +61,7 @@ Test::Test()
 
     //Without this we're crashing because callees are using
     //getProcessServiceFactory.  In general those should be removed in favour
-    //of retaining references to the root ServiceFactory as its passed around
+    //of retaining references to the root ServiceFactory as it's passed around
     comphelper::setProcessServiceFactory(xSM);
 
     InitVCL();
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index d44379d72421..db4c55f538cd 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -1058,8 +1058,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportFODP(SvStream &rStream)
 
     uno::Reference<document::XFilter> xFilter(xInterface, uno::UNO_QUERY_THROW);
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = xFilter->filter(aArgs);
@@ -1092,8 +1092,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportPPTX(SvStream &rStream)
     xImporter->setTargetDocument(xModel);
 
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = false;
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index 817174cf1b99..1a69d53ce3c3 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -76,7 +76,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(TabPageParent pParent, const Sf
     m_xBaseLb->make_sorted();
     m_xBaseLb->set_size_request(nMaxWidth , -1);
     //note that the code depends on categories not being lexically
-    //sorted, so if its changed to sorted, the code needs to
+    //sorted, so if it's changed to sorted, the code needs to
     //be adapted to be position unaware
     m_xFilterLb->set_size_request(nMaxWidth , -1);
 
diff --git a/smoketest/com/sun/star/comp/smoketest/TestExtension.java b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
index 5da73bb00a91..c953607e2147 100644
--- a/smoketest/com/sun/star/comp/smoketest/TestExtension.java
+++ b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
@@ -117,8 +117,8 @@ public class TestExtension {
          */
         public void initialize( Object[] object )
             throws com.sun.star.uno.Exception {
-            /* The component describes what arguments its expected and in which
-             * order!At this point you can read the objects and can initialize
+            /* The component describes what arguments are expected and in which
+             * order! At this point you can read the objects and initialize
              * your component using these objects.
              */
         }
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
index 2a2a82df7b74..653d4949863f 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
@@ -840,7 +840,7 @@ DECLARE_OOXMLEXPORT_TEST(testAlignForShape,"Shape.docx")
 DECLARE_OOXMLEXPORT_TEST(testLineStyle_DashType, "LineStyle_DashType.docx")
 {
     /* DOCX contatining Shape with LineStyle as Dash Type should get preserved inside
-     * an XMl tag <a:prstDash> with value "dash", "sysDot", "lgDot", etc.
+     * an XML tag <a:prstDash> with value "dash", "sysDot", "lgDot", etc.
      */
     xmlDocPtr pXmlDoc = parseExport("word/document.xml");
     if (!pXmlDoc)
@@ -942,7 +942,7 @@ DECLARE_OOXMLEXPORT_TEST(testExtentValue, "fdo74605.docx")
 }
 
 // part of tdf#93676, word gives the frame in the exported .docx a huge height,
-// because its exported with 255% height percentage from a 255 HeightPercent
+// because it's exported with 255% height percentage from a 255 HeightPercent
 // settings, but 255 is a special flag that the value is synced to the
 // other dimension.
 DECLARE_OOXMLEXPORT_TEST(testSyncedRelativePercent, "tdf93676-1.odt")
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx
index d9f16f087b76..b2122a2f6c4d 100644
--- a/sw/source/filter/docx/swdocxreader.cxx
+++ b/sw/source/filter/docx/swdocxreader.cxx
@@ -74,8 +74,8 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r
     uno::Reference<io::XStream> xStream(new utl::OStreamWrapper(*m_pMedium->GetInStream()));
 
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     pDocShell->SetLoading(SfxLoadedFlags::NONE);
 
diff --git a/sw/source/filter/inc/msfilter.hxx b/sw/source/filter/inc/msfilter.hxx
index 2a6c9efff0b2..3847af4523f6 100644
--- a/sw/source/filter/inc/msfilter.hxx
+++ b/sw/source/filter/inc/msfilter.hxx
@@ -144,7 +144,7 @@ namespace sw
         class ParaStyleMapper
         {
         private:
-            //I hate these things stupid pImpl things, but its warranted here
+            //I hate these things stupid pImpl things, but it's warranted here
              std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwTextFormatColl> > mpImpl;
         public:
             explicit ParaStyleMapper(SwDoc &rDoc);
@@ -201,7 +201,7 @@ namespace sw
         class CharStyleMapper
         {
         private:
-            //I hate these things stupid pImpl things, but its warranted here
+            //I hate these things stupid pImpl things, but it's warranted here
             std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwCharFormat>> mpImpl;
         public:
             explicit CharStyleMapper(SwDoc &rDoc);
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx
index 2b9dc6a21358..61d9ad960a27 100644
--- a/sw/source/filter/ww8/wrtww8gr.cxx
+++ b/sw/source/filter/ww8/wrtww8gr.cxx
@@ -844,7 +844,7 @@ void SwWW8WrGrf::WriteGraphicNode(SvStream& rStrm, const GraphicDetails &rItem)
             what word does the escher export should contain an anchored to
             character element which is drawn over this dummy and the whole
             shebang surrounded with a SHAPE field. This isn't *my* hack :-),
-            its what word does.
+            it's what word does.
             */
             {
                 WritePICFHeader(rStrm, rFly, 0x64, nWidth, nHeight);
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index d5b8c244f9ee..11712b8520d6 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -2785,7 +2785,7 @@ rtl_TextEncoding SwWW8ImplReader::GetCharSetFromLanguage()
 
      This is a bit tentative, more might be required if the concept is correct.
      When later version of word write older 6/95 documents the charset is
-     correctly set in the character runs involved, so its hard to reproduce
+     correctly set in the character runs involved, so it's hard to reproduce
      documents that require this to be sure of the process involved.
     */
     const SvxLanguageItem *pLang = static_cast<const SvxLanguageItem*>(GetFormatAttr(RES_CHRATR_LANGUAGE));
@@ -2803,7 +2803,7 @@ rtl_TextEncoding SwWW8ImplReader::GetCJKCharSetFromLanguage()
 
      This is a bit tentative, more might be required if the concept is correct.
      When later version of word write older 6/95 documents the charset is
-     correctly set in the character runs involved, so its hard to reproduce
+     correctly set in the character runs involved, so it's hard to reproduce
      documents that require this to be sure of the process involved.
     */
     const SvxLanguageItem *pLang = static_cast<const SvxLanguageItem*>(GetFormatAttr(RES_CHRATR_CJK_LANGUAGE));
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 26fdcf23934f..ca87bb3d13aa 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1846,8 +1846,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportFODT(SvStream &rStream)
 
     uno::Reference<document::XFilter> xFilter(xInterface, uno::UNO_QUERY_THROW);
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = xFilter->filter(aArgs);
@@ -1880,8 +1880,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportDOCX(SvStream &rStream)
     xImporter->setTargetDocument(xModel);
 
     //SetLoading hack because the document properties will be re-initted
-    //by the xml filter and during the init, while its considered uninitialized,
-    //setting a property will inform the document its modified, which attempts
+    //by the xml filter and during the init, while it's considered uninitialized,
+    //setting a property will inform the document it's modified, which attempts
     //to update the properties, which throws cause the properties are uninitialized
     xDocSh->SetLoading(SfxLoadedFlags::NONE);
     bool ret = false;
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index 18df713e52d2..0d0839f62b18 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -638,7 +638,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
         }
 
     // try to open the file in read/write mode
-    // (if its allowed to do so).
+    // (if it's allowed to do so).
     // But handle errors in a "hidden mode". Because
     // we try it readonly later - if read/write is not an option.
     css::uno::Reference< css::io::XStream >      xStream;
@@ -668,7 +668,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
             {
                 css::uno::Any ex( cppu::getCaughtException() );
                 // ignore exception, if reason was problem reasoned on
-                // open it in WRITEABLE mode! Then we try it READONLY
+                // open it in WRITABLE mode! Then we try it READONLY
                 // later a second time.
                 // All other errors must be handled as real error an
                 // break this method.
@@ -710,7 +710,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
                 bool bRequestReadOnly = bReadOnly;
                 aContent.getPropertyValue("IsReadOnly") >>= bReadOnly;
                 if ( bReadOnly && !bRequestReadOnly && bModeRequestedExplicitly )
-                        return false; // the document is explicitly requested with WRITEABLE mode
+                        return false; // the document is explicitly requested with WRITABLE mode
             }
         }
         catch(const css::uno::RuntimeException&)
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 7240f7ce1b87..8a076fadceb9 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2639,7 +2639,7 @@ bool RadioButton::set_property(const OString &rKey, const OUString &rValue)
             nBits &= ~(WB_VCENTER | WB_TOP);
             nBits |= WB_BOTTOM;
         }
-        //Its rather mad to have to set these bits when there is the other
+        //It's rather mad to have to set these bits when there is the other
         //image align. Looks like e.g. the radiobuttons etc weren't converted
         //over to image align fully.
         SetStyle(nBits);


More information about the Libreoffice-commits mailing list