[Libreoffice-commits] core.git: basic/source framework/qa qadevOOo/tests sc/source svtools/inc sw/source

Julien Nabet serval2412 at yahoo.fr
Sat Feb 23 06:39:36 PST 2013


 basic/source/classes/errobject.cxx                         |    2 -
 framework/qa/complex/framework/recovery/RecoveryTools.java |    2 -
 qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java     |   21 -------------
 sc/source/ui/vba/vbarange.cxx                              |    4 +-
 svtools/inc/svtools/brwbox.hxx                             |   10 +++---
 sw/source/filter/html/htmlplug.cxx                         |    2 -
 6 files changed, 11 insertions(+), 30 deletions(-)

New commits:
commit fe86d0ca5daeadd8bde74e27109bcb65402ce139
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Feb 23 15:37:28 2013 +0100

    Fix typo "paramater" -> "parameter" + remove some commented lines
    
    Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4

diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx
index 19e9cb8..f1c9b71 100644
--- a/basic/source/classes/errobject.cxx
+++ b/basic/source/classes/errobject.cxx
@@ -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;
diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java
index c9382c2..2355d11 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTools.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTools.java
@@ -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(){
diff --git a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
index dd4328f..d5b16ec 100644
--- a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
+++ b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
@@ -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
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 8b77f27..266f6b8 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -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
diff --git a/svtools/inc/svtools/brwbox.hxx b/svtools/inc/svtools/brwbox.hxx
index 7e2ed70..8c9b70b 100644
--- a/svtools/inc/svtools/brwbox.hxx
+++ b/svtools/inc/svtools/brwbox.hxx
@@ -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 );
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index b6d257d..91a4845 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -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")) );


More information about the Libreoffice-commits mailing list