summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbadocumentproperties.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:47:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:02 +0200
commit39642d415cd70165574f91500801d3b49c65d646 (patch)
treeac78afa2a06066dc9a7c2b53853694eef56926a5 /sw/source/ui/vba/vbadocumentproperties.cxx
parent0f11e746c8ab74f7495c29a9287da361e469689c (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): sw
Change-Id: I135d01abc52ab5e97b4b360763c8a7e3ddaf0d2d Reviewed-on: https://gerrit.libreoffice.org/76639 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbadocumentproperties.cxx')
-rw-r--r--sw/source/ui/vba/vbadocumentproperties.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx
index a06d6156932a..5062ebb33117 100644
--- a/sw/source/ui/vba/vbadocumentproperties.cxx
+++ b/sw/source/ui/vba/vbadocumentproperties.cxx
@@ -455,7 +455,7 @@ public:
virtual OUString SAL_CALL getLinkSource( ) override;
virtual void SAL_CALL setLinkSource( const OUString& LinkSource ) override;
//XDefaultProperty
- virtual OUString SAL_CALL getDefaultPropertyName( ) override { return OUString("Value"); }
+ virtual OUString SAL_CALL getDefaultPropertyName( ) override { return "Value"; }
// XHelperInterface
virtual OUString getServiceImplName() override;
virtual uno::Sequence<OUString> getServiceNames() override;
@@ -612,7 +612,7 @@ SwVbaBuiltInDocumentProperty::setLinkSource( const OUString& /*LinkSource*/ )
OUString
SwVbaBuiltInDocumentProperty::getServiceImplName()
{
- return OUString("SwVbaBuiltinDocumentProperty");
+ return "SwVbaBuiltinDocumentProperty";
}
uno::Sequence<OUString>
@@ -762,7 +762,7 @@ SwVbaBuiltinDocumentProperties::createCollectionObject( const uno::Any& aSource
OUString
SwVbaBuiltinDocumentProperties::getServiceImplName()
{
- return OUString("SwVbaBuiltinDocumentProperties");
+ return "SwVbaBuiltinDocumentProperties";
}
uno::Sequence<OUString>
@@ -893,7 +893,7 @@ SwVbaCustomDocumentProperties::Add( const OUString& Name, sal_Bool LinkToContent
OUString
SwVbaCustomDocumentProperties::getServiceImplName()
{
- return OUString("SwVbaCustomDocumentProperties");
+ return "SwVbaCustomDocumentProperties";
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */