diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 00:52:14 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 13:27:10 +0100 |
commit | fde781f09543dfea1f22977376753740c5ea6b40 (patch) | |
tree | 8afbe050f38e55d99e66595585e12756cd87fe12 | |
parent | 984f42952960948080af6845f133b21053fa027c (diff) |
Remove unused USED ;)
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 10 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 12 |
2 files changed, 0 insertions, 22 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 5c158da3e0bc..5e2e11193a02 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -494,19 +494,9 @@ sal_Bool SvxSpellWrapper::SpellNext( ) // Ein BODY_Bereich erledigt, Frage nach dem anderen BODY_Bereich WAIT_OFF(); -// Sobald im Dialog das DontWrapAround gesetzt werden kann, kann der -// folgende #ifdef-Zweig aktiviert werden ... -#ifdef USED - sal_Bool bDontWrapAround = IsHyphen() ? - pSpell->GetOptions() & DONT_WRAPAROUND : - pSpell->GetHyphOptions() & HYPH_DONT_WRAPAROUND; - if( bDontWrapAround ) -#else sal_uInt16 nResId = bReverse ? RID_SVXQB_BW_CONTINUE : RID_SVXQB_CONTINUE; QueryBox aBox( pWin, EditResId( nResId ) ); if ( aBox.Execute() != RET_YES ) -#endif - { // Verzicht auf den anderen Bereich, ggf. Frage nach Sonderbereich WAIT_ON(); diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index 95aae9283e26..1b85f4604e45 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -1144,18 +1144,6 @@ void SvxRTFParser::SetAttrInDoc( SvxRTFItemStackType & ) { } -#ifdef USED -void SvxRTFParser::SaveState( int nToken ) -{ - SvRTFParser::SaveState( nToken ); -} - -void SvxRTFParser::RestoreState() -{ - SvRTFParser::RestoreState(); -} -#endif - void SvxRTFParser::BuildWhichTbl() { if( aWhichMap.Count() ) |