summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-03-18 19:26:14 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-18 22:18:09 +0000
commit96a9b38db5fd9c21bffe4274fa7d5083d4bc2ee9 (patch)
tree5fe83c14b342f351a5c89dbd8ac289d6755891de
parentd1f3219e773f854c33b39a1fa1622def3282d8d6 (diff)
Typo: sucess->success + "adminsitrator" fix
Change-Id: I42fdb0a60b987af92e0433e7ff0e5754bc1da748 Reviewed-on: https://gerrit.libreoffice.org/35412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--include/osl/security.h2
-rw-r--r--sd/qa/unit/import-tests.cxx8
-rw-r--r--sw/source/core/layout/flylay.cxx12
3 files changed, 11 insertions, 11 deletions
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 );