diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:35:55 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:35:55 +0000 |
commit | 9b4ea128f520cb0d64df131f6936c7854cbb4a14 (patch) | |
tree | 1eb6eea938c761d396929cebfdf42c395a920e3a /svx | |
parent | 19575c44f53556e69c8e3b2fa842d30c866eb3b3 (diff) |
INTEGRATION: CWS mfdouble (1.13.150); FILE MERGED
2006/12/14 19:15:50 pl 1.13.150.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/optmemory.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/optmemory.cxx b/svx/source/dialog/optmemory.cxx index a85852584437..616fd2c714f4 100644 --- a/svx/source/dialog/optmemory.cxx +++ b/svx/source/dialog/optmemory.cxx @@ -4,9 +4,9 @@ * * $RCSfile: optmemory.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: kz $ $Date: 2006-10-06 10:37:17 $ + * last change: $Author: obo $ $Date: 2007-01-23 11:35:55 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -175,7 +175,7 @@ using namespace ::sfx2; inline long OfaMemoryOptionsPage::GetNfGraphicCacheVal( void ) const { - return aNfGraphicCache.GetValue() << 20; + return static_cast<long>(aNfGraphicCache.GetValue() << 20); } inline void OfaMemoryOptionsPage::SetNfGraphicCacheVal( long nSizeInBytes ) @@ -294,8 +294,8 @@ BOOL OfaMemoryOptionsPage::FillItemSet( SfxItemSet& rSet ) rGrfMgr.SetCacheTimeout( aCacheOptions.GetGraphicManagerObjectReleaseTime() ); // OLECache - aCacheOptions.SetWriterOLE_Objects( aNfOLECache.GetValue() ); - aCacheOptions.SetDrawingEngineOLE_Objects( aNfOLECache.GetValue() ); + aCacheOptions.SetWriterOLE_Objects( static_cast<long>(aNfOLECache.GetValue()) ); + aCacheOptions.SetDrawingEngineOLE_Objects( static_cast<long>(aNfOLECache.GetValue()) ); if( aQuickLaunchCB.IsChecked() != aQuickLaunchCB.GetSavedValue()) { |