summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-04 12:28:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-04 13:15:29 +0000
commit2dfc4c0845c72b3a1cf19546a1606907f36eea42 (patch)
tree8df986c777d2b6847782a4395af50fbca5eea96f /editeng/source/uno
parent859204a52351c4d5d146e8b22d14bd4a44f294e9 (diff)
loplugin:oncevar in desktop..filter
Change-Id: I21c47cacbcd68f06eea7ccbbfa6d04fc65e2b7ee Reviewed-on: https://gerrit.libreoffice.org/30564 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unonrule.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index 313d5928f760..1970f5fb2c39 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -150,9 +150,6 @@ Reference< XCloneable > SAL_CALL SvxUnoNumberingRules::createClone( ) throw (Ru
return new SvxUnoNumberingRules(maRule);
}
-// XServiceInfo
-const char pSvxUnoNumberingRulesService[] = "com.sun.star.text.NumberingRules";
-
OUString SAL_CALL SvxUnoNumberingRules::getImplementationName( ) throw(RuntimeException, std::exception)
{
return OUString( "SvxUnoNumberingRules" );
@@ -165,7 +162,7 @@ sal_Bool SAL_CALL SvxUnoNumberingRules::supportsService( const OUString& Service
Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames( ) throw(RuntimeException, std::exception)
{
- OUString aService( pSvxUnoNumberingRulesService );
+ OUString aService( "com.sun.star.text.NumberingRules" );
Sequence< OUString > aSeq( &aService, 1 );
return aSeq;
}