summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/tpoption.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-10-12 07:44:29 +0000
committerKai Ahrens <ka@openoffice.org>2000-10-12 07:44:29 +0000
commit93f300efbb9c97d80fd84098330449f1bebc6f94 (patch)
tree5a07cd44651887cd3af0e349a258204723bfee48 /sd/source/ui/dlg/tpoption.cxx
parent295fbc1cd7a9ef4dd304919e2438411407671ce2 (diff)
#79429#: must changes (SfxOptions removed
Diffstat (limited to 'sd/source/ui/dlg/tpoption.cxx')
-rw-r--r--sd/source/ui/dlg/tpoption.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 8f5040c958e5..6519e9363dc1 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -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 );