[Libreoffice-commits] .: uui/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Feb 21 12:37:27 PST 2011


 uui/source/fltdlg.cxx                |    4 ++--
 uui/source/iahndl-authentication.cxx |    4 +---
 uui/source/iahndl-filter.cxx         |    8 ++++----
 uui/source/iahndl-ssl.cxx            |    7 +++----
 uui/source/passwordcontainer.cxx     |    2 +-
 uui/source/unknownauthdlg.cxx        |    1 -
 6 files changed, 11 insertions(+), 15 deletions(-)

New commits:
commit 6587428c0a166ef419afcb79cc0d23403e76c202
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Mon Feb 21 15:37:13 2011 -0500

    Translation of German comment.

diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx
index 14bfa8e..a90dded 100644
--- a/uui/source/fltdlg.cxx
+++ b/uui/source/fltdlg.cxx
@@ -93,7 +93,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) );
 }
 
@@ -229,7 +229,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() );


More information about the Libreoffice-commits mailing list