[Libreoffice-commits] .: autodoc/inc autodoc/source

2011-10-31 Thread Joseph Powers
 autodoc/inc/ary/actions.hxx   |  105 --
 autodoc/inc/ary/doc/d_parametrized.hxx|  124 --
 autodoc/inc/ary/doc/ht/dht_interpreter.hxx|   79 --
 autodoc/inc/ary/udmhost.hxx   |   65 ---
 autodoc/inc/autodoc/dsp_txt_flist.hxx |   67 ---
 autodoc/source/ary/inc/cross_refs.hxx |  101 -
 autodoc/source/ary/inc/sorted_idset.hxx   |   99 -
 autodoc/source/ary/inc/traits_impl.hxx|  122 -
 autodoc/source/inc/manip.hxx  |   63 ---
 autodoc/source/parser_i/inc/s2_luidl/pe_modul.hxx |   65 ---
 autodoc/source/parser_i/inc/s2_luidl/smp_uidl.hxx |   84 --
 11 files changed, 974 deletions(-)

New commits:
commit 0ba264cc9f8ab33c7081223a3612cfe6604b150f
Author: Joseph Powers jpower...@cox.net
Date:   Mon Oct 31 21:29:39 2011 -0700

Delete some unused .hxx files from autodoc

diff --git a/autodoc/inc/ary/actions.hxx b/autodoc/inc/ary/actions.hxx
deleted file mode 100644
index 5e2536c..000
--- a/autodoc/inc/ary/actions.hxx
+++ /dev/null
@@ -1,105 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * http://www.openoffice.org/license.html
- * for a copy of the LGPLv3 License.
- *
- /
-
-#ifndef ARY_ACTIONS_HXX
-#define ARY_ACTIONS_HXX
-//  KORR_DEPRECATED_3.0
-
-
-// USED SERVICES
-// BASE CLASSES
-// COMPONENTS
-// PARAMETERS
-
-
-namespace ary
-{
-class RepositoryCenter;
-
-
-/*
-enum E_Action
-{
-action_Parse,
-action_SecondaryProductions,
-action_Save,
-action_Load,
-action_ReadyForRead
-};
-*/
-
-
-/** @resp
-Performs such commands on the repository, which refer to
-large parts of it.
-
-@collab ::ary::Repository
-and its components and derivates.
-@descr
-This class works in kind of double dispatch way:
-
-// Client code:
-Command_Xy  aMyCommand;
-ary::Repository::The_().PerformCommand( aMyCommand );
-
-// Repository_Implementation::PerformCommand() code:
-aMyCommand.Run(*this);
-
-// Command_Xy::Run(Repository_Implementation  rRepository) code:
-rRepository.Run_Command_Xy(*this);
-*/
-class Command
-{
-  public:
-virtual ~Command() {}
-
-voidRun(
-n22::RepositoryCenter 
-io_rReposy );
-  private:
-virtual voiddo_Run(
-n22::RepositoryCenter 
-io_rReposy ) = 0;
-};
-
-
-// IMPLEMENTATION
-
-inline void
-Command::Run(n22::RepositoryCenter  io_rReposy)
-{ do_Run(io_rReposy); }
-
-
-} // namespace ary
-
-
-#endif
-
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/doc/d_parametrized.hxx 
b/autodoc/inc/ary/doc/d_parametrized.hxx
deleted file mode 100644
index 78659e7..000
--- a/autodoc/inc/ary/doc/d_parametrized.hxx
+++ /dev/null
@@ -1,124 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A 

[Libreoffice-commits] .: autodoc/inc autodoc/source

2011-10-10 Thread Kevin Hunter
 autodoc/inc/ary_i/ci_text2.hxx   |2 +-
 autodoc/source/ary_i/kernel/ci_text2.cxx |   12 
 2 files changed, 1 insertion(+), 13 deletions(-)

New commits:
commit 60f108553552eba8441589c47294f252e4ace1e5
Author: Kevin Hunter hunt...@earlham.edu
Date:   Mon Oct 10 13:58:25 2011 -0400

Simplify logic to use std::vector's .empty()

No need to muck about with iterators, adding a loop, and 2 function
calls to test for empty: it's a std::vector under the hood, so use
.empty(), and inline it.

diff --git a/autodoc/inc/ary_i/ci_text2.hxx b/autodoc/inc/ary_i/ci_text2.hxx
index 8e1c202..eef1d63 100644
--- a/autodoc/inc/ary_i/ci_text2.hxx
+++ b/autodoc/inc/ary_i/ci_text2.hxx
@@ -72,7 +72,7 @@ class DocuTex2
 DYN DocuToken  let_drToken );
 
 const TokenListTokens() const  { return aTokens; }
-boolIsEmpty() const;
+boolIsEmpty() const { return aTokens.empty(); }
 const String   TextOfFirstToken() const;
 
 String Access_TextOfFirstToken();
diff --git a/autodoc/source/ary_i/kernel/ci_text2.cxx 
b/autodoc/source/ary_i/kernel/ci_text2.cxx
index 00a5a7e..dea062f 100644
--- a/autodoc/source/ary_i/kernel/ci_text2.cxx
+++ b/autodoc/source/ary_i/kernel/ci_text2.cxx
@@ -77,18 +77,6 @@ DocuTex2::AddToken( DYN DocuToken  let_drToken )
 aTokens.push_back(let_drToken);
 }
 
-bool
-DocuTex2::IsEmpty() const
-{
-for ( ary::inf::DocuTex2::TokenList::const_iterator
-iter = aTokens.begin();
-  iter != aTokens.end();
-)
-{
-return false;
-}
-return true;
-}
 
 using csi::dsapi::DT_TextToken;
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits