diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-30 05:32:26 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-30 06:14:12 +0300 |
commit | d1ca0f4ed0e30394ce6759a20d4896651dd43051 (patch) | |
tree | af9def17a770c6399e18965c9fb9f3bb4b91b702 /include/connectivity | |
parent | 0d341d28f73603670e3b8c639c583229d3c723a6 (diff) |
Bin some pointless comments and reduce some vertical whitespace
Bin pointless '// predeclarations' or '// forward declarations' comments. If
a programmer doesn't know what a forward declaration is, well, why read C++
source code?
Also bin some pointless '// end of namespace foo' comments after namespace
blocks just a handful of lines long, and some superfluous vertical whitespace.
Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/dbconversion.hxx | 8 | ||||
-rw-r--r-- | include/connectivity/sqlnode.hxx | 3 | ||||
-rw-r--r-- | include/connectivity/sqlparse.hxx | 7 |
3 files changed, 2 insertions, 16 deletions
diff --git a/include/connectivity/dbconversion.hxx b/include/connectivity/dbconversion.hxx index ebd06b12dfda..7eecd2741f8e 100644 --- a/include/connectivity/dbconversion.hxx +++ b/include/connectivity/dbconversion.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/uno/Reference.hxx> #include <connectivity/dbtoolsdllapi.hxx> -// forward declarations namespace com { namespace sun @@ -64,11 +63,8 @@ namespace com } } - namespace dbtools { - - namespace DBTypeConversion { OOO_DLLPUBLIC_DBTOOLS ::com::sun::star::util::Date getStandardDate(); @@ -197,9 +193,7 @@ namespace dbtools ); } - -} // namespace dbtools - +} // namespace dbtools #endif // INCLUDED_CONNECTIVITY_DBCONVERSION_HXX diff --git a/include/connectivity/sqlnode.hxx b/include/connectivity/sqlnode.hxx index ad6ede75355d..691cedd0e563 100644 --- a/include/connectivity/sqlnode.hxx +++ b/include/connectivity/sqlnode.hxx @@ -31,7 +31,6 @@ #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> -// forward declarations namespace com { namespace sun @@ -108,7 +107,6 @@ namespace connectivity ~SQLParseNodeParameter(); }; - //= OSQLParseNode class OOO_DLLPUBLIC_DBTOOLS OSQLParseNode @@ -443,7 +441,6 @@ namespace connectivity void parseLeaf(OUStringBuffer& rString, const SQLParseNodeParameter& rParam) const; }; - inline OSQLParseNode* OSQLParseNode::getChild(sal_uInt32 nPos) const { assert(nPos < m_aChildren.size()); diff --git a/include/connectivity/sqlparse.hxx b/include/connectivity/sqlparse.hxx index a02d884f6ef4..5e4efe41588f 100644 --- a/include/connectivity/sqlparse.hxx +++ b/include/connectivity/sqlparse.hxx @@ -34,7 +34,6 @@ #include <map> -// forward declarations namespace com { namespace sun @@ -56,12 +55,12 @@ namespace com } } } + namespace connectivity { class OSQLScanner; class SQLError; - //= OParseContext class OOO_DLLPUBLIC_DBTOOLS OParseContext : public IParseContext @@ -88,7 +87,6 @@ namespace connectivity virtual ::com::sun::star::lang::Locale getPreferredLocale( ) const SAL_OVERRIDE; }; - // OSQLParseNodesContainer // grabage collection of nodes @@ -108,7 +106,6 @@ namespace connectivity typedef salhelper::SingletonRef<OSQLParseNodesContainer> OSQLParseNodesGarbageCollector; - //= OSQLParser struct OSQLParser_Data @@ -240,12 +237,10 @@ namespace connectivity sal_Int16 buildLikeRule(OSQLParseNode* pAppend, OSQLParseNode*& pLiteral, const OSQLParseNode* pEscape); sal_Int16 buildStringNodes(OSQLParseNode*& pLiteral); -#else #endif }; } - #endif // INCLUDED_CONNECTIVITY_SQLPARSE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |