summaryrefslogtreecommitdiff
path: root/autodoc/source/exes
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 15:42:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 15:42:50 +0000
commitb95605b0648ebb9b4bd4dc41137922fcccf69670 (patch)
tree4801e096fc20def6e27ce2d5390466ae696644b3 /autodoc/source/exes
parentfac99492c89f5fc3af18ac3988ff31a63e5ceb5b (diff)
INTEGRATION: CWS adc18 (1.12.2); FILE MERGED
2007/10/18 15:23:15 np 1.12.2.1: #i81775#
Diffstat (limited to 'autodoc/source/exes')
-rw-r--r--autodoc/source/exes/adc_uni/adc_cl.cxx21
1 files changed, 11 insertions, 10 deletions
diff --git a/autodoc/source/exes/adc_uni/adc_cl.cxx b/autodoc/source/exes/adc_uni/adc_cl.cxx
index 1402030bf51d..a091d2820b6c 100644
--- a/autodoc/source/exes/adc_uni/adc_cl.cxx
+++ b/autodoc/source/exes/adc_uni/adc_cl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: adc_cl.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: vg $ $Date: 2007-09-18 14:04:58 $
+ * last change: $Author: hr $ $Date: 2007-11-02 16:42:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -41,7 +41,7 @@
#include <algorithm>
#include <cosv/x.hxx>
#include <cosv/file.hxx>
-#include <cosv/template/tpltools.hxx>
+#include <cosv/tpl/tpltools.hxx>
#include <ary/ary.hxx>
#include <tools/tkpchars.hxx>
#include <adc_msg.hxx>
@@ -267,7 +267,10 @@ CommandLine::CommandLine()
pSinceTransformator(new command::SinceTagTransformationData),
aCommands(),
bInitOk(false),
- pCommand_CreateHtml(0)
+ pCommand_CreateHtml(0),
+ pReposy( & ary::Repository::Create_() ),
+ bCpp(false),
+ bIdl(false)
{
csv_assert(pTheInstance_ == 0);
pTheInstance_ = this;
@@ -286,9 +289,8 @@ CommandLine::Run() const
<< "\n---------------------"
<< "\n" << Endl();
- ary::n22::Repository::Create_();
-
- bool ok = true;
+ bool
+ ok = true;
for ( CommandList::const_iterator it = aCommands.begin();
ok AND it != aCommands.end();
++it )
@@ -306,11 +308,10 @@ CommandLine::Run() const
TheMessages().WriteFile(aDiagnosticMessagesFile.c_str());
}
- ary::n22::Repository::Destroy_();
return ok ? 0 : 1;
}
-const CommandLine &
+CommandLine &
CommandLine::Get_()
{
csv_assert(pTheInstance_ != 0);
@@ -356,7 +357,7 @@ CommandLine::do_Init( int argc,
StringVector::const_iterator itEnd = aParameters.end();
for ( StringVector::const_iterator it = aParameters.begin();
it != itEnd;
- )
+ )
{
if ( *it == command::C_opt_Verbose )
do_clVerbose(it,itEnd);