~ubuntu-branches/ubuntu/wily/wxwidgets3.0/wily-proposed

« back to all changes in this revision

Viewing changes to src/richtext/richtextformatdlg.cpp

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-06-18 12:42:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140618124222-y7t2vpsije1cesxy
Tags: 3.0.1-1
* New upstream release
  + Incorporates most of the patches we were carrying - only one left is:
    wx-config-conditionalise-webview-in-std.patch
* Drop versioning of dependencies from run-time libraries to wx-common -
  this will make the transition to the next wx version harder, and also
  makes backporting to wheezy more work.
* Mark -dbg packages as "Multi-Arch: same".
* Correct short descriptions of the webview packages to not just be
  copies of the corresponding media package's short description.
* Wrap 81 character line in package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
691
691
        float value = 0.0;
692
692
        wxSscanf(str.c_str(), wxT("%f"), &value);
693
693
        // Convert from cm
694
 
        ret = (int) ((value * 100.0) + 0.5);
 
694
        ret = (int) ((value * 100.0) /* + 0.5 */);
695
695
        return true;
696
696
    }
697
697
    else if (unit == wxTEXT_ATTR_UNITS_PERCENTAGE)
703
703
    {
704
704
        float value = 0.0;
705
705
        wxSscanf(str.c_str(), wxT("%f"), &value);
706
 
        ret = (int) ((value * 100.0) + 0.5);
 
706
        ret = (int) ((value * 100.0) /* + 0.5 */);
707
707
    }
708
708
    else if (unit == wxTEXT_ATTR_UNITS_POINTS)
709
709
    {