~ubuntu-branches/ubuntu/trusty/scribus/trusty

« back to all changes in this revision

Viewing changes to scribus/scrspinbox.cpp

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-05-16 20:34:07 UTC
  • mfrom: (1.1.13) (32.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130516203407-ztj7ebsivoo41dih
Tags: 1.4.2.dfsg+r18267-1ubuntu2
Avoid qreal/double type clashes on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        }
228
228
//      qDebug() << "TS"<<ts;
229
229
        std::string str(ts.toLocal8Bit().data());
230
 
        double erg(0.0);
 
230
        double erg = this->value();
231
231
 
232
232
        int ret = fp.Parse(str, "", true);
233
233
        if(ret < 0)