unotools/source/config/viewoptions.cxx | 6 +++--- unoxml/qa/complex/unoxml/RDFRepositoryTest.java | 6 +++--- unoxml/source/events/eventdispatcher.cxx | 6 +++--- unoxml/source/rdf/librdf_repository.cxx | 2 +- vcl/generic/fontmanager/fontconfig.cxx | 2 +- vcl/generic/fontmanager/fontmanager.cxx | 2 +- vcl/generic/print/common_gfx.cxx | 2 +- vcl/headless/svpframe.cxx | 2 +- vcl/inc/generic/printergfx.hxx | 2 +- vcl/inc/salsession.hxx | 2 +- vcl/inc/svdata.hxx | 2 +- vcl/inc/unx/salgdi.h | 2 +- vcl/inc/unx/saltype.h | 2 +- vcl/opengl/win/WinDeviceInfo.cxx | 2 +- vcl/osx/salframe.cxx | 2 +- 15 files changed, 21 insertions(+), 21 deletions(-)
New commits: commit 53e6ac15a14b46c76049a9e6eb39da7bb4093037 Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Tue Sep 29 18:12:38 2015 +0200 Fix typos Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx index d1d940a..83e2d04 100644 --- a/unotools/source/config/viewoptions.cxx +++ b/unotools/source/config/viewoptions.cxx @@ -80,7 +80,7 @@ sal_Int32 SvtViewOptions::m_nRefCount_Windows = 0 But not every superclass should use them! Because some view types don't have it really. - @attention We implement a write-througt-cache! We use it for reading - but write all changes directly to + @attention We implement a write-through cache! We use it for reading - but write all changes directly to configuration. (changes are made on internal cache too!). So it's easier to distinguish between added/changed/removed elements without any complex mask or bool flag information. Caches from configuration and our own one are synchronized every time - if we do so. @@ -186,7 +186,7 @@ SvtViewOptionsBase_Impl::SvtViewOptionsBase_Impl( const OUString& sList ) *//*-*************************************************************************************************************/ SvtViewOptionsBase_Impl::~SvtViewOptionsBase_Impl() { - // dont flush configuration changes here to m_xRoot. + // don't flush configuration changes here to m_xRoot. // That must be done inside every SetXXX() method already ! // Here its to late - DisposedExceptions from used configuration access can occur otherwise. @@ -322,7 +322,7 @@ css::uno::Sequence< css::beans::NamedValue > SvtViewOptionsBase_Impl::GetUserDat { css::uno::Reference< css::container::XNameAccess > xNode( impl_getSetNode(sName, false), - css::uno::UNO_QUERY); // no _THROW ! because we dont create missing items here. So we have to live with zero references .-) + css::uno::UNO_QUERY); // no _THROW ! because we don't create missing items here. So we have to live with zero references .-) css::uno::Reference< css::container::XNameAccess > xUserData; if (xNode.is()) xNode->getByName(PROPERTY_USERDATA) >>= xUserData; diff --git a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java index ba2bdfd..e9dbb37 100644 --- a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java +++ b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java @@ -103,10 +103,10 @@ public class RDFRepositoryTest assertNotNull("uint", uint); blank = BlankNode.create(xContext, "_:uno"); assertNotNull("blank", blank); - lit = Literal.create(xContext, "i am the literal"); + lit = Literal.create(xContext, "I am the literal"); assertNotNull("lit", lit); litlang = Literal.createWithLanguage(xContext, - "i am the literal", "en"); + "I am the literal", "en"); assertNotNull("litlang", litlang); littype = Literal.createWithType(xContext, "42", uint); assertNotNull("littype", littype); @@ -441,7 +441,7 @@ public class RDFRepositoryTest try { System.out.println("Checking RDFa gunk..."); - String content = "behold, for i am the content."; + String content = "behold, for I am the content."; XTextRange xTR = new TestRange(content); XMetadatable xM = (XMetadatable) xTR; diff --git a/unoxml/source/events/eventdispatcher.cxx b/unoxml/source/events/eventdispatcher.cxx index ae53ae2..04051f2 100644 --- a/unoxml/source/events/eventdispatcher.cxx +++ b/unoxml/source/events/eventdispatcher.cxx @@ -62,7 +62,7 @@ namespace DOM { namespace events { TypeListenerMap::const_iterator tIter = pTMap->find(aType); if (tIter != pTMap->end()) { ListenerMap *pMap = tIter->second; - // find listeners of specied type for specified node + // find listeners of specified type for specified node ListenerMap::iterator iter = pMap->find(pNode); while (iter != pMap->end() && iter->first == pNode) { @@ -178,7 +178,7 @@ namespace DOM { namespace events { pEvent->m_currentTarget = i_xEvent->getCurrentTarget(); pEvent->m_time = i_xEvent->getTimeStamp(); - // create the reference to the provate event implementation + // create the reference to the private event implementation // that will be dispatched to the listeners Reference< XEvent > const xEvent(pEvent); @@ -203,7 +203,7 @@ namespace DOM { namespace events { targetListeners = m_TargetListeners; } - // the caputre vector now holds the node path from target to root + // the capture vector now holds the node path from target to root // first we must search for capture listernes in order root to // to target. after that, any target listeners have to be called // then bubbeling phase listeners are called in target to root diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 0138511..8448f22 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -939,7 +939,7 @@ throw (uno::RuntimeException, std::exception) bool formatNeedsBaseURI(::sal_Int16 i_Format) { - (void) i_Format; //FIXME any which dont? + (void) i_Format; //FIXME any which don't? return true; } diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx index e9152f0..5d61dcd 100644 --- a/vcl/generic/fontmanager/fontconfig.cxx +++ b/vcl/generic/fontmanager/fontconfig.cxx @@ -83,7 +83,7 @@ public: public: FcResult LocalizedElementFromPattern(FcPattern* pPattern, FcChar8 **family, const char *elementtype, const char *elementlangtype); -//to-do, make private and add some cleanish accessor methods +//to-do, make private and add some cleaner accessor methods std::unordered_map< OString, OString, OStringHash > m_aFontNameToLocalized; std::unordered_map< OString, OString, OStringHash > m_aLocalizedToCanonical; private: diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index b6651b7..0915331 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -451,7 +451,7 @@ bool PrintFontManager::PrintFont::readAfmMetrics( MultiAtomProvider* pProvider, delete m_pMetrics; m_pMetrics = new PrintFontMetrics; - // mark all pages as queried (or clear if only global font info queiried) + // mark all pages as queried (or clear if only global font info queried) memset( m_pMetrics->m_aPages, bOnlyGlobalAttributes ? 0 : 0xff, sizeof( m_pMetrics->m_aPages ) ); m_aGlobalMetricX.width = m_aGlobalMetricY.width = diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx index 14574ed..58a11ca 100644 --- a/vcl/generic/print/common_gfx.cxx +++ b/vcl/generic/print/common_gfx.cxx @@ -774,7 +774,7 @@ PrinterGfx::PSSetFont () } else // tt based fonts mustn't reencode, the encoding is implied by the fontname - // same for symbol type1 fonts, dont try to touch them + // same for symbol type1 fonts, don't try to touch them { nChar += psp::appendStr ("(", pSetFont + nChar); nChar += psp::appendStr (rCurrent.maFont.getStr(), diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index f019ea5..c7595ee 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -246,7 +246,7 @@ void SvpSalFrame::Show( bool bVisible, bool bNoActivate ) } else { - // SAL_DEBUG("SvpSalFrame::Show: nothihg: " << this); + // SAL_DEBUG("SvpSalFrame::Show: nothing: " << this); } } diff --git a/vcl/inc/generic/printergfx.hxx b/vcl/inc/generic/printergfx.hxx index 77ae365..fcb9584 100644 --- a/vcl/inc/generic/printergfx.hxx +++ b/vcl/inc/generic/printergfx.hxx @@ -248,7 +248,7 @@ private: fontID getFallbackID () const { return mnFallbackID; } public: - /* grahics status update */ + /* graphics status update */ void PSSetColor (); void PSSetLineWidth (); void PSSetFont (); diff --git a/vcl/inc/salsession.hxx b/vcl/inc/salsession.hxx index eba1a90..8da8dc6 100644 --- a/vcl/inc/salsession.hxx +++ b/vcl/inc/salsession.hxx @@ -106,7 +106,7 @@ public: virtual void interactionDone() = 0; // signal that we're done saving virtual void saveDone() = 0; - // try to cancel the sutdown in progress + // try to cancel the shutdown in progress virtual bool cancelShutdown() = 0; }; diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index 91bd10f..3ae13d6 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -274,7 +274,7 @@ struct ImplSVNWFData // toolbox dropdown buttons bool mbFlatMenu:1; // no popup 3D border bool mbOpenMenuOnF10:1; // on gnome the first menu opens on F10 - bool mbNoFocusRects:1; // on Aqua/Gtk3 use native focus rendering, except for flat butttons + bool mbNoFocusRects:1; // on Aqua/Gtk3 use native focus rendering, except for flat buttons bool mbNoFocusRectsForFlatButtons:1; // on Gtk3 native focusing is also preferred for flat buttons bool mbCenteredTabs:1; // on Aqua, tabs are centered bool mbNoActiveTabTextRaise:1; // on Aqua the text for the selected tab diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index e35946d..58afd62 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -178,7 +178,7 @@ public: virtual bool drawGradient( const tools::PolyPolygon&, const Gradient& ) SAL_OVERRIDE; -#if 1 // TODO: remove these obselete methods +#if 1 // TODO: remove these obsolete methods virtual bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, diff --git a/vcl/inc/unx/saltype.h b/vcl/inc/unx/saltype.h index c7d62d3..97d9f1a 100644 --- a/vcl/inc/unx/saltype.h +++ b/vcl/inc/unx/saltype.h @@ -11,7 +11,7 @@ // an X11 screen index - this unpleasant construct is to allow // us to cleanly separate the 'DisplayScreen' concept - as used -// in the public facing API, from X's idea of screen indicees. +// in the public facing API, from X's idea of screen indices. // Both of these are plain unsigned integers called 'screen' class SalX11Screen { unsigned int mnXScreen; diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index ee522be..a6ef57e 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -830,7 +830,7 @@ void WinOpenGLDeviceInfo::GetData() mbHasDriverVersionMismatch = false; if (maAdapterVendorID == GetDeviceVendor(wgl::VendorIntel)) { - // we've had big crashers (moz#590373 and moz#595364) apparently correlated + // we've had big crashes (moz#590373 and moz#595364) apparently correlated // with bad Intel driver installations where the DriverVersion reported // by the registry was not the version of the DLL. OUString aDLLFileName("igd10umd32.dll"); diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 560a584..3fabeb4 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1016,7 +1016,7 @@ OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode ) if( (nKeyCode & KEY_MOD1) != 0 ) aResult.append( sal_Unicode( 0x2318 ) ); // we do not really handle Alt (see below) - // we map it to MOD3, whichis actually Command + // we map it to MOD3, which is actually Command if( (nKeyCode & (KEY_MOD2|KEY_MOD3)) != 0 ) aResult.append( sal_Unicode( 0x2325 ) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits