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

Fix typos

Change-Id: I6ca53ead2b125618d0aceff05d5fdfa374662799
Reviewed-on: https://gerrit.libreoffice.org/58809
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst ce1d0fd8
......@@ -293,7 +293,7 @@ void SAL_CALL BaseControl::createPeer( const Reference< XToolkit >& xToo
m_xMultiplexer->setPeer( m_xPeerWindow );
}
// create new referenz to xgraphics for painting on a peer
// create new reference to xgraphics for painting on a peer
// and add a paint listener
Reference< XDevice > xDevice( m_xPeerWindow, UNO_QUERY );
......
......@@ -1920,7 +1920,7 @@ SbMethod::SbMethod( const OUString& r, SbxDataType t, SbModule* p )
nLine2 = 0;
refStatics = new SbxArray;
mCaller = nullptr;
// HACK due to 'Referenz could not be saved'
// HACK due to 'Reference could not be saved'
SetFlag( SbxFlagBits::NoModify );
}
......@@ -1982,7 +1982,7 @@ bool SbMethod::LoadData( SvStream& rStrm, sal_uInt16 nVer )
nStart = nTempStart;
}
// HACK ue to 'Referenz could not be saved'
// HACK due to 'Reference could not be saved'
SetFlag( SbxFlagBits::NoModify );
return true;
......
......@@ -90,10 +90,10 @@ public class Test03 implements StorageTest {
// check storage hierarchy tree
// check that isStorageElement() and isStreamElement reacts to nonexisting object correctly
// check that isStorageElement() and isStreamElement reacts to nonexistent object correctly
try {
xTempStorage.isStorageElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStorageElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStorageElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -107,7 +107,7 @@ public class Test03 implements StorageTest {
try {
xTempStorage.isStreamElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStreamElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStreamElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -214,7 +214,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -229,7 +229,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -119,10 +119,10 @@ public class Test03 implements StorageTest {
// check storage hierarchy tree
// check that isStorageElement() and isStreamElement reacts to nonexisting object correctly
// check that isStorageElement() and isStreamElement reacts to nonexistent object correctly
try {
xTempStorage.isStorageElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStorageElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStorageElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -136,7 +136,7 @@ public class Test03 implements StorageTest {
try {
xTempStorage.isStreamElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStreamElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStreamElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -225,7 +225,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -240,7 +240,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -111,10 +111,10 @@ public class Test03 implements StorageTest {
// check storage hierarchy tree
// check that isStorageElement() and isStreamElement reacts to nonexisting object correctly
// check that isStorageElement() and isStreamElement reacts to nonexistent object correctly
try {
xTempStorage.isStorageElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStorageElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStorageElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -128,7 +128,7 @@ public class Test03 implements StorageTest {
try {
xTempStorage.isStreamElement( "does not exist" );
m_aTestHelper.Error( "Nonexisting element doesn't detected by isStreamElement() call!" );
m_aTestHelper.Error( "Nonexistent element doesn't detected by isStreamElement() call!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -227,7 +227,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.copyElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of copying of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......@@ -242,7 +242,7 @@ public class Test06 implements StorageTest {
try
{
xTempStorage.moveElementTo( "Nonexistent element", xTargetStorage, "Target" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexisting element!" );
m_aTestHelper.Error( "An exception must be thrown in case of moving of nonexistent element!" );
return false;
}
catch( com.sun.star.container.NoSuchElementException ne )
......
......@@ -42,10 +42,10 @@ public class _XHierarchicalNameAccess extends MultiMethodTest{
public XHierarchicalNameAccess oObj = null;
/**
* Calls the method with existing and nonexisting
* Calls the method with existing and nonexistent
* element names. <p>
* Has <b>OK</b> status if for existing name <code>true</code>
* is returned and for nonexisting - <code>false</code>.
* is returned and for nonexistent - <code>false</code>.
*/
public void _hasByHierarchicalName(){
String name = (String) tEnv.getObjRelation("ElementName") ;
......
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