diff options
Diffstat (limited to 'svx/source/form/fmshimp.cxx')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 8cf9565d4be4..192d71721783 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -1638,9 +1638,7 @@ void FmXFormShell::SetY2KState(sal_uInt16 n) { try { - Any aVal; - aVal <<= n; - xSet->setPropertyValue("TwoDigitDateStart", aVal); + xSet->setPropertyValue("TwoDigitDateStart", makeAny<sal_uInt16>(n)); } catch(Exception&) { @@ -1679,9 +1677,7 @@ void FmXFormShell::SetY2KState(sal_uInt16 n) { try { - Any aVal; - aVal <<= n; - xSet->setPropertyValue("TwoDigitDateStart", aVal); + xSet->setPropertyValue("TwoDigitDateStart", makeAny<sal_uInt16>(n)); } catch(Exception&) { |