summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-05-23 01:32:45 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-05-23 01:32:45 -0500
commit8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584 (patch)
tree5a825ee22a4dcc87968308968818a1888594a62b /lib
parenta000f8bd5ca6a18bdada1fefd24ecdcc772026e2 (diff)
downloadkoffice-8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584.tar.gz
koffice-8ab8e5edc0b76c0534d1cfa348e2ae2a247a5584.zip
Fix incorrect characters.
Diffstat (limited to 'lib')
-rw-r--r--lib/kotext/KoAutoFormat.cpp10
-rw-r--r--lib/kotext/KoAutoFormatDia.cpp2
-rw-r--r--lib/kwmf/kowmfreadprivate.cc2
-rw-r--r--lib/kwmf/qwmf.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp
index 8205b6d22..037d87f13 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,
diff --git a/lib/kotext/KoAutoFormatDia.cpp b/lib/kotext/KoAutoFormatDia.cpp
index c48236874..0c565ac1a 100644
--- a/lib/kotext/KoAutoFormatDia.cpp
+++ b/lib/kotext/KoAutoFormatDia.cpp
@@ -286,7 +286,7 @@ void KoAutoFormatDia::setupTab1()
cbAutoReplaceNumber=new TQCheckBox( tab1 );
cbAutoReplaceNumber->setText( i18n(
"We add the 1/2 char at the %1", "Re&place 1/2... with %1..." )
- .arg( TQString( "�" ) ) );
+ .arg( TQString( "½" ) ) );
TQWhatsThis::add( cbAutoReplaceNumber, i18n(
"Most standard fraction notations will be converted when available"
) );
diff --git a/lib/kwmf/kowmfreadprivate.cc b/lib/kwmf/kowmfreadprivate.cc
index a5a8ea185..f812b7660 100644
--- a/lib/kwmf/kowmfreadprivate.cc
+++ b/lib/kwmf/kowmfreadprivate.cc
@@ -276,7 +276,7 @@ bool KoWmfReadPrivate::play( KoWmfRead* readWmf )
st >> size >> numFunction;
/**
- * mapping between n� function and index of table 'metaFuncTab'
+ * mapping between n° function and index of table 'metaFuncTab'
* lower 8 digits of the function => entry in the table
*/
numFunction &= 0xFF;
diff --git a/lib/kwmf/qwmf.h b/lib/kwmf/qwmf.h
index cf05d617f..2fe154dcd 100644
--- a/lib/kwmf/qwmf.h
+++ b/lib/kwmf/qwmf.h
@@ -40,11 +40,11 @@ struct WmfPlaceableHeader;
* QWinMetaFile is a WMF viewer based on QT toolkit
* How to use QWinMetaFile :
* <pre>
- *�#include "tqwmf.h"
+ * #include "qwmf.h"
* QWinMetaFile wmf;
* TQPicture pic; // or TQImage pic;
* if ( wmf.load( filename )
- *� �wmf.paint( &pic );
+ *   wmf.paint( &pic );
* </pre>
*/