diff options
Diffstat (limited to 'desktop/source/deployment/manager/dp_properties.cxx')
-rw-r--r-- | desktop/source/deployment/manager/dp_properties.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop/source/deployment/manager/dp_properties.cxx b/desktop/source/deployment/manager/dp_properties.cxx index a2a568287f16..6477c5aad099 100644 --- a/desktop/source/deployment/manager/dp_properties.cxx +++ b/desktop/source/deployment/manager/dp_properties.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,11 +62,11 @@ ExtensionProperties::ExtensionProperties( m_xCmdEnv(xCmdEnv) { m_propFileUrl = urlExtension + OUSTR("properties"); - + ::std::list< ::std::pair< OUString, OUString> > props; if (! dp_misc::create_ucb_content(NULL, m_propFileUrl, 0, false)) return; - + ::ucbhelper::Content contentProps(m_propFileUrl, m_xCmdEnv); dp_misc::readProperties(props, contentProps); @@ -75,10 +75,10 @@ ExtensionProperties::ExtensionProperties( { if (i->first.equals(OUSTR(PROP_SUPPRESS_LICENSE))) m_prop_suppress_license = i->second; - } + } } -//Writing the file +//Writing the file ExtensionProperties::ExtensionProperties( OUString const & urlExtension, uno::Sequence<css::beans::NamedValue> const & properties, @@ -132,7 +132,7 @@ void ExtensionProperties::write() buf.append(OUSTR("=")); buf.append(*m_prop_suppress_license); } - + ::rtl::OString stamp = ::rtl::OUStringToOString( buf.makeStringAndClear(), RTL_TEXTENCODING_UTF8); Reference<css::io::XInputStream> xData( @@ -163,7 +163,7 @@ bool ExtensionProperties::isExtensionUpdate() ret = true; } return ret; -} +} } // namespace dp_manager |