summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unotbl.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/core/unocore/unotbl.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/core/unocore/unotbl.cxx')
-rw-r--r--sw/source/core/unocore/unotbl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index b5e79f67a4dd..c8c7782fecea 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1268,7 +1268,7 @@ uno::Any SwXCell::GetAny() const
}
OUString SwXCell::getImplementationName()
- { return OUString("SwXCell"); }
+ { return "SwXCell"; }
sal_Bool SwXCell::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -1277,7 +1277,7 @@ uno::Sequence< OUString > SwXCell::getSupportedServiceNames()
{ return {"com.sun.star.text.CellProperties"}; }
OUString SwXTextTableRow::getImplementationName()
- { return OUString("SwXTextTableRow"); }
+ { return "SwXTextTableRow"; }
sal_Bool SwXTextTableRow::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -1463,7 +1463,7 @@ SwTableLine* SwXTextTableRow::FindLine(SwTable* pTable, SwTableLine const * pLin
// SwXTextTableCursor
OUString SwXTextTableCursor::getImplementationName()
- { return OUString("SwXTextTableCursor"); }
+ { return "SwXTextTableCursor"; }
sal_Bool SwXTextTableCursor::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -3144,7 +3144,7 @@ void SwXTextTable::Impl::Notify(const SfxHint& rHint)
}
OUString SAL_CALL SwXTextTable::getImplementationName()
- { return OUString("SwXTextTable"); }
+ { return "SwXTextTable"; }
sal_Bool SwXTextTable::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -3233,7 +3233,7 @@ sal_Int64 SAL_CALL SwXCellRange::getSomething( const uno::Sequence< sal_Int8 >&
OUString SwXCellRange::getImplementationName()
- { return OUString("SwXCellRange"); }
+ { return "SwXCellRange"; }
sal_Bool SwXCellRange::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -3906,7 +3906,7 @@ public:
// SwXTableRows
OUString SwXTableRows::getImplementationName()
- { return OUString("SwXTableRows"); }
+ { return "SwXTableRows"; }
sal_Bool SwXTableRows::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
@@ -4074,7 +4074,7 @@ class SwXTableColumns::Impl : public SvtListener
};
OUString SwXTableColumns::getImplementationName()
- { return OUString("SwXTableColumns"); }
+ { return "SwXTableColumns"; }
sal_Bool SwXTableColumns::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }