diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:47:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:47:16 +0200 |
commit | ad4e4c7834c576189e2a4b230baa1f12207718ec (patch) | |
tree | 6bd33d0e0f0b9522ad1fd3b35b63652f06dc9799 /chart2/source/controller/main/ChartController_Properties.cxx | |
parent | c946de5ef0b40d3b6ddd1c101f7d59a5a9d3a6bd (diff) |
loplugin:oncevar: empty strings: chart2
Change-Id: If564ba545fbd1504127ff5116fb776ef60d6ab60
Diffstat (limited to 'chart2/source/controller/main/ChartController_Properties.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController_Properties.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx index a0b82a4d74ff..6da7736eea60 100644 --- a/chart2/source/controller/main/ChartController_Properties.cxx +++ b/chart2/source/controller/main/ChartController_Properties.cxx @@ -440,7 +440,6 @@ OUString lcl_getErrorCIDForCommand( const ObjectType eDispatchType, const Object OUString lcl_getObjectCIDForCommand( const OString& rDispatchCommand, const uno::Reference< XChartDocument > & xChartDocument, const OUString& rSelectedCID ) { ObjectType eObjectType = OBJECTTYPE_UNKNOWN; - OUString aParticleID; uno::Reference< frame::XModel > xChartModel( xChartDocument, uno::UNO_QUERY ); const ObjectType eSelectedType = ObjectIdentifier::getObjectType( rSelectedCID ); @@ -649,7 +648,8 @@ OUString lcl_getObjectCIDForCommand( const OString& rDispatchCommand, const uno: } return ObjectIdentifier::createClassifiedIdentifier( - eObjectType, aParticleID ); + eObjectType, + OUString() ); // aParticleID } } |