Kaydet (Commit) fe86d0ca authored tarafından Julien Nabet's avatar Julien Nabet

Fix typo "paramater" -> "parameter" + remove some commented lines

Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
üst 7c775547
......@@ -164,7 +164,7 @@ void ErrObject::setData( const uno::Any& Number, const uno::Any& Source, const u
throw (uno::RuntimeException)
{
if ( !Number.hasValue() )
throw uno::RuntimeException( OUString("Missing Required Paramater"), uno::Reference< uno::XInterface >() );
throw uno::RuntimeException( OUString("Missing Required Parameter"), uno::Reference< uno::XInterface >() );
Number >>= m_nNumber;
Description >>= m_sDescription;
Source >>= m_sSource;
......
......@@ -246,7 +246,7 @@ public class RecoveryTools {
/**
* The office must be started WITH restore and crashreporter functionality.
* Therefore the paramater '<CODE>--norestore</CODE>' and '<CODE>--nocrashreport</CODE>'
* Therefore the parameter '<CODE>--norestore</CODE>' and '<CODE>--nocrashreport</CODE>'
* was removed from the <CODE>AppExecutionCommand</CODE> parameter
*/
public void removeParametersFromAppExecutionCommand(){
......
......@@ -379,31 +379,12 @@ public class CheckModuleAPI extends ComplexTestCase
private String getModulePath(String module)
{
// String sUnoapi = null;
// final String sep = System.getProperty("file.separator");
// final File srcRoot = new File(mSRC_ROOT);
// final FolderFilter qaFilter = new FolderFilter(module);
// final File[] moduleTree = srcRoot.listFiles(qaFilter);
// if (moduleTree != null)
// {
// if (mDebug)
// {
// log.println("moduleTree length:" + moduleTree.length);
// log.println("moduleTree: " + moduleTree[0].getAbsolutePath());
// }
// if (moduleTree != null)
// {
// sUnoapi = moduleTree[0].getAbsolutePath() + sep + "qa" + sep + "unoapi";
// }
// }
String sUnoapi = getQaUnoApiPath(mSRC_ROOT, module);
return sUnoapi;
}
/**
Some modules contains more the one project. This methods translates given project paramater to the
Some modules contains more the one project. This methods translates given project parameter to the
* correspind module name.
*
* fwk -> framework
......
......@@ -3634,7 +3634,7 @@ ScVbaRange::Delete( const uno::Any& Shift ) throw (uno::RuntimeException)
mode = sheet::CellDeleteMode_LEFT;
break;
default:
throw uno::RuntimeException( rtl::OUString( "Illegal paramater " ), uno::Reference< uno::XInterface >() );
throw uno::RuntimeException( rtl::OUString( "Illegal parameter " ), uno::Reference< uno::XInterface >() );
}
}
else
......@@ -4545,7 +4545,7 @@ ScVbaRange::Insert( const uno::Any& Shift, const uno::Any& /*CopyOrigin*/ ) thro
mode = sheet::CellInsertMode_DOWN;
break;
default:
throw uno::RuntimeException( rtl::OUString( "Illegal paramater " ), uno::Reference< uno::XInterface >() );
throw uno::RuntimeException( rtl::OUString( "Illegal parameter " ), uno::Reference< uno::XInterface >() );
}
}
else
......
......@@ -714,8 +714,8 @@ public:
// Conversions ------------------------------------------------------------
/** Converts a point relative to the data window origin to a cell address.
@param rnRow Out-paramater that takes the row index.
@param rnColumnId Out-paramater that takes the column ID.
@param rnRow Out-parameter that takes the row index.
@param rnColumnId Out-parameter that takes the column ID.
@param rPoint The position in pixels relative to the data window.
@return <TRUE/>, if the point could be converted to a valid address. */
virtual sal_Bool ConvertPointToCellAddress(
......@@ -723,21 +723,21 @@ public:
/** Converts a point relative to the row header bar origin to a row header
index.
@param rnRow Out-paramater that takes the row index.
@param rnRow Out-parameter that takes the row index.
@param rPoint The position in pixels relative to the header bar.
@return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToRowHeader( sal_Int32& rnRow, const Point& rPoint );
/** Converts a point relative to the column header bar origin to a column
header index.
@param rnColumnId Out-paramater that takes the column ID.
@param rnColumnId Out-parameter that takes the column ID.
@param rPoint The position in pixels relative to the header bar.
@return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToColumnHeader( sal_uInt16& rnColumnPos, const Point& rPoint );
/** Converts a point relative to the BrowseBox origin to the index of an
existing control.
@param rnRow Out-paramater that takes the 0-based control index.
@param rnRow Out-parameter that takes the 0-based control index.
@param rPoint The position in pixels relative to the BrowseBox.
@return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToControlIndex( sal_Int32& rnIndex, const Point& rPoint );
......
......@@ -1205,7 +1205,7 @@ Writer& OutHTML_FrmFmtOLENode( Writer& rWrt, const SwFrmFmt& rFrmFmt,
}
else if( aGlobName == SvGlobalName( SO3_PLUGIN_CLASSID ) )
{
// fuer Plugins die Paramater als Optionen schreiben
// fuer Plugins die Parameter als Optionen schreiben
uno::Sequence < beans::PropertyValue > aProps;
aAny = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PluginCommands")) );
......
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