[Libreoffice-commits] core.git: offapi/com offapi/type_reference

Michael Stahl mstahl at redhat.com
Wed Apr 3 14:38:46 PDT 2013


 offapi/com/sun/star/text/textfield/GetExpression.idl |    8 +++-----
 offapi/type_reference/types.rdb                      |binary
 2 files changed, 3 insertions(+), 5 deletions(-)

New commits:
commit ff3d85dbd72a0e547abe573465e65747ef985955
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Apr 3 23:26:51 2013 +0200

    API CHANGE: GetExpression Value is read-only, NumberingType an illusion
    
    The implementation in Writer has Value property read-only since initial
    CVS import, and NumberingType property never existed, so adapt
    com.sun.star.text.textfield.GetExpression to implementation.
    
    Thanks to the really cool David Ostrovsky for finding these.
    
    Change-Id: I3b12a8103d0d6de7dbf644f30db3f192b0331f0a
    SERVICE: /UCR/com/sun/star/text/textfield/GetExpression
      SERVICE1 contains 1 more properties as SERVICE2
      incompatible change: Field 3 ('NumberingType') of r1 is not longer a property of this SERVICE in r2
      incompatible change: Field 6 ('Value') of r1 is not longer a property of this SERVICE in r2
      incompatible change: Field 5 ('Value') of r2 is a new property compared to this SERVICE in r1 and is not 'optional'

diff --git a/offapi/com/sun/star/text/textfield/GetExpression.idl b/offapi/com/sun/star/text/textfield/GetExpression.idl
index cb9f756..4db8f1b 100644
--- a/offapi/com/sun/star/text/textfield/GetExpression.idl
+++ b/offapi/com/sun/star/text/textfield/GetExpression.idl
@@ -42,10 +42,7 @@ published service GetExpression
         @see com::sun::star::util::NumberFormatter
     */
     [property]long NumberFormat;
-    /** specifies the type of the numbering as
-        <type scope="com::sun::star::style">NumberingType</type>
-     */
-    [property]short NumberingType;
+
     /** determines whether the content is displayed or evaluated.
      */
     [property]boolean IsShowFormula;
@@ -55,7 +52,8 @@ published service GetExpression
     [property]short SubType;
     /** contains the numerical value of the field.
      */
-    [property]double Value;
+    [property, readonly] double Value;
+
     /** deprecated
      */
     [property]short VariableSubtype;
diff --git a/offapi/type_reference/types.rdb b/offapi/type_reference/types.rdb
index dd39969..48ce5b98 100644
Binary files a/offapi/type_reference/types.rdb and b/offapi/type_reference/types.rdb differ


More information about the Libreoffice-commits mailing list