diff options
Diffstat (limited to 'cui/source/tabpages/measure.cxx')
-rw-r--r-- | cui/source/tabpages/measure.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx index 58ae066ae39b..adfb0ec6fa26 100644 --- a/cui/source/tabpages/measure.cxx +++ b/cui/source/tabpages/measure.cxx @@ -598,14 +598,7 @@ void SvxMeasurePage::Construct() { DBG_ASSERT( pView, "No valid View transferred!" ); - // TTTT - // pMeasureObj is member of SvxXMeasurePreview and can only be accessed due to - // SvxMeasurePage being a friend. It has it's own SdrModel (also in SvxXMeasurePreview) - // and 'setting' the SdrModel is a hack. The comment above about 'notify unit and - // floatingpoint-values' is not clear, but has to be done another way - if needed. - // Checked on original aw080, is just commented out there, too. - - // m_pCtlPreview->pMeasureObj->SetModel( pView->GetModel() ); + m_pCtlPreview->pMeasureObj->SetModel( pView->GetModel() ); m_pCtlPreview->Invalidate(); } |