diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /svl/source/config | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/cjkoptions.cxx | 16 | ||||
-rw-r--r-- | svl/source/config/ctloptions.cxx | 36 | ||||
-rw-r--r-- | svl/source/config/languageoptions.cxx | 2 |
3 files changed, 27 insertions, 27 deletions
diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index 7c9538f101a9..d3c7d49ea28e 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -405,7 +405,7 @@ SvtCJKOptions::SvtCJKOptions(bool bDontLoad) pImp = pCJKOptions; } -// ----------------------------------------------------------------------- + SvtCJKOptions::~SvtCJKOptions() { @@ -414,43 +414,43 @@ SvtCJKOptions::~SvtCJKOptions() if ( !--nCJKRefCount ) DELETEZ( pCJKOptions ); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsCJKFontEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsCJKFontEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsVerticalTextEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsVerticalTextEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsAsianTypographyEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsAsianTypographyEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsJapaneseFindEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsJapaneseFindEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsRubyEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsRubyEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsChangeCaseMapEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); return pCJKOptions->IsChangeCaseMapEnabled(); } -// ----------------------------------------------------------------------- + bool SvtCJKOptions::IsDoubleLinesEnabled() const { DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded"); diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index 561f2f59e20b..f26b3f44161c 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -133,13 +133,13 @@ SvtCTLOptions_Impl::~SvtCTLOptions_Impl() if ( IsModified() ) Commit(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions_Impl::Notify( const Sequence< OUString >& ) { Load(); NotifyListeners(SFX_HINT_CTL_SETTINGS_CHANGED); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions_Impl::Commit() { Sequence< OUString > &rPropertyNames = PropertyNames::get(); @@ -231,7 +231,7 @@ void SvtCTLOptions_Impl::Commit() //broadcast changes NotifyListeners(SFX_HINT_CTL_SETTINGS_CHANGED); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions_Impl::Load() { Sequence< OUString >& rPropertyNames = PropertyNames::get(); @@ -402,7 +402,7 @@ SvtCTLOptions::SvtCTLOptions( bool bDontLoad ) m_pImp->AddListener(this); } -// ----------------------------------------------------------------------- + SvtCTLOptions::~SvtCTLOptions() { @@ -413,84 +413,84 @@ SvtCTLOptions::~SvtCTLOptions() if ( !--nCTLRefCount ) DELETEZ( pCTLOptions ); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLFontEnabled( bool _bEnabled ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLFontEnabled( _bEnabled ); } -// ----------------------------------------------------------------------------- + bool SvtCTLOptions::IsCTLFontEnabled() const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->IsCTLFontEnabled(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLSequenceChecking( bool _bEnabled ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLSequenceChecking(_bEnabled); } -// ----------------------------------------------------------------------------- + bool SvtCTLOptions::IsCTLSequenceChecking() const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->IsCTLSequenceChecking(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLSequenceCheckingRestricted( bool _bEnable ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLSequenceCheckingRestricted(_bEnable); } -// ----------------------------------------------------------------------------- + bool SvtCTLOptions::IsCTLSequenceCheckingRestricted( void ) const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->IsCTLSequenceCheckingRestricted(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLSequenceCheckingTypeAndReplace( bool _bEnable ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLSequenceCheckingTypeAndReplace(_bEnable); } -// ----------------------------------------------------------------------------- + bool SvtCTLOptions::IsCTLSequenceCheckingTypeAndReplace() const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->IsCTLSequenceCheckingTypeAndReplace(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLCursorMovement( SvtCTLOptions::CursorMovement _eMovement ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLCursorMovement( _eMovement ); } -// ----------------------------------------------------------------------------- + SvtCTLOptions::CursorMovement SvtCTLOptions::GetCTLCursorMovement() const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->GetCTLCursorMovement(); } -// ----------------------------------------------------------------------------- + void SvtCTLOptions::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumerals ) { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); pCTLOptions->SetCTLTextNumerals( _eNumerals ); } -// ----------------------------------------------------------------------------- + SvtCTLOptions::TextNumerals SvtCTLOptions::GetCTLTextNumerals() const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->GetCTLTextNumerals(); } -// ----------------------------------------------------------------------------- + bool SvtCTLOptions::IsReadOnly(EOption eOption) const { DBG_ASSERT( pCTLOptions->IsLoaded(), "CTL options not loaded" ); return pCTLOptions->IsReadOnly(eOption); } -// ----------------------------------------------------------------------------- + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx index 0bdfea1af765..72c53385228a 100644 --- a/svl/source/config/languageoptions.cxx +++ b/svl/source/config/languageoptions.cxx @@ -157,7 +157,7 @@ sal_uInt16 SvtLanguageOptions::GetScriptTypeOfLanguage( sal_uInt16 nLang ) } return nScript; } -// ----------------------------------------------------------------------------- + SvtSystemLanguageOptions::SvtSystemLanguageOptions() : utl::ConfigItem( "System/L10N") |