summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/atrfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/atrfrm.cxx')
-rw-r--r--sw/source/core/layout/atrfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 4b38b4f7f06e..baaabf736bfb 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -223,7 +223,7 @@ bool SwFmtFrmSize::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
awt::Size aTmp;
aTmp.Height = convertTwipToMm100(m_aSize.Height());
aTmp.Width = convertTwipToMm100(m_aSize.Width());
- rVal.setValue(&aTmp, ::getCppuType((const awt::Size*)0));
+ rVal.setValue(&aTmp, ::cppu::UnoType<awt::Size>::get());
}
break;
case MID_FRMSIZE_REL_HEIGHT: