framework/source/services/frame.cxx | 12 ++++++------ framework/source/services/modulemanager.cxx | 2 +- framework/source/services/pathsettings.cxx | 4 ++-- framework/source/services/substitutepathvars.cxx | 4 ++-- framework/source/services/tabwindowservice.cxx | 4 ++-- framework/source/services/taskcreatorsrv.cxx | 2 +- helpcompiler/source/HelpLinker.cxx | 2 +- hwpfilter/source/drawdef.h | 2 +- hwpfilter/source/hcode.cxx | 2 +- hwpfilter/source/hinfo.h | 2 +- hwpfilter/source/hwpeq.cxx | 2 +- i18npool/inc/servicename.hxx | 2 +- i18npool/source/breakiterator/xdictionary.cxx | 2 +- i18npool/source/calendar/calendar_hijri.cxx | 2 +- i18npool/source/search/levdis.cxx | 4 ++-- 15 files changed, 24 insertions(+), 24 deletions(-)
New commits: commit a50539e2aa79bfef74c1100c252020972d436e77 Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Tue Sep 29 17:54:04 2015 +0200 Fix typos Change-Id: Iab78219aff60a7a45a319a96f326e27a6e8e25b8 Reviewed-on: https://gerrit.libreoffice.org/18953 Reviewed-by: Oliver Specht <oliver.spe...@cib.de> Tested-by: Oliver Specht <oliver.spe...@cib.de> diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index afcccfc..e1d336c 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -492,7 +492,7 @@ Frame::Frame( const css::uno::Reference< css::uno::XComponentContext >& xContext : TransactionBase ( ) , PropertySetHelper ( m_aMutex, &m_aTransactionManager, - false) // sal_False => dont release shared mutex on calling us! + false) // sal_False => don't release shared mutex on calling us! // init member , m_xContext ( xContext ) , m_aListenerContainer ( m_aMutex ) @@ -948,7 +948,7 @@ OUString SAL_CALL Frame::getName() throw( css::uno::RuntimeException, std::excep @short set new name for frame @descr This name is used to find target of findFrame() or queryDispatch() calls. - @attention Special names like "_blank", "_self" aren't allowed ... + @attention Special names like "_blank", "_self" aren't allowed... "_beamer" or "_menubar" excepts this rule! @seealso method getName() @@ -959,7 +959,7 @@ OUString SAL_CALL Frame::getName() throw( css::uno::RuntimeException, std::excep void SAL_CALL Frame::setName( const OUString& sName ) throw( css::uno::RuntimeException, std::exception ) { SolarMutexGuard g; - // Set new name ... but look for invalid special target names! + // Set new name... but look for invalid special target names! // They are not allowed to set. if (TargetHelper::isValidNameForFrame(sName)) m_sName = sName; @@ -1778,7 +1778,7 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnership ) throw( css::util::Close if ( ! setComponent(NULL,NULL) ) throw css::util::CloseVetoException("Component couldn't be deattached ...",static_cast< ::cppu::OWeakObject*>(this)); - // If closing is allowed ... inform all istener and dispose this frame! + // If closing is allowed... inform all listeners and dispose this frame! pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::util::XCloseListener>::get()); if (pContainer!=NULL) { @@ -2687,7 +2687,7 @@ void SAL_CALL Frame::impl_setPropertyValue(const OUString& /*sProperty*/, { /* There is no need to lock any mutex here. Because we share the - solar mutex with our base class. And we said to our base class: "dont release it on calling us" .-) + solar mutex with our base class. And we said to our base class: "don't release it on calling us" .-) see ctor of PropertySetHelper for further information. */ @@ -2744,7 +2744,7 @@ css::uno::Any SAL_CALL Frame::impl_getPropertyValue(const OUString& /*sProperty* sal_Int32 nHandle ) { /* There is no need to lock any mutex here. Because we share the - solar mutex with our base class. And we said to our base class: "dont release it on calling us" .-) + solar mutex with our base class. And we said to our base class: "don't release it on calling us" .-) see ctor of PropertySetHelper for further information. */ diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx index f8f176d..8c8e784 100644 --- a/framework/source/services/modulemanager.cxx +++ b/framework/source/services/modulemanager.cxx @@ -246,7 +246,7 @@ void SAL_CALL ModuleManager::replaceByName(const OUString& sName , // get access to the element // Note: Dont use impl_getConfig() method here. Because it creates a readonly access only, further - // it cache it as a member of this module manager instance. If we change some props there ... but dont + // it cache it as a member of this module manager instance. If we change some props there ... but don't // flush changes (because an error occurred) we will read them later. If we use a different config access // we can close it without a flush ... and our read data wont be affected .-) css::uno::Reference< css::uno::XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig( diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 82c85aa..3f63fd3 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -668,8 +668,8 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath) css::uno::Reference< css::container::XNameAccess > xCfgOld = fa_getCfgOld(); // try to replace path-parts with well known and supported variables. - // So an office can be moved easialy to another location without losing - // it's related paths. + // So an office can be moved easily to another location without losing + // its related paths. PathInfo aResubstPath(aPath); impl_subst(aResubstPath, true); diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 65ff79d..b11bada 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -186,7 +186,7 @@ enum PreDefVariable struct PredefinedPathVariables { // Predefined variables supported by substitute variables - LanguageType m_eLanguageType; // Lanuage type of Office + LanguageType m_eLanguageType; // Language type of Office OUString m_FixedVar[ PREDEFVAR_COUNT ]; // Variable value access by PreDefVariable OUString m_FixedVarNames[ PREDEFVAR_COUNT ]; // Variable name access by PreDefVariable }; @@ -692,7 +692,7 @@ void SubstitutePathVariables_Impl::ReadSharePointRuleSetFromConfiguration( } } - // Decode the environment and optional the operatng system settings + // Decode the environment and optional the operating system settings Any aEnvValue; EnvironmentType eEnvType = GetEnvTypeFromString( aEnvUsed ); if ( eEnvType == ET_OS ) diff --git a/framework/source/services/tabwindowservice.cxx b/framework/source/services/tabwindowservice.cxx index f15fc6b..604866f 100644 --- a/framework/source/services/tabwindowservice.cxx +++ b/framework/source/services/tabwindowservice.cxx @@ -199,7 +199,7 @@ TabWindowService::TabWindowService() : TransactionBase ( ) , PropertySetHelper ( m_aMutex, &m_aTransactionManager , - false ) // sal_False => dont release shared mutex on calling us! + false ) // sal_False => don't release shared mutex on calling us! , OWeakObject ( ) // Init member @@ -399,7 +399,7 @@ css::uno::Any SAL_CALL TabWindowService::impl_getPropertyValue(const OUString& / sal_Int32 nHandle ) { /* There is no need to lock any mutex here. Because we share the - solar mutex with our base class. And we said to our base class: "dont release it on calling us" .-) + solar mutex with our base class. And we said to our base class: "don't release it on calling us" .-) see ctor of PropertySetHelper for further information. */ css::uno::Any aValue; diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index e8f03b1..a851f71 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -171,7 +171,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL TaskCreatorService::createI // Mark all document windows as "special ones", so VCL can bind // special features to it. Because VCL doesn't know anything about documents ... // Note: Doing so it's no longer supported, that e.g. our wizards can use findFrame(_blank) - // to create it's previes frames. They must do it manually by using WindowDescriptor+Toolkit! + // to create it's previous frames. They must do it manually by using WindowDescriptor+Toolkit! css::uno::Reference< css::frame::XDesktop > xDesktop(xParentFrame, css::uno::UNO_QUERY); bool bTopLevelDocumentWindow = ( sRightName.isEmpty() && diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 24653b4..0218028 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -992,7 +992,7 @@ bool compileExtensionHelp o_rHelpProcessingErrorInfo.m_eErrorClass = HELPPROCESSING_XMLPARSING_ERROR; o_rHelpProcessingErrorInfo.m_aErrorMsg = OUString::createFromAscii( XML_ErrorString( nError ) );; o_rHelpProcessingErrorInfo.m_aXMLParsingFile = aTreeFileURL; - // CRAHSES!!! o_rHelpProcessingErrorInfo.m_nXMLParsingLine = XML_GetCurrentLineNumber( parser ); + // CRASHES!!! o_rHelpProcessingErrorInfo.m_nXMLParsingLine = XML_GetCurrentLineNumber( parser ); bSuccess = false; } diff --git a/hwpfilter/source/drawdef.h b/hwpfilter/source/drawdef.h index c6be198..f502d1a 100644 --- a/hwpfilter/source/drawdef.h +++ b/hwpfilter/source/drawdef.h @@ -131,7 +131,7 @@ struct HWPDOProperty hunit vmargin; uint flag; - /* Lotation properties */ + /* Rotation properties */ int rot_originx; int rot_originy; ZZParall parall; diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx index 700b2db..103b343 100644 --- a/hwpfilter/source/hcode.cxx +++ b/hwpfilter/source/hcode.cxx @@ -604,7 +604,7 @@ static const hchar jongseong_to_unicode[] = /* The medial sound is 0 or 1 * first 32 are consonants and vowels and the other 32 is combinations of alphabets * (0x8000 ~ 0xa413) are the first 32. the other 32 start from 0x8400 - * consonants and vowels area is made as a general table and the rest are made of a sructure mapping table + * consonants and vowels area is made as a general table and the rest are made of a structure mapping table * * 844, except for the remaining 1152-308 is a combination of consonants and vowels. */ static const hchar jamo_to_unicode[] = diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h index 0452f42..565e6a1 100644 --- a/hwpfilter/source/hinfo.h +++ b/hwpfilter/source/hinfo.h @@ -31,7 +31,7 @@ class CTextOut; class CHTMLOut; /** - * Information of page (phisical) + * Information of page (physical) */ struct PaperInfo { diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx index 732b229..f3731ca 100644 --- a/hwpfilter/source/hwpeq.cxx +++ b/hwpfilter/source/hwpeq.cxx @@ -62,7 +62,7 @@ static bool eq_sentence(MzString& outs, istream *strm, const char *end = 0); struct hwpeq { const char *key; // hwp math keyword - const char *latex; // corresponding latex keywork + const char *latex; // corresponding latex keyword int nargs; // # of argument unsigned char flag; // case sensitive? }; diff --git a/i18npool/inc/servicename.hxx b/i18npool/inc/servicename.hxx index 4a293bc..cbe1877 100644 --- a/i18npool/inc/servicename.hxx +++ b/i18npool/inc/servicename.hxx @@ -25,7 +25,7 @@ Service Name com.sun.star.i18n.Transliteration.l10n ... other We have to adopt different service name for internal UNO objects. - Case realted functionality vary depending on Locale. + Case related functionality vary depending on Locale. Implementation Name diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 73aab77..c6955d8 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -418,7 +418,7 @@ Boundary xdictionary::nextWord(const OUString& rText, sal_Int32 anyPos, sal_Int1 anyPos = boundary.endPos; const sal_Int32 nLen = rText.getLength(); if (anyPos < nLen) { - // looknig for the first non-whitespace character from anyPos + // looking for the first non-whitespace character from anyPos sal_uInt32 ch = rText.iterateCodePoints(&anyPos); while (u_isWhitespace(ch) && (anyPos < nLen)) ch=rText.iterateCodePoints(&anyPos); if (anyPos > 0) diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index ff1bf51..1908ac4 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -190,7 +190,7 @@ Calendar_hijri::getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year) do { newjd = NewMoon(newsyn); - // Decrement syndonic months + // Decrement syntonic months newsyn--; } while (newjd > prevday); newsyn++; diff --git a/i18npool/source/search/levdis.cxx b/i18npool/source/search/levdis.cxx index c0dc37a..f15d6ca 100644 --- a/i18npool/source/search/levdis.cxx +++ b/i18npool/source/search/levdis.cxx @@ -289,7 +289,7 @@ int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed ) return nLimit; } -// greatest common divisior according to Euklid (chaindivision) +// greatest common divisor according to Euklid (chaindivision) // special case: 0 plus anything produces 1 int WLevDistance::GCD( int a, int b ) { @@ -310,7 +310,7 @@ int WLevDistance::GCD( int a, int b ) // least common multiple : a * b / GCD(a,b) int WLevDistance::LCM( int a, int b ) { - if ( a > b ) // decrease owerflow chance + if ( a > b ) // decrease overflow chance return( (a / GCD(a,b)) * b ); else return( (b / GCD(a,b)) * a ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits