diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-01 12:53:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-01 12:53:39 +0100 |
commit | 0978dbbab46ce1f37ed4f27b8358c1a44c02143f (patch) | |
tree | 9cd9e6d668906c0abf064ea2409a3fa120579733 /extensions | |
parent | aeeb79486305efa46ea76d1041b6c9a9c745bfea (diff) |
another attempt to get coverity to parse this
i.e.
coverity#1296212 Misused comma operator
coverity#1296213 Misused comma operator
Change-Id: I8f02530e151ac597f58710894891c3ac559d91ce
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/dbpilots/unoautopilot.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/unoautopilot.hxx b/extensions/source/dbpilots/unoautopilot.hxx index a7678c1b2382..0a0bcf894b08 100644 --- a/extensions/source/dbpilots/unoautopilot.hxx +++ b/extensions/source/dbpilots/unoautopilot.hxx @@ -84,12 +84,14 @@ namespace dbp // XServiceInfo - static methods static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException ) { - return SERVICEINFO().getServiceNames(); + SERVICEINFO aInfo; + return aInfo.getServiceNames(); } static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ) { - return SERVICEINFO().getImplementationName(); + SERVICEINFO aInfo; + return aInfo.getImplementationName(); } static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > |