summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unomod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uno/unomod.cxx')
-rw-r--r--sw/source/ui/uno/unomod.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx
index f5fdca03beb3..a606d298fdac 100644
--- a/sw/source/ui/uno/unomod.cxx
+++ b/sw/source/ui/uno/unomod.cxx
@@ -799,7 +799,7 @@ void SwXViewSettings::_postSetValues ()
if(mbApplyHRulerMetric)
pView->ChangeTabMetric((FieldUnit)eHRulerUnit);
if(mbApplyVRulerMetric)
- pView->ChangeVLinealMetric((FieldUnit)eVRulerUnit);
+ pView->ChangeVRulerMetric((FieldUnit)eVRulerUnit);
}
else
@@ -942,7 +942,7 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u
if ( pView )
{
FieldUnit eUnit;
- pView->GetHLinealMetric( eUnit );
+ pView->GetHRulerMetric( eUnit );
rValue <<= (sal_Int32)eUnit;
}
else
@@ -958,7 +958,7 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u
if ( pView )
{
FieldUnit eUnit;
- pView->GetVLinealMetric( eUnit );
+ pView->GetVRulerMetric( eUnit );
rValue <<= (sal_Int32)eUnit;
}
else