diff options
Diffstat (limited to 'framework/source/services/license.cxx')
-rw-r--r-- | framework/source/services/license.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx index 9600598ae2dc..514f9dd11217 100644 --- a/framework/source/services/license.cxx +++ b/framework/source/services/license.cxx @@ -255,7 +255,7 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na // if we find a date there, compare it to baseinstall license date OUString aAcceptDate; - if (pset->getPropertyValue(OUString("ooLicenseAcceptDate")) >>= aAcceptDate) + if (pset->getPropertyValue("ooLicenseAcceptDate") >>= aAcceptDate) { // get LicenseFileDate from base install OUString aLicenseURL = aLicensePath; @@ -290,7 +290,7 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na // write org.openoffice.Setup/ooLicenseAcceptDate aAcceptDate = _getCurrentDateString(); - pset->setPropertyValue(OUString("ooLicenseAcceptDate"), makeAny(aAcceptDate)); + pset->setPropertyValue("ooLicenseAcceptDate", makeAny(aAcceptDate)); Reference< XChangesBatch >(pset, UNO_QUERY_THROW)->commitChanges(); // enable quickstarter |