I would have thought we would have deleted all commented out stuff already!
:) Woot for first commit in nearly a year.

Code is contributed under the LGPLv3+ / MPL.

Luke
From 78728d9fa94fe278190fe34145a2f0175e879487 Mon Sep 17 00:00:00 2001
From: Luke Petrolekas <luke.petrole...@gmail.com>
Date: Mon, 19 Mar 2012 18:12:35 -0400
Subject: [PATCH] Remove commented out code.

---
 rdbmaker/source/rdbmaker/rdbmaker.cxx   |    6 +-----
 rdbmaker/source/rdbmaker/rdboptions.cxx |    2 --
 2 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/rdbmaker/source/rdbmaker/rdbmaker.cxx b/rdbmaker/source/rdbmaker/rdbmaker.cxx
index a383346..490a8fd 100644
--- a/rdbmaker/source/rdbmaker/rdbmaker.cxx
+++ b/rdbmaker/source/rdbmaker/rdbmaker.cxx
@@ -456,11 +456,7 @@ int __cdecl main( int argc, char * argv[] )
                     ret = produceType(typeName.replace('.', '/'), typeMgr, typeDependencies,
                                       &options, listFile, rootKey, filterTypes);
                 }
-/*
-                // produce only this type
-                ret = produceType(typeName.replace('.', '/'), typeMgr, typeDependencies,
-                                  &options, listFile, rootKey, filterTypes);
-*/
+
                 if (!ret)
                 {
                     fprintf(stderr, "%s ERROR: %s\n",
diff --git a/rdbmaker/source/rdbmaker/rdboptions.cxx b/rdbmaker/source/rdbmaker/rdboptions.cxx
index cc78f7a..07478fd 100644
--- a/rdbmaker/source/rdbmaker/rdboptions.cxx
+++ b/rdbmaker/source/rdbmaker/rdboptions.cxx
@@ -350,8 +350,6 @@ OString RdbOptions::prepareHelp()
     help += "    -L           = specifies that only a text file is generated with the\n";
     help += "                   names of the specified types and their dependencies.\n";
     help += "                   Default is that a registry file will be created\n";
-//  help += "    -X<xmlfile>  = xmlfile specifies the name of an xml description where\n";
-//  help += "                   all types are specified which will be generated.\n";
     help += "    -T<name>     = name specifies a type or a list of types. The output for\n";
     help += "      [t1;...]     this type is generated.\n";
     help += "                   Example: 'com.sun.star.uno.XInterface' is a valid type.\n";
-- 
1.7.5.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to