Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,
Found no German comments in this directory. I however took the
opportunity to make a few fixes along the way.

You can commit the patch under the terms of MPL 1.1 / GPLv3+ / LGPLv3+
triple license.

/Albert
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx
index 2cff694..b5cf78f 100644
--- a/uui/source/fltdlg.cxx
+++ b/uui/source/fltdlg.cxx
@@ -94,7 +94,7 @@ FilterDialog::FilterDialog( Window* pParentWindow ,
 
*//*-*************************************************************************************************************/
 void FilterDialog::SetURL( const String& sURL )
 {
-    // convert it and use given pure string as fallback if convertion failed
+    // convert it and use given pure string as fallback if conversion failed
     m_ftURL.SetText( impl_buildUIFileName(sURL) );
 }
 
@@ -230,7 +230,7 @@ String FilterDialog::impl_buildUIFileName( const String& sName )
     }
     else
     {
-        // otherwise its realy a url ... build short name by using INetURLObject
+        // otherwise its really a url ... build short name by using INetURLObject
         ::com::sun::star::uno::Reference< ::com::sun::star::util::XStringWidth > 
xStringCalculator( new StringCalculator(&m_ftURL) );
         if( xStringCalculator.is() == sal_True )
         {
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 4fa3ef3..82e413f 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -153,7 +153,6 @@ void getRememberModes(
     }
     else
     {
-        //bool bHasRememberModeNo = false;
         bool bHasRememberModeSession = false;
         bool bHasRememberModePersistent = false;
 
@@ -162,7 +161,6 @@ void getRememberModes(
             switch ( rRememberModes[i] )
             {
             case ucb::RememberAuthentication_NO:
-                //bHasRememberModeNo = true;
                 break;
             case ucb::RememberAuthentication_SESSION:
                 bHasRememberModeSession = true;
@@ -298,7 +296,7 @@ handleAuthenticationRequest_(
 
             if (ePreferredRememberMode != eAlternateRememberMode)
             {
-                // user had te choice.
+                // user had the choice.
                 if (aInfo.GetIsRememberPassword())
                     xSupplyAuthentication->setRememberPassword(
                         ePreferredRememberMode);
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx
index cf83f28..18481c4 100644
--- a/uui/source/iahndl-filter.cxx
+++ b/uui/source/iahndl-filter.cxx
@@ -101,7 +101,7 @@ handleNoSuchFilterRequest_(
     uno::Reference< document::XInteractionFilterSelect > xFilterTransport;
     getContinuations(rContinuations, &xAbort, &xFilterTransport);
 
-    // check neccessary ressources - if they don't exist - abort or
+    // check neccessary resources - if they don't exist - abort or
     // break this operation
     if (!xAbort.is())
         return;
@@ -135,14 +135,14 @@ handleNoSuchFilterRequest_(
     // Note: We look for all filters here which match the following criteria:
     //          - they are import filters as minimum (of course they can
     //            support export too)
-    //          - we don't show any filter which are flaged as "don't show it
+    //          - we don't show any filter which are flagged as "don't show it
     //            at the UI" or "they are not installed"
     //          - we ignore filters, which have not set any valid
     //            DocumentService (e.g. our pure graphic filters)
     //          - we show it sorted by her UIName's
     //          - We don't use the order flag or prefer default filters.
     //            (Because this list shows all filters and the user should
-    //            find his filter vry easy by his UIName ...)
+    //            find his filter very easy by his UIName ...)
     //          - We use "_query_all" here ... but we filter graphic filters
     //            out by using DocumentService property later!
     uno::Reference< container::XEnumeration > xFilters
@@ -199,7 +199,7 @@ handleNoSuchFilterRequest_(
         return;
     }
 
-    // otherwhise set it for return
+    // otherwise set it for return
     xFilterTransport->setFilter( sSelectedFilter );
     xFilterTransport->select();
 }
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index b13f60b..e4bf947 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -56,8 +56,7 @@ String
 getContentPart( const String& _rRawString )
 {
     // search over some parts to find a string
-    //static char* aIDs[] = { "CN", "OU", "O", "E", NULL };
-    static char const * aIDs[] = { "CN=", "OU=", "O=", "E=", NULL };// By CP
+    static char const * aIDs[] = { "CN=", "OU=", "O=", "E=", NULL };
     String sPart;
     int i = 0;
     while ( aIDs[i] )
@@ -148,7 +147,7 @@ executeUnknownAuthDialog(
                                    xServiceFactory,
                                    xManager.get()));
 
-        // Get correct ressource string
+        // Get correct resource string
         rtl::OUString aMessage;
 
         std::vector< rtl::OUString > aArguments;
@@ -197,7 +196,7 @@ executeSSLWarnDialog(
                               xServiceFactory,
                               xManager.get()));
 
-        // Get correct ressource string
+        // Get correct resource string
         rtl::OUString aMessage_1;
         std::vector< rtl::OUString > aArguments_1;
 
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index 3570710..359aa97 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -433,7 +433,7 @@ PasswordContainerInteractionHandler::handle(
     if ( !xSupplyAuthentication.is() )
         return;
 
-    // Try to obatin credentials from password container.
+    // Try to obtain credentials from password container.
     if ( m_aPwContainerHelper.
              handleAuthenticationRequest( aAuthenticationRequest,
                                           xSupplyAuthentication,
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx
index 256693c..63af5fe 100644
--- a/uui/source/unknownauthdlg.cxx
+++ b/uui/source/unknownauthdlg.cxx
@@ -87,7 +87,6 @@ UnknownAuthDialog::UnknownAuthDialog
     m_rXCert ( rXCert ),
     pResourceMgr ( pResMgr )
 {
-    //SetMapMode( MapMode( MAP_APPFONT ) ); 
     FreeResource();
 
     m_aWarnImage.SetImage( WarningBox::GetStandardImage() );

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.