summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/cntex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/index/cntex.cxx')
-rw-r--r--sw/source/ui/index/cntex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index ef793c828d55..e01520743416 100644
--- a/sw/source/ui/index/cntex.cxx
+++ b/sw/source/ui/index/cntex.cxx
@@ -224,7 +224,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample(
OUString* pArr = aStyles.getArray();
for(sal_Int32 nStyle = 0; nStyle < nStyles; nStyle++)
pArr[nStyle] = sLevel.getToken(nStyle, TOX_STYLE_DELIMITER);
- uno::Any aAny(&aStyles, ::getCppuType((uno::Sequence<OUString>*)0));
+ uno::Any aAny(&aStyles, cppu::UnoType<uno::Sequence<OUString>>::get());
xAcc->replaceByIndex(i, aAny);
}
}
@@ -373,7 +373,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample(
uno::Reference< container::XIndexReplace > xFormatAccess;
aFormatAccess >>= xFormatAccess;
- uno::Any aLevelProp(&aSequPropVals, ::getCppuType((uno::Sequence<beans::PropertyValues>*)0));
+ uno::Any aLevelProp(&aSequPropVals, cppu::UnoType<uno::Sequence<beans::PropertyValues>>::get());
xFormatAccess->replaceByIndex(nCurrLevel, aLevelProp);
}
}