[Libreoffice-commits] core.git: l10ntools/inc l10ntools/source

Alexander Wilms f.alexander.wilms at gmail.com
Wed Feb 26 08:05:28 PST 2014


 l10ntools/inc/cfgmerge.hxx    |    8 ++++----
 l10ntools/inc/export.hxx      |   24 ++++++++++++------------
 l10ntools/source/cfgmerge.cxx |   20 ++++++++++----------
 l10ntools/source/export.cxx   |    8 ++++----
 l10ntools/source/lngmerge.cxx |    4 ++--
 l10ntools/source/localize.cxx |    8 ++++----
 l10ntools/source/merge.cxx    |   20 ++++++++++----------
 l10ntools/source/po.cxx       |   16 ++++++++--------
 l10ntools/source/pocheck.cxx  |    4 ++--
 l10ntools/source/xmlparse.cxx |   16 ++++++++--------
 l10ntools/source/xrmmerge.cxx |   12 ++++++------
 11 files changed, 70 insertions(+), 70 deletions(-)

New commits:
commit 1a8ba677082ad0888893f478ed723feea9280b43
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date:   Tue Feb 25 19:15:53 2014 +0100

    Remove visual noise from l10ntools
    
    Change-Id: Ia10056ae9e1b9adfe74f299afac5c3c84fa8cea7
    Reviewed-on: https://gerrit.libreoffice.org/8278
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index d5d5e54..491ebc9 100644
--- a/l10ntools/inc/cfgmerge.hxx
+++ b/l10ntools/inc/cfgmerge.hxx
@@ -31,9 +31,9 @@
 typedef boost::unordered_map<OString, OString, OStringHash> OStringHashMap;
 
 
-//
+
 // class CfgStackData
-//
+
 
 class CfgStackData
 {
@@ -60,9 +60,9 @@ public:
 
 };
 
-//
+
 // class CfgStack
-//
+
 
 class CfgStack
 {
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index b66a556..7e5b3be 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -55,9 +55,9 @@ typedef boost::unordered_map<OString, bool, OStringHash>
 #define SOURCE_LANGUAGE "en-US"
 #define X_COMMENT "x-comment"
 
-//
+
 // class ResData
-//
+
 
 #define ID_LEVEL_NULL       0x0000
 #define ID_LEVEL_TEXT       0x0002
@@ -98,9 +98,9 @@ public:
 };
 
 
-//
+
 // class Export
-//
+
 
 #define LIST_NON                    0x0000
 #define LIST_STRING                 0x0001
@@ -185,9 +185,9 @@ public:
 };
 
 
-//
+
 // class MergeEntrys
-//
+
 
 /// Purpose: holds information of data to merge
 class MergeEntrys
@@ -224,9 +224,9 @@ public:
 
 };
 
-//
+
 // class MergeDataHashMap
-//
+
 
 class MergeData;
 
@@ -271,9 +271,9 @@ class MergeDataHashMap
         HashMap_t m_aHashMap;
 };
 
-//
+
 // class MergeData
-//
+
 
 /// Purpose: holds information of data to merge (one resource)
 class MergeData
@@ -296,9 +296,9 @@ public:
     bool operator==( ResData *pData );
 };
 
-//
+
 // class MergeDataFile
-//
+
 
 /// Purpose: holds information of data to merge, read from PO file
 class MergeDataFile
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx
index 74e4e1b..cc44dd3 100644
--- a/l10ntools/source/cfgmerge.cxx
+++ b/l10ntools/source/cfgmerge.cxx
@@ -84,9 +84,9 @@ void workOnTokenSet(int nTyp, char * pTokenText) {
 
 }
 
-//
+
 // class CfgStackData
-//
+
 
 CfgStackData* CfgStack::Push(const OString &rTag, const OString &rId)
 {
@@ -95,9 +95,9 @@ CfgStackData* CfgStack::Push(const OString &rTag, const OString &rId)
     return pD;
 }
 
-//
+
 // class CfgStack
-//
+
 
 CfgStack::~CfgStack()
 {
@@ -127,9 +127,9 @@ CfgStackData *CfgStack::GetStackData()
         return 0;
 }
 
-//
+
 // class CfgParser
-//
+
 
 CfgParser::CfgParser()
                 : pStackData( NULL ),
@@ -329,9 +329,9 @@ void CfgParser::Error(const OString& rError)
     yyerror(rError.getStr());
 }
 
-//
+
 // class CfgExport
-//
+
 
 CfgExport::CfgExport(
         const OString &rOutputFile,
@@ -389,9 +389,9 @@ void CfgExport::WorkOnText(
 }
 
 
-//
+
 // class CfgMerge
-//
+
 
 CfgMerge::CfgMerge(
     const OString &rMergeSource, const OString &rOutputFile,
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 76cb144..37f34f9 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -142,9 +142,9 @@ int GetError()
 }
 }
 
-//
+
 // class ResData
-//
+
 
 bool ResData::SetId( const OString& rId, sal_uInt16 nLevel )
 {
@@ -172,9 +172,9 @@ bool ResData::SetId( const OString& rId, sal_uInt16 nLevel )
     return false;
 }
 
-//
+
 // class Export
-//
+
 
 namespace
 {
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 7171f65..2e3a4d6 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -44,9 +44,9 @@ static void lcl_RemoveUTF8ByteOrderMarker( OString &rString )
 
 }
 
-//
+
 // class LngParser
-//
+
 LngParser::LngParser(const OString &rLngFile)
     : nError( LNG_OK )
     , pLines( NULL )
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index 659f689..9d055d5 100644
--- a/l10ntools/source/localize.cxx
+++ b/l10ntools/source/localize.cxx
@@ -323,17 +323,17 @@ bool includeProject(const OString& rProject) {
 }
 
 /// Handle one directory in the hierarchy.
-///
+/
 /// Ignores symlinks and instead explicitly descends into clone/* or src/*,
 /// as the Cygwin symlinks are not supported by osl::Directory on Windows.
-///
+/
 /// @param rUrl the absolute file URL of this directory
-///
+/
 /// @param nLevel 0 if this is either the root directory that contains the
 /// projects or one of the clone/* or src/* directories that contain the
 /// additional projects; -1 if this is the clone directory; 1 if this
 /// is a project directory; 2 if this is a directory inside a project
-///
+/
 /// @param rProject the name of the project (empty and ignored if nLevel <= 0)
 /// @param rPotDir the path of pot directory
 void handleDirectory(
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index 455ef45..452a86a 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -59,9 +59,9 @@ namespace
     }
 }
 
-//
+
 //  class ResData
-//
+
 
 ResData::ResData( const OString &rGId )
     :
@@ -92,9 +92,9 @@ ResData::ResData( const OString &rGId, const OString &rFilename)
     sGId = sGId.replaceAll("\r", OString());
 }
 
-//
+
 // class MergeEntrys
-//
+
 
 bool MergeEntrys::GetText( OString &rReturn,
     sal_uInt16 nTyp, const OString &nLangIndex, bool bDel )
@@ -135,9 +135,9 @@ OString MergeEntrys::GetQTZText(const ResData& rResData, const OString& rOrigTex
     return sKey + "||" + rOrigText;
 }
 
-//
+
 // class MergeDataHashMap
-//
+
 
 std::pair<MergeDataHashMap::iterator,bool> MergeDataHashMap::insert(const OString& rKey, MergeData* pMergeData)
 {
@@ -189,9 +189,9 @@ MergeDataHashMap::iterator MergeDataHashMap::find(const OString& rKey)
     return aLastFound;
 }
 
-//
+
 // class MergeData
-//
+
 
 MergeData::MergeData(
     const OString &rTyp, const OString &rGID,
@@ -220,9 +220,9 @@ bool MergeData::operator==( ResData *pData )
         && pData->sResTyp.equalsIgnoreAsciiCase(sTyp);
 }
 
-//
+
 // class MergeDataFile
-//
+
 
 MergeDataFile::MergeDataFile(
     const OString &rFileName, const OString &rFile,
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index fd60509..5b40e8c 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -216,9 +216,9 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
     }
  }
 
-//
+
 // Class PoEntry
-//
+
 
 PoEntry::PoEntry()
     : m_pGenPo( 0 )
@@ -400,9 +400,9 @@ OString PoEntry::genKeyId(const OString& rGenerator)
     return OString(sKeyId);
 }
 
-//
+
 // Class PoHeader
-//
+
 
 namespace
 {
@@ -443,9 +443,9 @@ PoHeader::~PoHeader()
     delete m_pGenPo;
 }
 
-//
+
 // Class PoOfstream
-//
+
 
 PoOfstream::PoOfstream()
     : m_aOutPut()
@@ -504,9 +504,9 @@ void PoOfstream::writeEntry( const PoEntry& rPoEntry )
     rPoEntry.m_pGenPo->writeToFile( m_aOutPut );
 }
 
-//
+
 // Class PoIfstream
-//
+
 
 namespace
 {
diff --git a/l10ntools/source/pocheck.cxx b/l10ntools/source/pocheck.cxx
index 74c8ce1..6043156 100644
--- a/l10ntools/source/pocheck.cxx
+++ b/l10ntools/source/pocheck.cxx
@@ -134,7 +134,7 @@ static void checkFunctionNames(OString aLanguage)
 {
     std::map<OString,sal_uInt16> aLocalizedFunctionNames;
     std::map<OString,sal_uInt16> aLocalizedCoreFunctionNames;
-    //
+
     std::list<PoEntry> repeatedEntries;
 
     OString aPoPaths[4];
@@ -277,7 +277,7 @@ static void checkFunctionNames(OString aLanguage)
                 "\nDuplicated translation is: " << it->first << "\n\n";
         }
     }
-    //
+
     for (int i=0;i<4;i++)
     {
         aPoInput.open(aPoPaths[i]);
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 69d4881..0431111 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -43,9 +43,9 @@ using namespace osl;
 #define ID          "id"
 #define OLDREF      "oldref"
 
-//
+
 // class XMLChildNode
-//
+
 
 XMLChildNode::XMLChildNode( XMLParentNode *pPar )
     : m_pParent( pPar )
@@ -70,9 +70,9 @@ XMLChildNode& XMLChildNode::operator=(const XMLChildNode& rObj)
     return *this;
 }
 
-//
+
 // class XMLParentNode
-//
+
 
 XMLParentNode::~XMLParentNode()
 {
@@ -153,9 +153,9 @@ void XMLParentNode::RemoveAndDeleteAllChildren()
     }
 }
 
-//
+
 // class XMLFile
-//
+
 
 void XMLFile::Write( OString const &aFilename )
 {
@@ -790,9 +790,9 @@ void XMLElement::Print(XMLNode *pCur, OStringBuffer& rBuffer, bool bRootelement
     }
 }
 
-//
+
 // class SimpleXMLParser
-//
+
 
 namespace
 {
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx
index 9db719d..deeccf7 100644
--- a/l10ntools/source/xrmmerge.cxx
+++ b/l10ntools/source/xrmmerge.cxx
@@ -143,9 +143,9 @@ int GetError()
 }
 }
 
-//
+
 // class XRMResParser
-//
+
 
 
 XRMResParser::XRMResParser()
@@ -290,9 +290,9 @@ void XRMResParser::Error( const OString &rError )
     yyerror(( char * ) rError.getStr());
 }
 
-//
+
 // class XMLResExport
-//
+
 
 XRMResExport::XRMResExport(
     const OString &rOutputFile, const OString &rFilePath )
@@ -369,9 +369,9 @@ void XRMResExport::EndOfText(
     pResData = NULL;
 }
 
-//
+
 // class XRMResMerge
-//
+
 
 XRMResMerge::XRMResMerge(
     const OString &rMergeSource, const OString &rOutputFile,


More information about the Libreoffice-commits mailing list