[Libreoffice-commits] .: Branch 'feature/killsdf' - l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 9 13:32:41 PDT 2012


 l10ntools/source/po.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 1ef83f535f638ddfa7f2ad0533f88c37e7bcbeef
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date:   Tue Oct 9 22:31:23 2012 +0200

    Use _t suffix for typedef
    
    Change-Id: I8501739e9fb1b184facebc406ed6e20de1f7ab0a

diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index eaf83a9..0a5ae28 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -352,21 +352,21 @@ namespace
     //Escape special tags
     static OString lcl_EscapeTags( const OString& rText )
     {
-        typedef std::vector<OString> StrVec;
+        typedef std::vector<OString> StrVec_t;
         const OString vInitializer[] = {
             "ahelp", "link", "item", "emph", "defaultinline",
             "switchinline", "caseinline", "variable",
             "bookmark_value", "image", "embedvar", "alt" };
-        const StrVec vTagsForEscape( vInitializer,
+        const StrVec_t vTagsForEscape( vInitializer,
             vInitializer + sizeof(vInitializer) / sizeof(vInitializer[0]) );
-        StrVec vFoundTags;
+        StrVec_t vFoundTags;
         lcl_FindAllTag(rText,vFoundTags);
         OString sResult = rText;
-        for(StrVec::const_iterator pFound  = vFoundTags.begin();
+        for(StrVec_t::const_iterator pFound  = vFoundTags.begin();
             pFound != vFoundTags.end(); ++pFound)
         {
             bool bEscapeThis = false;
-            for(StrVec::const_iterator pEscape = vTagsForEscape.begin();
+            for(StrVec_t::const_iterator pEscape = vTagsForEscape.begin();
                 pEscape != vTagsForEscape.end(); ++pEscape)
             {
                 if (pFound->startsWith("<" + *pEscape) ||


More information about the Libreoffice-commits mailing list