#79429#: must changes (SfxOptions removed

This commit is contained in:
Kai Ahrens 2000-10-12 07:44:29 +00:00
parent 295fbc1cd7
commit 93f300efbb
2 changed files with 7 additions and 8 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: copydlg.cxx,v $
*
* $Revision: 1.1.1.1 $
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:48:31 $
* last change: $Author: ka $ $Date: 2000-10-12 08:42:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -151,8 +151,7 @@ SdCopyDlg::SdCopyDlg( Window* pWindow, const SfxItemSet& rInAttrs,
aBtnSetDefault.SetClickHdl( LINK( this, SdCopyDlg, SetDefault ) );
FieldUnit eFUnit;// = SFX_APP()->GetOptions().GetMetric();
GET_MODULE_FIELDUNIT( eFUnit );
FieldUnit eFUnit( GetModuleFieldUnit() );
SetFieldUnit( aMtrFldMoveX, eFUnit, TRUE );
SetFieldUnit( aMtrFldMoveY, eFUnit, TRUE );

View file

@ -2,9 +2,9 @@
*
* $RCSfile: tpoption.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: ka $ $Date: 2000-09-28 18:01:29 $
* last change: $Author: ka $ $Date: 2000-10-12 08:44:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -268,7 +268,7 @@ SdTpOptionsLayout::SdTpOptionsLayout( Window* pParent, const SfxItemSet& rInAttr
SetExchangeSupport();
// Metrik einstellen
FieldUnit eFUnit;// = SFX_APP()->GetOptions().GetMetric();
FieldUnit eFUnit;
USHORT nWhich = GetWhich( SID_ATTR_METRIC );
if ( rInAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE )
@ -277,7 +277,7 @@ SdTpOptionsLayout::SdTpOptionsLayout( Window* pParent, const SfxItemSet& rInAttr
eFUnit = (FieldUnit)rItem.GetValue();
}
else
GET_MODULE_FIELDUNIT( eFUnit );
eFUnit = GetModuleFieldUnit();
SetFieldUnit( aMtrFldTabstop, eFUnit );