summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 10:58:51 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 10:58:51 +0000
commit232e98413823c93faeef50a92359fec86370cff8 (patch)
tree5f378f492d3c97b49cd988bc2c26cc55f82a4b45 /svx/source/tbxctrls
parent31d7c2e0525f15844eef8c0714508a25fd2487d2 (diff)
INTEGRATION: CWS mfdouble (1.74.90); FILE MERGED
2006/12/15 13:55:52 pl 1.74.90.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 701c5fa6ce58..3ebac6ed972d 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tbcontrl.cxx,v $
*
- * $Revision: 1.75 $
+ * $Revision: 1.76 $
*
- * last change: $Author: obo $ $Date: 2007-01-23 09:00:22 $
+ * last change: $Author: obo $ $Date: 2007-01-23 11:58:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -975,7 +975,7 @@ void SvxFontSizeBox_Impl::Select()
if ( !IsTravelSelect() )
{
- long nSelVal = GetValue();
+ sal_Int64 nSelVal = GetValue();
float fSelVal = float( nSelVal ) / 10; //LogicToLogic( nSelVal, MAP_POINT, MAP_100TH_MM )) / 10;
Sequence< PropertyValue > aArgs( 1 );
aArgs[0].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FontHeight.Height" ));
@@ -1023,7 +1023,7 @@ void SvxFontSizeBox_Impl::Update( const SvxFontItem* pFontItem )
( pDocSh ? pDocSh->GetItem( SID_ATTR_CHAR_FONTLIST ) : NULL );
// Sizes-Liste auff"ullen
- long nOldVal = GetValue(); // alten Wert merken
+ sal_Int64 nOldVal = GetValue(); // alten Wert merken
const FontList* _pFontList = pFontListItem ? pFontListItem->GetFontList() : NULL;
if ( _pFontList && pFontItem )
{