FormattedField.cxx (24acc546) FormattedField.cxx (7950f2af)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1119 unchanged lines hidden (view full) ---

1128 "OFormattedModel::translateControlValueToExternalValue: precondition not met!" );
1129
1130 Any aControlValue( getControlValue() );
1131 if ( !aControlValue.hasValue() )
1132 return aControlValue;
1133
1134 Any aExternalValue;
1135
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1119 unchanged lines hidden (view full) ---

1128 "OFormattedModel::translateControlValueToExternalValue: precondition not met!" );
1129
1130 Any aControlValue( getControlValue() );
1131 if ( !aControlValue.hasValue() )
1132 return aControlValue;
1133
1134 Any aExternalValue;
1135
1136 // translate into the the external value type
1136 // translate into the external value type
1137 Type aExternalValueType( getExternalValueType() );
1138 switch ( aExternalValueType.getTypeClass() )
1139 {
1140 case TypeClass_STRING:
1141 {
1142 ::rtl::OUString sString;
1143 if ( aControlValue >>= sString )
1144 {

--- 109 unchanged lines hidden ---
1137 Type aExternalValueType( getExternalValueType() );
1138 switch ( aExternalValueType.getTypeClass() )
1139 {
1140 case TypeClass_STRING:
1141 {
1142 ::rtl::OUString sString;
1143 if ( aControlValue >>= sString )
1144 {

--- 109 unchanged lines hidden ---