fix a bug in convenction
authorJakub Jaszczynski <j.j.jaszczynski@gmail.com>
Mon, 16 Aug 2010 07:21:57 +0000 (09:21 +0200)
committerJakub Jaszczynski <j.j.jaszczynski@gmail.com>
Mon, 16 Aug 2010 07:21:57 +0000 (09:21 +0200)
trunk/src/plugins/xdxf/src/xdxfplugin.cpp

index f5d73d0..4d3aa55 100644 (file)
@@ -97,8 +97,7 @@ QList<Translation*> XdxfPlugin::searchWordList(QString word, int limit) {
             if(regWord.exactMatch(removeAccents(a)) && (i<limit || limit==0)) {
                 bool ok=true;
                 Translation *tran;
-                foreach(tran,translations)
-                {
+                foreach(tran,translations) {
                     if(tran->key()==a)
                         ok=false;  /*if key word is in the dictionary more that one */
                 }
@@ -191,13 +190,11 @@ bool XdxfPlugin::isAvailable() const {
     return true;
 }
 
-void XdxfPlugin::setHash(uint _hash)
-{
+void XdxfPlugin::setHash(uint _hash) {
     this->_hash=_hash;
 }
 
-uint XdxfPlugin::hash() const
-{
+uint XdxfPlugin::hash() const {
    return _hash;
 }
 
@@ -205,8 +202,7 @@ Settings* XdxfPlugin::settings() {
     return _settings;
 }
 
-bool XdxfPlugin::isCached()
-{
+bool XdxfPlugin::isCached() {
     return false;
 }