summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotools/source/config/viewoptions.cxx6
-rw-r--r--unoxml/qa/complex/unoxml/RDFRepositoryTest.java6
-rw-r--r--unoxml/source/events/eventdispatcher.cxx6
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
-rw-r--r--vcl/generic/fontmanager/fontconfig.cxx2
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx2
-rw-r--r--vcl/generic/print/common_gfx.cxx2
-rw-r--r--vcl/headless/svpframe.cxx2
-rw-r--r--vcl/inc/generic/printergfx.hxx2
-rw-r--r--vcl/inc/salsession.hxx2
-rw-r--r--vcl/inc/svdata.hxx2
-rw-r--r--vcl/inc/unx/salgdi.h2
-rw-r--r--vcl/inc/unx/saltype.h2
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx2
-rw-r--r--vcl/osx/salframe.cxx2
15 files changed, 21 insertions, 21 deletions
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx
index d1d940aacb78..83e2d04b111c 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 ba2bdfd5ab9c..e9dbb3741999 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 ae53ae2809d6..04051f2d64a7 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 0138511edbe0..8448f222ddc9 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 e9152f0297ed..5d61dcd07346 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 b6651b7674ff..09153318a259 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 14574edc1878..58a11ca268cd 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 f019ea5f4f8d..c7595eef812c 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 77ae365076b2..fcb9584264ca 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 eba1a908b53f..8da8dc60e0aa 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 91bd10fcffd4..3ae13d652701 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 e35946d66722..58afd62c4a10 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 c7d62d3a8414..97d9f1a4bb93 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 ee522be40163..a6ef57e2142d 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 560a58448e75..3fabeb48f58a 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 ) );