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 /linguistic | |
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 'linguistic')
-rw-r--r-- | linguistic/source/gciterator.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index 9d84b09ddcf1..d9b48fe383b5 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -71,12 +71,9 @@ using namespace linguistic; using namespace ::com::sun::star; -// forward declarations static OUString GrammarCheckingIterator_getImplementationName() throw(); static uno::Sequence< OUString > GrammarCheckingIterator_getSupportedServiceNames() throw(); - - // white space list: obtained from the fonts.config.txt of a Linux system. static const sal_Unicode aWhiteSpaces[] = { diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index c840b87111e2..527173245e46 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -46,15 +46,12 @@ #include "thesdsp.hxx" #include "gciterator.hxx" - using namespace com::sun::star; using namespace linguistic; -// forward declarations uno::Sequence< OUString > static GetLangSvcList( const uno::Any &rVal ); uno::Sequence< OUString > static GetLangSvc( const uno::Any &rVal ); - static bool lcl_SeqHasString( const uno::Sequence< OUString > &rSeq, const OUString &rText ) { bool bRes = false; @@ -2133,6 +2130,4 @@ void * SAL_CALL LngSvcMgr_getFactory( return pRet; } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |