diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-08-16 21:27:34 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-16 22:19:55 -0500 |
commit | b0e02e72c20f3c921fed34367f8184604387572b (patch) | |
tree | 1dca8a5615fad9d044d08c4ba6bf8fd4d4700f89 /svl/source/config | |
parent | 18749c7ad38d1a8cec1a941100112c99260c34fa (diff) |
svl: Remove ASCII art and pointless comments
Change-Id: Idd8ea0cb7e7d58a29dbfcae084558320efe5fe43
Reviewed-on: https://gerrit.libreoffice.org/10945
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/cjkoptions.cxx | 5 | ||||
-rw-r--r-- | svl/source/config/ctloptions.cxx | 6 | ||||
-rw-r--r-- | svl/source/config/languageoptions.cxx | 8 |
3 files changed, 5 insertions, 14 deletions
diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index b8c978809225..eb472265bb4e 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -378,15 +378,12 @@ bool SvtCJKOptions_Impl::IsReadOnly(SvtCJKOptions::EOption eOption) const return bReadOnly; } -// global ---------------------------------------------------------------- +// global static SvtCJKOptions_Impl* pCJKOptions = NULL; static sal_Int32 nCJKRefCount = 0; namespace { struct theCJKOptionsMutex : public rtl::Static< ::osl::Mutex , theCJKOptionsMutex >{}; } - -// class SvtCJKOptions -------------------------------------------------- - SvtCJKOptions::SvtCJKOptions(bool bDontLoad) { // Global access, must be guarded (multithreading) diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index b6c3967f42db..a75ba608b124 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -37,8 +37,6 @@ using namespace ::com::sun::star::uno; #define CFG_READONLY_DEFAULT false -// SvtCJKOptions_Impl ---------------------------------------------------------- - class SvtCTLOptions_Impl : public utl::ConfigItem { private: @@ -377,14 +375,12 @@ void SvtCTLOptions_Impl::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumer NotifyListeners(0); } } -// global ---------------------------------------------------------------- +// global static SvtCTLOptions_Impl* pCTLOptions = NULL; static sal_Int32 nCTLRefCount = 0; namespace { struct CTLMutex : public rtl::Static< osl::Mutex, CTLMutex > {}; } -// class SvtCTLOptions -------------------------------------------------- - SvtCTLOptions::SvtCTLOptions( bool bDontLoad ) { // Global access, must be guarded (multithreading) diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx index 72c53385228a..06d438271e05 100644 --- a/svl/source/config/languageoptions.cxx +++ b/svl/source/config/languageoptions.cxx @@ -33,12 +33,10 @@ #endif using namespace ::com::sun::star; -// global ---------------------------------------------------------------------- +// global namespace { struct ALMutex : public rtl::Static< ::osl::Mutex, ALMutex > {}; } -// class SvtLanguageOptions ---------------------------------------------------- - SvtLanguageOptions::SvtLanguageOptions( bool _bDontLoad ) { // Global access, must be guarded (multithreading) @@ -60,7 +58,7 @@ SvtLanguageOptions::~SvtLanguageOptions() delete m_pCJKOptions; delete m_pCTLOptions; } -// CJK options ----------------------------------------------------------------- +// CJK options bool SvtLanguageOptions::IsCJKFontEnabled() const { return m_pCJKOptions->IsCJKFontEnabled(); @@ -85,7 +83,7 @@ bool SvtLanguageOptions::IsAnyEnabled() const { return m_pCJKOptions->IsAnyEnabled(); } -// CTL options ----------------------------------------------------------------- +// CTL options void SvtLanguageOptions::SetCTLFontEnabled( bool _bEnabled ) { m_pCTLOptions->SetCTLFontEnabled( _bEnabled ); |