diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-05-23 01:32:45 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-05-23 01:32:45 -0500 |
commit | 8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584 (patch) | |
tree | 5a825ee22a4dcc87968308968818a1888594a62b /lib/kotext/KoAutoFormat.cpp | |
parent | a000f8bd5ca6a18bdada1fefd24ecdcc772026e2 (diff) | |
download | koffice-8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584.tar.gz koffice-8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584.zip |
Fix incorrect characters.
Diffstat (limited to 'lib/kotext/KoAutoFormat.cpp')
-rw-r--r-- | lib/kotext/KoAutoFormat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp index 8205b6d2..037d87f1 100644 --- a/lib/kotext/KoAutoFormat.cpp +++ b/lib/kotext/KoAutoFormat.cpp @@ -335,7 +335,7 @@ void KoAutoFormat::readConfig(bool force) if( beginDoubleQuote.isEmpty()) { if( m_typographicDefaultDoubleQuotes.begin.isNull()) - m_typographicDoubleQuotes.begin = TQChar('�'); + m_typographicDoubleQuotes.begin = TQChar('«'); else m_typographicDoubleQuotes.begin = m_typographicDefaultDoubleQuotes.begin; } @@ -345,7 +345,7 @@ void KoAutoFormat::readConfig(bool force) if( endDoubleQuote.isEmpty() ) { if( m_typographicDefaultDoubleQuotes.end.isNull()) - m_typographicDoubleQuotes.end = TQChar('�'); + m_typographicDoubleQuotes.end = TQChar('»'); else m_typographicDoubleQuotes.end = m_typographicDefaultDoubleQuotes.end; } @@ -1654,11 +1654,11 @@ KCommand * KoAutoFormat::doAutoReplaceNumber( KoTextCursor* textEditCursor, KoTe textdoc->setSelectionEnd( KoTextDocument::HighlightSelection, &cursor ); TQString replacement; if( word == TQString("1/2") ) - replacement=TQString("�"); + replacement=TQString("½"); else if (word == TQString("1/4") ) - replacement=TQString("�"); + replacement=TQString("¼"); else if (word == TQString("3/4") ) - replacement=TQString("�"); + replacement=TQString("¾"); TQString cmdName = i18n("Autocorrect for Fraction"); KCommand *cmd =txtObj->replaceSelectionCommand( textEditCursor, replacement, cmdName, |