diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-09 22:05:24 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-09 22:05:24 +0200 |
commit | 63af8783bcb418e72e59f5faf3a070701b828845 (patch) | |
tree | 1a117f87f24f77a73b9a6a4d72558157410dcd1c /l10ntools/source/propmerge.cxx | |
parent | 961728d58cb80e7eff11baf8d44c0d37dd1074c9 (diff) |
Use static, lcl_ and anonymus namespace
for local functions
Change-Id: I0393c9552ca353e80ac61d258a280cbcd53e1cba
Diffstat (limited to 'l10ntools/source/propmerge.cxx')
-rw-r--r-- | l10ntools/source/propmerge.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index 08261684671b..0f1b20b6f1fe 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -20,7 +20,7 @@ namespace { //Write out an sdf line - void lcl_WriteSDF( + static void lcl_WriteSDF( std::ofstream &aSDFStream, const OString& rText, const OString& rPrj, const OString& rActFileName, const OString& rID ) { @@ -33,7 +33,7 @@ namespace } //Find ascii escaped unicode - sal_Int32 lcl_IndexOfUnicode( + static sal_Int32 lcl_IndexOfUnicode( const OString& rSource, const sal_Int32 nFrom = 0 ) { const OString sHexDigits = "0123456789abcdefABCDEF"; @@ -54,7 +54,7 @@ namespace } //Convert ascii escaped unicode to utf-8 - OString lcl_ConvertToUTF8( const OString& rText ) + static OString lcl_ConvertToUTF8( const OString& rText ) { OString sResult = rText; sal_Int32 nIndex = lcl_IndexOfUnicode( sResult ); @@ -72,7 +72,7 @@ namespace } //Escape unicode characters - void lcl_PrintJavaStyle( const OString& rText, std::ofstream &rOfstream ) + static void lcl_PrintJavaStyle( const OString& rText, std::ofstream &rOfstream ) { const OUString sTemp = OStringToOUString( rText, RTL_TEXTENCODING_UTF8 ); |