diff options
Diffstat (limited to 'codemaker/source/codemaker/options.cxx')
-rw-r--r-- | codemaker/source/codemaker/options.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx index 2019e96b3518..27ebb14d5b3e 100644 --- a/codemaker/source/codemaker/options.cxx +++ b/codemaker/source/codemaker/options.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * 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 @@ -35,22 +35,22 @@ using namespace rtl; Options::Options() { -} +} Options::~Options() { - + } const OString& Options::getProgramName() const { return m_program; -} +} sal_Bool Options::isValid(const OString& option) { - return (m_options.count(option) > 0); -} + return (m_options.count(option) > 0); +} const OString Options::getOption(const OString& option) throw( IllegalArgument ) @@ -66,36 +66,36 @@ const OString Options::getOption(const OString& option) const OptionMap& Options::getOptions() { - return m_options; -} + return m_options; +} const OString Options::getInputFile(sal_uInt16 index) throw( IllegalArgument ) { if (index < m_inputFiles.size()) { - return m_inputFiles[index]; + return m_inputFiles[index]; } else { throw IllegalArgument("index is out of bound."); } -} +} const StringVector& Options::getInputFiles() { - return m_inputFiles; -} - + 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]; + return m_extra_input_files[index]; } else { throw IllegalArgument("index is out of bound."); } -} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |