Kaydet (Commit) 82f0a4f9 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Caolán McNamara

Fix typos

Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34
Reviewed-on: https://gerrit.libreoffice.org/18990Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 835d7774
......@@ -196,7 +196,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
OMultiTypeInterfaceContainerHelper& aSharedContainer = m_pContainerImplementation->impl_getMultiTypeContainer();
// Get pointer to specialized container which hold all interfaces of searched type.
OInterfaceContainerHelper* pSpecialContainer = aSharedContainer.getContainer( m_aInterfaceType );
// Get elements of searched type, if somelse exist.
// Get elements of searched type, if some else exist.
if ( pSpecialContainer != NULL )
{
seqReturnConnections = pSpecialContainer->getElements();
......
......@@ -42,7 +42,7 @@ class ProgressBar;
#define FIXEDTEXT_MODELNAME "com.sun.star.awt.UnoControlFixedTextModel"
#define CONTROLNAME_TEXT "Text" // identifier the control in container
#define CONTROLNAME_PROGRESSBAR "ProgressBar" // -||-
#define STATUSINDICATOR_BACKGROUNDCOLOR TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 ) // lighgray
#define STATUSINDICATOR_BACKGROUNDCOLOR TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 ) // lightgray
#define STATUSINDICATOR_LINECOLOR_BRIGHT TRGB_COLORDATA( 0x00, 0xFF, 0xFF, 0xFF ) // white
#define STATUSINDICATOR_LINECOLOR_SHADOW TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x00 ) // black
#define STATUSINDICATOR_DEFAULT_WIDTH 300
......
......@@ -172,7 +172,7 @@ static void aDspFunc(const OUString &rErr, const OUString &rAction)
struct ErrorContextImpl
{
ErrorContext *pNext;
vcl::Window *pWin; // should be VclPtr for strong lifecyle
vcl::Window *pWin; // should be VclPtr for strong lifecycle
};
ErrorContext::ErrorContext(vcl::Window *pWinP)
......
......@@ -464,7 +464,7 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nOpenMode )
Close();
errno = 0;
m_eStreamMode = nOpenMode;
m_eStreamMode &= ~StreamMode::TRUNC; // don't truncat on reopen
m_eStreamMode &= ~StreamMode::TRUNC; // don't truncate on reopen
aFilename = rFilename;
......
......@@ -187,7 +187,7 @@ public class CheckContentProvider {
/**
* Check a folder on document 2 (document 2 contains an embedded picture and
* therefore contans a subfolder "Pictures"
* therefore contains a subfolder "Pictures"
*/
@Test public void checkTDOCFolder() {
try {
......@@ -302,9 +302,9 @@ public class CheckContentProvider {
// check the XChild interface
_XChild xChild = new _XChild();
xChild.oObj = UnoRuntime.queryInterface(XChild.class, xContent);
// hasParent dermines, if this content has a parent
// hasParent determines if this content has a parent
assertNotNull("getParent()", xChild._getParent(hasParent));
// parameter does dermine, if this funczion is supported: generally not supported with tdcp content
// parameter does dermine, if this function is supported: generally not supported with tdcp content
assertNotNull("setParent()", xChild._setParent(false));
// check the XPropertyChangeNotifier interface
......
......@@ -111,7 +111,7 @@ template<typename T> T CachedContentResultSet::rowOriginGet(
// CCRS_Cache methoeds.
// CCRS_Cache methods
......
......@@ -481,7 +481,7 @@ namespace cmis
libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, css::ucb::CommandFailedException, libcmis::Exception)
{
// can't get the session for some reason
// the recent file openning at start up is an example.
// the recent file opening at start up is an example.
try
{
if ( !getSession( xEnv ) )
......
......@@ -746,7 +746,7 @@ namespace
}
case WebDAVName_response:
{
// respose end
// response end
if(maHref.getLength())
{
if(isCollectingProperties())
......
......@@ -119,7 +119,7 @@ InterceptedInteraction::EInterceptionState InterceptedInteraction::impl_intercep
if (rInterception.MatchExact)
bMatch = aInterceptedType.equals(aRequestType);
else
bMatch = aInterceptedType.isAssignableFrom(aRequestType); // dont change intercepted and request type here -> it will check the wrong direction!
bMatch = aInterceptedType.isAssignableFrom(aRequestType); // don't change intercepted and request type here -> it will check the wrong direction!
// intercepted ...
// Call they might existing derived class, so they can handle that by its own.
......
......@@ -676,7 +676,7 @@ void InternetProxyDecider_Impl::setNoProxyList(
if ( !rNoProxyList.isEmpty() )
{
// List of connection endpoints hostname[:port],
// separated by semicolon. Wilcards allowed.
// separated by semicolon. Wildcards allowed.
sal_Int32 nPos = 0;
sal_Int32 nEnd = rNoProxyList.indexOf( ';' );
......
......@@ -49,7 +49,7 @@ published interface XInputStream: com::sun::star::uno::XInterface
of bytes (or less as a sign of EOF).
<br>
C++ only : Note that for unbridged (e.g., in-process)
calls, using the same sequence for repetive readBytes()-calls
calls, using the same sequence for repetitive readBytes()-calls
can bear a performance advantage. The callee can put the data
directly into the sequence so that no buffer reallocation is
necessary.
......
......@@ -18,12 +18,12 @@
package org.openoffice.test;
/**
/*
* Helper Functions for File handling
*/
public class FileHelper
{
/**
/*
* Concat a _sRelativePathToAdd to a _sPath and append a '/' to the _sPath only if need.
*
* @return a right concated path
......
......@@ -210,7 +210,7 @@ void SvtCommandOptions_Impl::Notify( const Sequence< OUString >& )
m_aDisabledCommands.AddCommand( sCmd );
}
// dont forget to update all existing frames and her might cached dispatch objects!
// don't forget to update all existing frames and her might cached dispatch objects!
// But look for already killed frames. We hold weak references instead of hard ones ...
for (SvtFrameVector::const_iterator pIt = m_lFrames.begin();
pIt != m_lFrames.end();
......
......@@ -145,7 +145,7 @@ void GlobalEventConfig_Impl::Notify( const Sequence< OUString >& )
initBindingInfo();
// dont forget to update all existing frames and her might cached dispatch objects!
// don't forget to update all existing frames and her might cached dispatch objects!
// But look for already killed frames. We hold weak references instead of hard ones ...
for (FrameVector::const_iterator pIt = m_lFrames.begin();
pIt != m_lFrames.end();
......
......@@ -193,8 +193,8 @@ struct FactoryInfo
bool isDefaultFilterReadonly() const { return bDefaultFilterReadonly; }
sal_Int32 getIcon () const { return nIcon; };
// If you call set-methods - we check for changes of valkues and mark it.
// But if you wish to set it without that ... you must initialize it!
// If you call set-methods - we check for changes of values and mark it.
// But if you wish to set it without that... you must initialize it!
void initInstalled ( bool bNewInstalled ) { bInstalled = bNewInstalled; }
void initFactory ( const OUString& sNewFactory ) { sFactory = sNewFactory; }
void initShortName ( const OUString& sNewShortName ) { sShortName = sNewShortName; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment