summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/utlui/unotools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/uibase/utlui/unotools.cxx')
-rw-r--r--sw/source/core/uibase/utlui/unotools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/utlui/unotools.cxx b/sw/source/core/uibase/utlui/unotools.cxx
index 363017fd7fc2..8875d35b73a3 100644
--- a/sw/source/core/uibase/utlui/unotools.cxx
+++ b/sw/source/core/uibase/utlui/unotools.cxx
@@ -355,7 +355,7 @@ IMPL_LINK( SwOneExampleFrame, TimeoutHdl, Timer*, pTimer )
aSize >>= aPSize;
//TODO: set page width to card width
aPSize.Width = 10000;
- aSize.setValue(&aPSize, ::getCppuType((awt::Size*)0));
+ aSize.setValue(&aPSize, ::cppu::UnoType<awt::Size>::get());
xPProp->setPropertyValue(UNO_NAME_SIZE, aSize);
uno::Any aZero; aZero <<= (sal_Int32)0;