diff options
author | Peter Burow <pb@openoffice.org> | 2000-10-23 08:32:44 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-10-23 08:32:44 +0000 |
commit | 5af982cfdb40511d5a8aafda2c606a3d93041133 (patch) | |
tree | 305f43b13fa64774d12d473d256e5d1d51b27b6e /svx/source/dialog/grfpage.cxx | |
parent | 18b48bc377b2d9ce94f1d9ac92efe14bd4f71b96 (diff) |
fix: #79525# new Parameter for GetModuleFieldUnit(): const SfxItemSet*
Diffstat (limited to 'svx/source/dialog/grfpage.cxx')
-rw-r--r-- | svx/source/dialog/grfpage.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/grfpage.cxx b/svx/source/dialog/grfpage.cxx index b8edde2e27..d91662ca46 100644 --- a/svx/source/dialog/grfpage.cxx +++ b/svx/source/dialog/grfpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: grfpage.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jp $ $Date: 2000-10-12 12:10:35 $ + * last change: $Author: pb $ $Date: 2000-10-23 09:31:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -162,7 +162,7 @@ SvxGrfCropPage::SvxGrfCropPage ( Window *pParent, const SfxItemSet &rSet ) SetExchangeSupport(); // set the correct Metrik - const FieldUnit eMetric = GetModuleFieldUnit(); + const FieldUnit eMetric = GetModuleFieldUnit( &rSet ); SetFieldUnit( aWidthMF, eMetric ); SetFieldUnit( aHeightMF, eMetric ); @@ -767,7 +767,7 @@ void SvxGrfCropPage::GraphicHasChanged( BOOL bFound ) aBottomMF.SetSpinSize(nSpin); //Originalgroesse anzeigen - const FieldUnit eMetric = GetModuleFieldUnit(); + const FieldUnit eMetric = GetModuleFieldUnit( &GetItemSet() ); MetricField aFld(this, WB_HIDE); SetFieldUnit( aFld, eMetric ); |