summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:15:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 10:05:02 -0600
commit1a8ba677082ad0888893f478ed723feea9280b43 (patch)
tree525cf6bf190e8a086adaed7b5e1421e3a6a0b1df /l10ntools
parent412c47ded694df2f955b4c590f096238eb549d3d (diff)
Remove visual noise from l10ntools
Change-Id: Ia10056ae9e1b9adfe74f299afac5c3c84fa8cea7 Reviewed-on: https://gerrit.libreoffice.org/8278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/cfgmerge.hxx8
-rw-r--r--l10ntools/inc/export.hxx24
-rw-r--r--l10ntools/source/cfgmerge.cxx20
-rw-r--r--l10ntools/source/export.cxx8
-rw-r--r--l10ntools/source/lngmerge.cxx4
-rw-r--r--l10ntools/source/localize.cxx8
-rw-r--r--l10ntools/source/merge.cxx20
-rw-r--r--l10ntools/source/po.cxx16
-rw-r--r--l10ntools/source/pocheck.cxx4
-rw-r--r--l10ntools/source/xmlparse.cxx16
-rw-r--r--l10ntools/source/xrmmerge.cxx12
11 files changed, 70 insertions, 70 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index d5d5e541b367..491ebc959b41 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 b66a5562637a..7e5b3be809ee 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 74e4e1bcd034..cc44dd3ff2ac 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 76cb1448bcd3..37f34f958903 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 7171f6584c5e..2e3a4d68e12f 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 659f689696df..9d055d5e5ec5 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 455ef456e95f..452a86a18652 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 fd6050956e49..5b40e8c60b43 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 74c8ce14e213..6043156cc951 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 69d4881792a3..0431111fd427 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 9db719d45ced..deeccf731039 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,