Kaydet (Commit) 1a8ba677 authored tarafından Alexander Wilms's avatar Alexander Wilms Kaydeden (comit) Caolán McNamara

Remove visual noise from l10ntools

Change-Id: Ia10056ae9e1b9adfe74f299afac5c3c84fa8cea7
Reviewed-on: https://gerrit.libreoffice.org/8278Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 412c47de
......@@ -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
{
......
......@@ -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
......
......@@ -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,
......
......@@ -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
{
......
......@@ -44,9 +44,9 @@ static void lcl_RemoveUTF8ByteOrderMarker( OString &rString )
}
//
// class LngParser
//
LngParser::LngParser(const OString &rLngFile)
: nError( LNG_OK )
, pLines( NULL )
......
......@@ -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(
......
......@@ -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,
......
......@@ -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
{
......
......@@ -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]);
......
......@@ -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
{
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment