summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-20 12:53:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-22 12:58:14 +0200
commitde74d98c58db604aafc0ee623c252f3aa25ac4b7 (patch)
tree1ff996e3f5bc27c10c7c64313a357a5a9c2bfa86 /ucb/source
parentbe8a33c0f03b83357d2ae37dda6bf65313267cea (diff)
OUStringLiteral/OStringLiteral coverity PARSE_ERROR workaround
do more like commit 121771e37f7e2de41cd5643475861062bf25627b Date: Mon Sep 21 09:17:54 2020 +0200 Make some OUStringLiteral vars constexpr cause coverity can live with that Change-Id: I9efd7f848289c4865997a44c6780373068422227 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103147 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/file/filtask.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index 432f60dd66e3..790dd3d7ba8c 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -116,21 +116,21 @@ TaskManager::MyProperty::MyProperty( bool theisNat
// Default properties
-const OUStringLiteral Title( u"Title" );
-const OUStringLiteral CasePreservingURL( u"CasePreservingURL" );
-const OUStringLiteral IsDocument( u"IsDocument" );
-const OUStringLiteral IsFolder( u"IsFolder" );
-const OUStringLiteral DateModified( u"DateModified" );
-const OUStringLiteral Size( u"Size" );
-const OUStringLiteral IsVolume( u"IsVolume" );
-const OUStringLiteral IsRemoveable( u"IsRemoveable" );
-const OUStringLiteral IsRemote( u"IsRemote" );
-const OUStringLiteral IsCompactDisc( u"IsCompactDisc" );
-const OUStringLiteral IsFloppy( u"IsFloppy" );
-const OUStringLiteral IsHidden( u"IsHidden" );
-const OUStringLiteral ContentType( u"ContentType" );
-const OUStringLiteral IsReadOnly( u"IsReadOnly" );
-const OUStringLiteral CreatableContentsInfo( u"CreatableContentsInfo" );
+constexpr OUStringLiteral Title( u"Title" );
+constexpr OUStringLiteral CasePreservingURL( u"CasePreservingURL" );
+constexpr OUStringLiteral IsDocument( u"IsDocument" );
+constexpr OUStringLiteral IsFolder( u"IsFolder" );
+constexpr OUStringLiteral DateModified( u"DateModified" );
+constexpr OUStringLiteral Size( u"Size" );
+constexpr OUStringLiteral IsVolume( u"IsVolume" );
+constexpr OUStringLiteral IsRemoveable( u"IsRemoveable" );
+constexpr OUStringLiteral IsRemote( u"IsRemote" );
+constexpr OUStringLiteral IsCompactDisc( u"IsCompactDisc" );
+constexpr OUStringLiteral IsFloppy( u"IsFloppy" );
+constexpr OUStringLiteral IsHidden( u"IsHidden" );
+constexpr OUStringLiteral ContentType( u"ContentType" );
+constexpr OUStringLiteral IsReadOnly( u"IsReadOnly" );
+constexpr OUStringLiteral CreatableContentsInfo( u"CreatableContentsInfo" );
TaskManager::TaskManager( const uno::Reference< uno::XComponentContext >& rxContext,
FileProvider* pProvider, bool bWithConfig )