summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/cmis/cmis_repo_content.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-30 16:38:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-31 08:56:20 +0000
commit1c3e84d8192218befebcddae2ed9842d081dc6c7 (patch)
treef4fc5cddd181d6d49bf55f74e6d3d107b8ae8d18 /ucb/source/ucp/cmis/cmis_repo_content.cxx
parente1e6cdbb1e9ff37f0bb740a70045c66953bec50c (diff)
teach lolugin:stringconstant about calling constructors
so we can remove unnecessary calls to the OUString(literal) constructor when calling constructors like this: Foo(OUString("xxx"), 1) Change-Id: I1de60ef561437c86b27dc9cb095a5deb2e103b36 Reviewed-on: https://gerrit.libreoffice.org/33698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_repo_content.cxx')
-rw-r--r--ucb/source/ucp/cmis/cmis_repo_content.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx
index a008c9b92dff..f130b83b054c 100644
--- a/ucb/source/ucp/cmis/cmis_repo_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx
@@ -259,16 +259,16 @@ namespace cmis
{
static const beans::Property aGenericProperties[] =
{
- beans::Property( OUString( "IsDocument" ),
+ beans::Property( "IsDocument",
-1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
- beans::Property( OUString( "IsFolder" ),
+ beans::Property( "IsFolder",
-1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
- beans::Property( OUString( "Title" ),
+ beans::Property( "Title",
-1, cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND ),
- beans::Property( OUString( "IsReadOnly" ),
+ beans::Property( "IsReadOnly",
-1, cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ),
};
@@ -284,21 +284,21 @@ namespace cmis
{
// Required commands
ucb::CommandInfo
- ( OUString( "getCommandInfo" ),
+ ( "getCommandInfo",
-1, cppu::UnoType<void>::get() ),
ucb::CommandInfo
- ( OUString( "getPropertySetInfo" ),
+ ( "getPropertySetInfo",
-1, cppu::UnoType<void>::get() ),
ucb::CommandInfo
- ( OUString( "getPropertyValues" ),
+ ( "getPropertyValues",
-1, cppu::UnoType<uno::Sequence< beans::Property >>::get() ),
ucb::CommandInfo
- ( OUString( "setPropertyValues" ),
+ ( "setPropertyValues",
-1, cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ),
// Optional standard commands
ucb::CommandInfo
- ( OUString( "open" ),
+ ( "open",
-1, cppu::UnoType<ucb::OpenCommandArgument2>::get() ),
};