summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 01:23:23 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 01:23:23 +0000
commit31b7525644f006069b9460b176e0da1c5e3cdd36 (patch)
tree1fcdff9a55e8e6dc83c475803cf8f1514ef9d4c0 /codemaker
parentdf6361553292ba600164e770100ec3aee2e13d8f (diff)
INTEGRATION: CWS warnings01 (1.2.132); FILE MERGED
2006/04/07 20:37:58 sb 1.2.132.4: RESYNC: (1.3-1.4); FILE MERGED 2005/11/24 14:59:58 sb 1.2.132.3: #i53898# Made code warning-free. 2005/09/22 22:23:12 sb 1.2.132.2: RESYNC: (1.2-1.3); FILE MERGED 2005/09/05 13:32:25 sb 1.2.132.1: #i53898# Made code warning-free.
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/options.cxx24
1 files changed, 2 insertions, 22 deletions
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx
index 3c33d07f8c2b..6eca64a8ab52 100644
--- a/codemaker/source/codemaker/options.cxx
+++ b/codemaker/source/codemaker/options.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: options.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2006-03-15 09:11:55 $
+ * last change: $Author: hr $ $Date: 2006-06-20 02:23:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -51,11 +51,6 @@ const OString& Options::getProgramName() const
return m_program;
}
-sal_uInt16 Options::getNumberOfOptions() const
-{
- return m_options.size();
-}
-
sal_Bool Options::isValid(const OString& option)
{
return (m_options.count(option) > 0);
@@ -64,8 +59,6 @@ sal_Bool Options::isValid(const OString& option)
const OString Options::getOption(const OString& option)
throw( IllegalArgument )
{
- const OString ret;
-
if (m_options.count(option) > 0)
{
return m_options[option];
@@ -73,8 +66,6 @@ const OString Options::getOption(const OString& option)
{
throw IllegalArgument("Option is not valid or currently not set.");
}
-
- return ret;
}
const OptionMap& Options::getOptions()
@@ -82,16 +73,9 @@ const OptionMap& Options::getOptions()
return m_options;
}
-sal_uInt16 Options::getNumberOfInputFiles() const
-{
- return m_inputFiles.size();
-}
-
const OString Options::getInputFile(sal_uInt16 index)
throw( IllegalArgument )
{
- const OString ret;
-
if (index < m_inputFiles.size())
{
return m_inputFiles[index];
@@ -99,8 +83,6 @@ const OString Options::getInputFile(sal_uInt16 index)
{
throw IllegalArgument("index is out of bound.");
}
-
- return ret;
}
const StringVector& Options::getInputFiles()
@@ -118,7 +100,5 @@ OString Options::getExtraInputFile(sal_uInt16 index) const
{
throw IllegalArgument("index is out of bound.");
}
-
- return OString();
}