Fix typos
Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
a6e622480f
commit
53e6ac15a1
@@ -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;
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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:
|
||||
|
@@ -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 =
|
||||
|
@@ -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(),
|
||||
|
@@ -246,7 +246,7 @@ void SvpSalFrame::Show( bool bVisible, bool bNoActivate )
|
||||
}
|
||||
else
|
||||
{
|
||||
// SAL_DEBUG("SvpSalFrame::Show: nothihg: " << this);
|
||||
// SAL_DEBUG("SvpSalFrame::Show: nothing: " << this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -248,7 +248,7 @@ private:
|
||||
fontID getFallbackID () const { return mnFallbackID; }
|
||||
|
||||
public:
|
||||
/* grahics status update */
|
||||
/* graphics status update */
|
||||
void PSSetColor ();
|
||||
void PSSetLineWidth ();
|
||||
void PSSetFont ();
|
||||
|
@@ -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;
|
||||
};
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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,
|
||||
|
@@ -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;
|
||||
|
@@ -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");
|
||||
|
@@ -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 ) );
|
||||
|
||||
|
Reference in New Issue
Block a user