summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-03 01:14:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-03 01:14:35 +0100
commit369be67fb63417bf021205f6c7c56607fad851b4 (patch)
tree90f9f7c9a943a8635eb6c402ea7a2a068bb8aa6f
parentb05ae421e93f05cc7e2fe7112924aae2dac72e1c (diff)
callcatcher: unused getExtraInputFile
-rw-r--r--codemaker/inc/codemaker/options.hxx1
-rw-r--r--codemaker/source/codemaker/options.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/codemaker/inc/codemaker/options.hxx b/codemaker/inc/codemaker/options.hxx
index a9afe9934..b0770f0d1 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 1909dd427..edad58b0c 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: */