lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5149] Reduce physical dependency by fixing 'build_type=so


From: Greg Chicares
Subject: [lmi-commits] [5149] Reduce physical dependency by fixing 'build_type=so_test' erosion
Date: Sun, 20 Mar 2011 18:32:27 +0000

Revision: 5149
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5149
Author:   chicares
Date:     2011-03-20 18:32:26 +0000 (Sun, 20 Mar 2011)
Log Message:
-----------
Reduce physical dependency by fixing 'build_type=so_test' erosion

Modified Paths:
--------------
    lmi/trunk/rounding_rules.cpp
    lmi/trunk/rounding_rules.hpp
    lmi/trunk/rounding_view_editor.cpp

Modified: lmi/trunk/rounding_rules.cpp
===================================================================
--- lmi/trunk/rounding_rules.cpp        2011-03-20 16:36:11 UTC (rev 5148)
+++ lmi/trunk/rounding_rules.cpp        2011-03-20 18:32:26 UTC (rev 5149)
@@ -138,6 +138,11 @@
     return gloss_;
 }
 
+rounding_style rounding_parameters::raw_style() const
+{
+    return style_.value();
+}
+
 /// Private default ctor.
 
 rounding_rules::rounding_rules()

Modified: lmi/trunk/rounding_rules.hpp
===================================================================
--- lmi/trunk/rounding_rules.hpp        2011-03-20 16:36:11 UTC (rev 5148)
+++ lmi/trunk/rounding_rules.hpp        2011-03-20 18:32:26 UTC (rev 5149)
@@ -59,6 +59,8 @@
     mce_rounding_style const& style   () const;
     std::string const&        gloss   () const;
 
+    rounding_style            raw_style() const;
+
   private:
     rounding_parameters();
 

Modified: lmi/trunk/rounding_view_editor.cpp
===================================================================
--- lmi/trunk/rounding_view_editor.cpp  2011-03-20 16:36:11 UTC (rev 5148)
+++ lmi/trunk/rounding_view_editor.cpp  2011-03-20 18:32:26 UTC (rev 5149)
@@ -296,7 +296,7 @@
 {
     previous_value_ = value;
     SetNumber(value.decimals());
-    SetStyle(value.style().value());
+    SetStyle(value.raw_style());
 }
 
 rounding_parameters RoundingButtons::GetValue() const




reply via email to

[Prev in Thread] Current Thread [Next in Thread]