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 ...@@ -164,7 +164,7 @@ void ErrObject::setData( const uno::Any& Number, const uno::Any& Source, const u
throw (uno::RuntimeException) throw (uno::RuntimeException)
{ {
if ( !Number.hasValue() ) 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; Number >>= m_nNumber;
Description >>= m_sDescription; Description >>= m_sDescription;
Source >>= m_sSource; Source >>= m_sSource;
......
...@@ -246,7 +246,7 @@ public class RecoveryTools { ...@@ -246,7 +246,7 @@ public class RecoveryTools {
/** /**
* The office must be started WITH restore and crashreporter functionality. * 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 * was removed from the <CODE>AppExecutionCommand</CODE> parameter
*/ */
public void removeParametersFromAppExecutionCommand(){ public void removeParametersFromAppExecutionCommand(){
......
...@@ -379,31 +379,12 @@ public class CheckModuleAPI extends ComplexTestCase ...@@ -379,31 +379,12 @@ public class CheckModuleAPI extends ComplexTestCase
private String getModulePath(String module) 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); String sUnoapi = getQaUnoApiPath(mSRC_ROOT, module);
return sUnoapi; 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. * correspind module name.
* *
* fwk -> framework * fwk -> framework
......
...@@ -3634,7 +3634,7 @@ ScVbaRange::Delete( const uno::Any& Shift ) throw (uno::RuntimeException) ...@@ -3634,7 +3634,7 @@ ScVbaRange::Delete( const uno::Any& Shift ) throw (uno::RuntimeException)
mode = sheet::CellDeleteMode_LEFT; mode = sheet::CellDeleteMode_LEFT;
break; break;
default: default:
throw uno::RuntimeException( rtl::OUString( "Illegal paramater " ), uno::Reference< uno::XInterface >() ); throw uno::RuntimeException( rtl::OUString( "Illegal parameter " ), uno::Reference< uno::XInterface >() );
} }
} }
else else
...@@ -4545,7 +4545,7 @@ ScVbaRange::Insert( const uno::Any& Shift, const uno::Any& /*CopyOrigin*/ ) thro ...@@ -4545,7 +4545,7 @@ ScVbaRange::Insert( const uno::Any& Shift, const uno::Any& /*CopyOrigin*/ ) thro
mode = sheet::CellInsertMode_DOWN; mode = sheet::CellInsertMode_DOWN;
break; break;
default: default:
throw uno::RuntimeException( rtl::OUString( "Illegal paramater " ), uno::Reference< uno::XInterface >() ); throw uno::RuntimeException( rtl::OUString( "Illegal parameter " ), uno::Reference< uno::XInterface >() );
} }
} }
else else
......
...@@ -714,8 +714,8 @@ public: ...@@ -714,8 +714,8 @@ public:
// Conversions ------------------------------------------------------------ // Conversions ------------------------------------------------------------
/** Converts a point relative to the data window origin to a cell address. /** Converts a point relative to the data window origin to a cell address.
@param rnRow Out-paramater that takes the row index. @param rnRow Out-parameter that takes the row 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 data window. @param rPoint The position in pixels relative to the data window.
@return <TRUE/>, if the point could be converted to a valid address. */ @return <TRUE/>, if the point could be converted to a valid address. */
virtual sal_Bool ConvertPointToCellAddress( virtual sal_Bool ConvertPointToCellAddress(
...@@ -723,21 +723,21 @@ public: ...@@ -723,21 +723,21 @@ public:
/** Converts a point relative to the row header bar origin to a row header /** Converts a point relative to the row header bar origin to a row header
index. 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. @param rPoint The position in pixels relative to the header bar.
@return <TRUE/>, if the point could be converted to a valid index. */ @return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToRowHeader( sal_Int32& rnRow, const Point& rPoint ); virtual sal_Bool ConvertPointToRowHeader( sal_Int32& rnRow, const Point& rPoint );
/** Converts a point relative to the column header bar origin to a column /** Converts a point relative to the column header bar origin to a column
header index. 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. @param rPoint The position in pixels relative to the header bar.
@return <TRUE/>, if the point could be converted to a valid index. */ @return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToColumnHeader( sal_uInt16& rnColumnPos, const Point& rPoint ); virtual sal_Bool ConvertPointToColumnHeader( sal_uInt16& rnColumnPos, const Point& rPoint );
/** Converts a point relative to the BrowseBox origin to the index of an /** Converts a point relative to the BrowseBox origin to the index of an
existing control. 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. @param rPoint The position in pixels relative to the BrowseBox.
@return <TRUE/>, if the point could be converted to a valid index. */ @return <TRUE/>, if the point could be converted to a valid index. */
virtual sal_Bool ConvertPointToControlIndex( sal_Int32& rnIndex, const Point& rPoint ); virtual sal_Bool ConvertPointToControlIndex( sal_Int32& rnIndex, const Point& rPoint );
......
...@@ -1205,7 +1205,7 @@ Writer& OutHTML_FrmFmtOLENode( Writer& rWrt, const SwFrmFmt& rFrmFmt, ...@@ -1205,7 +1205,7 @@ Writer& OutHTML_FrmFmtOLENode( Writer& rWrt, const SwFrmFmt& rFrmFmt,
} }
else if( aGlobName == SvGlobalName( SO3_PLUGIN_CLASSID ) ) 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; uno::Sequence < beans::PropertyValue > aProps;
aAny = xSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PluginCommands")) ); 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