summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkgcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/package/pkgcontent.cxx')
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx44
1 files changed, 21 insertions, 23 deletions
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index 7d7285b61d94..2fe01f03aff3 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -102,7 +102,7 @@ ContentProperties::getCreatableContentsInfo( PackageUri const & rUri ) const
{
uno::Sequence< beans::Property > aProps( 1 );
aProps.getArray()[ 0 ] = beans::Property(
- OUString("Title"),
+ "Title",
-1,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND );
@@ -555,7 +555,7 @@ uno::Any SAL_CALL Content::execute(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -627,7 +627,7 @@ uno::Any SAL_CALL Content::execute(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -887,7 +887,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
// Append all Core Properties.
xRow->appendString (
beans::Property(
- OUString("ContentType"),
+ "ContentType",
-1,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND
@@ -895,14 +895,14 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
rData.aContentType );
xRow->appendString(
beans::Property(
- OUString("Title"),
+ "Title",
-1,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND ),
rData.aTitle );
xRow->appendBoolean(
beans::Property(
- OUString("IsDocument"),
+ "IsDocument",
-1,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
@@ -910,7 +910,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
rData.bIsDocument );
xRow->appendBoolean(
beans::Property(
- OUString("IsFolder"),
+ "IsFolder",
-1,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
@@ -918,7 +918,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
rData.bIsFolder );
xRow->appendObject(
beans::Property(
- OUString("CreatableContentsInfo"),
+ "CreatableContentsInfo",
-1,
cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(),
beans::PropertyAttribute::BOUND
@@ -927,7 +927,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
rData.getCreatableContentsInfo( PackageUri( rContentId ) ) ) );
xRow->appendString(
beans::Property(
- OUString("MediaType"),
+ "MediaType",
-1,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND ),
@@ -938,7 +938,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
{
xRow->appendLong(
beans::Property(
- OUString("Size"),
+ "Size",
-1,
cppu::UnoType<sal_Int64>::get(),
beans::PropertyAttribute::BOUND
@@ -947,7 +947,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
xRow->appendBoolean(
beans::Property(
- OUString("Compressed"),
+ "Compressed",
-1,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND ),
@@ -955,7 +955,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
xRow->appendBoolean(
beans::Property(
- OUString("Encrypted"),
+ "Encrypted",
-1,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND ),
@@ -968,7 +968,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
{
xRow->appendBoolean(
beans::Property(
- OUString("HasEncryptedEntries"),
+ "HasEncryptedEntries",
-1,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
@@ -1367,8 +1367,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString(
- "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -1439,8 +1438,7 @@ uno::Any Content::open(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString(
- "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -1498,7 +1496,7 @@ uno::Any Content::open(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -1666,7 +1664,7 @@ void Content::insert(
{
uno::Any aProps
= uno::makeAny(beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(m_xIdentifier->
getContentIdentifier()),
@@ -1782,7 +1780,7 @@ void Content::transfer(
{
uno::Any aProps
= uno::makeAny(beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(rInfo.SourceURL),
beans::PropertyState_DIRECT_VALUE));
@@ -1821,7 +1819,7 @@ void Content::transfer(
{
uno::Any aProps
= uno::makeAny(beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(xId->getContentIdentifier()),
beans::PropertyState_DIRECT_VALUE));
@@ -1853,7 +1851,7 @@ void Content::transfer(
{
uno::Any aProps
= uno::makeAny(beans::PropertyValue(
- OUString( "Folder"),
+ "Folder",
-1,
uno::makeAny(aId),
beans::PropertyState_DIRECT_VALUE));
@@ -2010,7 +2008,7 @@ void Content::transfer(
uno::Any aProps
= uno::makeAny(
beans::PropertyValue(
- OUString( "Uri"),
+ "Uri",
-1,
uno::makeAny(
xSource->m_xIdentifier->