From 648ba4a456d3aad2825193ff8f3bd52a875783b5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:18:52 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalzium/src/element.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kalzium/src/element.cpp') diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 2596e2f7..3fc7e493 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -68,8 +68,8 @@ TQString Element::parsedOrbits( bool canBeEmpty ) TQString orbits = m_orbits; TQRegExp rxs("([a-z])([0-9]+)"); TQRegExp rxb("([a-z]{2}) ",false); - orbits.tqreplace(rxs,"\\1\\2"); //superscript around electron number - orbits.tqreplace(rxb,"\\1 "); //bold around element symbols + orbits.replace(rxs,"\\1\\2"); //superscript around electron number + orbits.replace(rxb,"\\1 "); //bold around element symbols return orbits; } -- cgit v1.2.1