Hi all

here is a patch (master branch) that add "LibreOffice" and "LO" string
support to @since tag in idl files

this solves a build breakage in odk if an IDL @since tag in offapi
contains LibreOffice or LO

Laurent
>From f98d6dbbcf8fbc98d4a64709c6575ce507024cc0 Mon Sep 17 00:00:00 2001
From: Laurent Godard <[email protected]>
Date: Wed, 31 Aug 2011 15:26:52 +0200
Subject: [PATCH] allow LibreOffice reference in IDL @since tag

---
 autodoc/source/parser_i/idoc/docu_pe2.cxx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/autodoc/source/parser_i/idoc/docu_pe2.cxx b/autodoc/source/parser_i/idoc/docu_pe2.cxx
index 2f1af7f..d675103 100644
--- a/autodoc/source/parser_i/idoc/docu_pe2.cxx
+++ b/autodoc/source/parser_i/idoc/docu_pe2.cxx
@@ -616,7 +616,9 @@ bool
 SapiDocu_PE::CheckVersionSyntax_OOo(const String & i_versionPart1)
 {
     return      i_versionPart1 == "OOo"
-            OR  i_versionPart1 == "OpenOffice.org";
+            OR  i_versionPart1 == "OpenOffice.org"
+            OR  i_versionPart1 == "LO"
+            OR  i_versionPart1 == "LibreOffice";
 }
 
 bool
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to