tabledlg.cxx (efeef26f) tabledlg.cxx (205b6fc7)
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

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

1078{
1079 sal_uInt16 nAktPos;
1080 sal_uInt16 i;
1081
1082 for( i = 0; i < MET_FIELDS; i++)
1083 if(pEdit == pFieldArr[i])
1084 break;
1085
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

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

1078{
1079 sal_uInt16 nAktPos;
1080 sal_uInt16 i;
1081
1082 for( i = 0; i < MET_FIELDS; i++)
1083 if(pEdit == pFieldArr[i])
1084 break;
1085
1086 if (MET_FIELDS <= i)
1087 {
1088 OSL_ENSURE(false, "cannot happen.");
1089 return;
1090 }
1091
1086 SetVisibleWidth(aValueTbl[i], static_cast< SwTwips >(pEdit->DenormalizePercent(pEdit->GetValue( FUNIT_TWIP ))) );
1087 nAktPos = aValueTbl[i];
1088
1089 UpdateCols( nAktPos );
1090};
1091
1092/*------------------------------------------------------------------------
1093------------------------------------------------------------------------*/

--- 910 unchanged lines hidden ---
1092 SetVisibleWidth(aValueTbl[i], static_cast< SwTwips >(pEdit->DenormalizePercent(pEdit->GetValue( FUNIT_TWIP ))) );
1093 nAktPos = aValueTbl[i];
1094
1095 UpdateCols( nAktPos );
1096};
1097
1098/*------------------------------------------------------------------------
1099------------------------------------------------------------------------*/

--- 910 unchanged lines hidden ---