[Libreoffice-commits] .: 2 commits - codemaker/inc codemaker/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jul 3 04:37:00 PDT 2011
codemaker/inc/codemaker/options.hxx | 5 -----
codemaker/source/codemaker/options.cxx | 29 -----------------------------
2 files changed, 34 deletions(-)
New commits:
commit 0e89696fa149d9cb3ce7cedb6eaed42598979cb3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 3 01:16:34 2011 +0100
callcatcher: unused code
diff --git a/codemaker/inc/codemaker/options.hxx b/codemaker/inc/codemaker/options.hxx
index b0770f0..4295fc8 100644
--- a/codemaker/inc/codemaker/options.hxx
+++ b/codemaker/inc/codemaker/options.hxx
@@ -65,10 +65,6 @@ public:
sal_Bool isValid(const ::rtl::OString& option);
const ::rtl::OString getOption(const ::rtl::OString& option)
throw( IllegalArgument );
- const OptionMap& getOptions();
-
- const ::rtl::OString getInputFile(sal_uInt16 index)
- throw( IllegalArgument );
const StringVector& getInputFiles();
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx
index edad58b..c6ab6b8 100644
--- a/codemaker/source/codemaker/options.cxx
+++ b/codemaker/source/codemaker/options.cxx
@@ -64,23 +64,6 @@ const OString Options::getOption(const OString& option)
}
}
-const OptionMap& Options::getOptions()
-{
- return m_options;
-}
-
-const OString Options::getInputFile(sal_uInt16 index)
- throw( IllegalArgument )
-{
- if (index < m_inputFiles.size())
- {
- return m_inputFiles[index];
- } else
- {
- throw IllegalArgument("index is out of bound.");
- }
-}
-
const StringVector& Options::getInputFiles()
{
return m_inputFiles;
commit 369be67fb63417bf021205f6c7c56607fad851b4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 3 01:14:35 2011 +0100
callcatcher: unused getExtraInputFile
diff --git a/codemaker/inc/codemaker/options.hxx b/codemaker/inc/codemaker/options.hxx
index a9afe99..b0770f0 100644
--- a/codemaker/inc/codemaker/options.hxx
+++ b/codemaker/inc/codemaker/options.hxx
@@ -72,7 +72,6 @@ public:
const StringVector& getInputFiles();
- ::rtl::OString getExtraInputFile(sal_uInt16 index) const throw( IllegalArgument );
inline sal_uInt16 getNumberOfExtraInputFiles() const
{ return (sal_uInt16)m_extra_input_files.size(); }
inline const StringVector& getExtraInputFiles() const
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx
index 1909dd4..edad58b 100644
--- a/codemaker/source/codemaker/options.cxx
+++ b/codemaker/source/codemaker/options.cxx
@@ -86,16 +86,4 @@ const StringVector& Options::getInputFiles()
return m_inputFiles;
}
-OString Options::getExtraInputFile(sal_uInt16 index) const
- throw( IllegalArgument )
-{
- if (index < m_extra_input_files.size())
- {
- return m_extra_input_files[index];
- } else
- {
- throw IllegalArgument("index is out of bound.");
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list