[Libreoffice-commits] core.git: include/osl sd/qa sw/source

Julien Nabet serval2412 at yahoo.fr
Sat Mar 18 22:18:31 UTC 2017


 include/osl/security.h           |    2 +-
 sd/qa/unit/import-tests.cxx      |    8 ++++----
 sw/source/core/layout/flylay.cxx |   12 ++++++------
 3 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 96a9b38db5fd9c21bffe4274fa7d5083d4bc2ee9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 18 19:26:14 2017 +0100

    Typo: sucess->success + "adminsitrator" fix
    
    Change-Id: I42fdb0a60b987af92e0433e7ff0e5754bc1da748
    Reviewed-on: https://gerrit.libreoffice.org/35412
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/osl/security.h b/include/osl/security.h
index deefb5894047..03acf0a51755 100644
--- a/include/osl/security.h
+++ b/include/osl/security.h
@@ -90,7 +90,7 @@ SAL_DLLPUBLIC oslSecurityError SAL_CALL osl_loginUserOnFileServer(
 
 /** Query if the user who is denotes by this security has administrator rights.
     @param[in] Security the security handle for th user.
-    @return True, if the user has adminsitrator rights, otherwise false.
+    @return True, if the user has administrator rights, otherwise false.
 */
 SAL_DLLPUBLIC sal_Bool SAL_CALL osl_isAdministrator(
         oslSecurity Security);
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 502f9f2f018d..44de6aa11393 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -916,8 +916,8 @@ void SdImportTest::testBnc591147()
     //uno::Reference< drawing::XShape > xShape(xPage->getByIndex(0), uno::UNO_QUERY_THROW );
     uno::Reference< beans::XPropertySet > xPropSet( getShape( 0, xPage ) );
     OUString sVideoURL("emptyURL");
-    bool bSucess = xPropSet->getPropertyValue("MediaURL") >>= sVideoURL;
-    CPPUNIT_ASSERT_MESSAGE( "MediaURL property is not set", bSucess );
+    bool bSuccess = xPropSet->getPropertyValue("MediaURL") >>= sVideoURL;
+    CPPUNIT_ASSERT_MESSAGE( "MediaURL property is not set", bSuccess );
     CPPUNIT_ASSERT_MESSAGE("MediaURL is empty", !sVideoURL.isEmpty());
 
     // Second page has audio file inserted
@@ -926,8 +926,8 @@ void SdImportTest::testBnc591147()
 
     xPropSet.set( getShape( 0, xPage ) );
     OUString sAudioURL("emptyURL");
-    bSucess = xPropSet->getPropertyValue("MediaURL") >>= sAudioURL;
-    CPPUNIT_ASSERT_MESSAGE( "MediaURL property is not set", bSucess );
+    bSuccess = xPropSet->getPropertyValue("MediaURL") >>= sAudioURL;
+    CPPUNIT_ASSERT_MESSAGE( "MediaURL property is not set", bSuccess );
     CPPUNIT_ASSERT_MESSAGE("MediaURL is empty", !sAudioURL.isEmpty());
 
     CPPUNIT_ASSERT_MESSAGE( "sAudioURL and sVideoURL should not be equal", sAudioURL != sVideoURL );
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index 4a462ada6a14..496d6b9b9838 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -587,9 +587,9 @@ void SwPageFrame::AppendFlyToPage( SwFlyFrame *pNew )
         if ( !m_pSortedObjs )
             m_pSortedObjs = new SwSortedObjs();
 
-        const bool bSucessInserted = m_pSortedObjs->Insert( *pNew );
-        OSL_ENSURE( bSucessInserted, "Fly not inserted in Sorted." );
-        (void) bSucessInserted;
+        const bool bSuccessInserted = m_pSortedObjs->Insert( *pNew );
+        OSL_ENSURE( bSuccessInserted, "Fly not inserted in Sorted." );
+        (void) bSuccessInserted;
 
         // #i87493#
         OSL_ENSURE( pNew->GetPageFrame() == nullptr || pNew->GetPageFrame() == this,
@@ -736,9 +736,9 @@ void SwPageFrame::MoveFly( SwFlyFrame *pToMove, SwPageFrame *pDest )
     if ( !pDest->GetSortedObjs() )
         pDest->m_pSortedObjs = new SwSortedObjs();
 
-    const bool bSucessInserted = pDest->GetSortedObjs()->Insert( *pToMove );
-    OSL_ENSURE( bSucessInserted, "Fly not inserted in Sorted." );
-    (void) bSucessInserted;
+    const bool bSuccessInserted = pDest->GetSortedObjs()->Insert( *pToMove );
+    OSL_ENSURE( bSuccessInserted, "Fly not inserted in Sorted." );
+    (void) bSuccessInserted;
 
     // #i28701# - use new method <SetPageFrame(..)>
     pToMove->SetPageFrame( pDest );


More information about the Libreoffice-commits mailing list