Author: dmacvicar Date: Thu Jul 12 11:05:25 2007 New Revision: 5979 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5979&view=rev Log: indent Modified: branches/REFACTORING-10_3/libzypp/zypp/TranslatedText.cc Modified: branches/REFACTORING-10_3/libzypp/zypp/TranslatedText.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/REFACTORING-10_3/libzypp/zypp/TranslatedText.cc?rev=5979&r1=5978&r2=5979&view=diff ============================================================================== --- branches/REFACTORING-10_3/libzypp/zypp/TranslatedText.cc (original) +++ branches/REFACTORING-10_3/libzypp/zypp/TranslatedText.cc Thu Jul 12 11:05:25 2007 @@ -6,7 +6,7 @@ | /_____||_| |_| |_| | | | \---------------------------------------------------------------------*/ -/** \file zypp/TranslatedText.cc +/** \file zypp/TranslatedText.cc * */ #include <iostream> @@ -24,7 +24,7 @@ /////////////////////////////////////////////////////////////////// // - // CLASS NAME : TranslatedText::Impl + // CLASS NAME : TranslatedText::Impl // /** TranslatedText implementation. */ struct TranslatedText::Impl @@ -52,19 +52,19 @@ Locale toReturn( lang ); if ( lang == Locale::noCode ) { - toReturn = ZConfig().defaultTextLocale(); + toReturn = ZConfig().defaultTextLocale(); } do { - TranslationMap::const_iterator it = translations.find( toReturn ); - if ( it != translations.end() - && ! it->second.empty() ) - { - return it->second; - } + TranslationMap::const_iterator it = translations.find( toReturn ); + if ( it != translations.end() + && ! it->second.empty() ) + { + return it->second; + } - // retry using fallback: - toReturn = toReturn.fallback(); + // retry using fallback: + toReturn = toReturn.fallback(); } while( toReturn != Locale::noCode ); // No match in fallback list. @@ -114,7 +114,7 @@ /////////////////////////////////////////////////////////////////// // - // CLASS NAME : TranslatedText + // CLASS NAME : TranslatedText // /////////////////////////////////////////////////////////////////// @@ -122,8 +122,8 @@ /////////////////////////////////////////////////////////////////// // - // METHOD NAME : TranslatedText::TranslatedText - // METHOD TYPE : Ctor + // METHOD NAME : TranslatedText::TranslatedText + // METHOD TYPE : Ctor // TranslatedText::TranslatedText() : _pimpl( Impl::nullimpl() ) @@ -131,8 +131,8 @@ /////////////////////////////////////////////////////////////////// // - // METHOD NAME : TranslatedText::TranslatedText - // METHOD TYPE : Ctor + // METHOD NAME : TranslatedText::TranslatedText + // METHOD TYPE : Ctor // TranslatedText::TranslatedText( const std::string &text, const Locale &lang ) @@ -141,8 +141,8 @@ /////////////////////////////////////////////////////////////////// // - // METHOD NAME : TranslatedText::TranslatedText - // METHOD TYPE : Ctor + // METHOD NAME : TranslatedText::TranslatedText + // METHOD TYPE : Ctor // TranslatedText::TranslatedText( const std::liststd::string &text, const Locale &lang ) @@ -151,8 +151,8 @@ /////////////////////////////////////////////////////////////////// // - // METHOD NAME : TranslatedText::~TranslatedText - // METHOD TYPE : Dtor + // METHOD NAME : TranslatedText::~TranslatedText + // METHOD TYPE : Dtor // TranslatedText::~TranslatedText() {} -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org