summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2010-11-23 21:38:52 +0100
committerPetr Mladek <pmladek@suse.cz>2010-11-23 21:38:52 +0100
commit0fc8da254b882907c252478f6ad0b2bee6a968af (patch)
tree2c32cba41e0c403c1afc1cc899fc8f475f3c0625
parent26767cad1deb335b31bb21f9f8e4e1cd86701e7b (diff)
show the control geometric propertis correctly (bnc#610921)
fix by Noel
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index 2f3faa761..6d3f3c9a1 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -590,7 +590,7 @@ namespace pcr
// everything which survived the checks above should result in a factor of 1, i.e.,
// it should have a direct counterpart as FieldUnit
throw RuntimeException();
- getTypedControlWindow()->SetUnit( eFieldUnit );
+ getTypedControlWindow()->MetricFormatter::SetUnit( eFieldUnit );
}
//--------------------------------------------------------------------