Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.petrolekas@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.