[Libreoffice-commits] core.git: idl/source

Caolán McNamara caolanm at redhat.com
Fri Dec 27 05:41:41 PST 2013


 idl/source/objects/module.cxx |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 2530d2923c3959ac8efa73e37a4b44cdacec7070
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 27 13:40:35 2013 +0000

    presumably each entry needs a tab and semicolon
    
    Change-Id: Iedb57186d56c6d1445bcfe2ad37d0569dba32b4e

diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx
index 19c380b..14acf19 100644
--- a/idl/source/objects/module.cxx
+++ b/idl/source/objects/module.cxx
@@ -153,20 +153,24 @@ void SvMetaModule::WriteAttributesSvIdl( SvIdlDataBase & rBase,
     SvMetaExtern::WriteAttributesSvIdl( rBase, rOutStm, nTab );
     if( !aHelpFileName.getString().isEmpty() || !aSlotIdFile.getString().isEmpty() || !aTypeLibFile.getString().isEmpty() )
     {
-        WriteTab( rOutStm, nTab );
         if( !aHelpFileName.getString().isEmpty() )
         {
+            WriteTab( rOutStm, nTab );
             aHelpFileName.WriteSvIdl( SvHash_HelpFile(), rOutStm, nTab +1 );
+            rOutStm << ';' << endl;
         }
         if( !aSlotIdFile.getString().isEmpty() )
         {
+            WriteTab( rOutStm, nTab );
             aSlotIdFile.WriteSvIdl( SvHash_SlotIdFile(), rOutStm, nTab +1 );
+            rOutStm << ';' << endl;
         }
         if( !aTypeLibFile.getString().isEmpty() )
         {
+            WriteTab( rOutStm, nTab );
             aTypeLibFile.WriteSvIdl( SvHash_TypeLibFile(), rOutStm, nTab +1 );
+            rOutStm << ';' << endl;
         }
-        rOutStm << ';' << endl;
     }
 }
 


More information about the Libreoffice-commits mailing list