summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propcontroller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-18 07:53:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-18 06:12:13 +0000
commite2a7cb31ed5b413ea2f846d0a5c562d1ad97195a (patch)
tree2ebef9207593c36c780dcb19976f7caaac7ce48f /extensions/source/propctrlr/propcontroller.cxx
parentb26018b762b7d5659ffab98ffb05c7a74dc94910 (diff)
cppcheck:noExplicitConstructor
Change-Id: I2b68ba9e8caf7971efbba094ef060e72541bdccf Reviewed-on: https://gerrit.libreoffice.org/19426 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 0e74152de1ec..84d6ad45dc42 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -990,7 +990,7 @@ namespace pcr
{
DBG_ASSERT( aHandler->get(), "OPropertyBrowserController::doInspection: invalid handler!" );
- StlSyntaxSequence< Property > aThisHandlersProperties = (*aHandler)->getSupportedProperties();
+ StlSyntaxSequence< Property > aThisHandlersProperties( (*aHandler)->getSupportedProperties() );
if ( aThisHandlersProperties.empty() )
{
@@ -1032,7 +1032,7 @@ namespace pcr
}
// determine the superseded properties
- StlSyntaxSequence< OUString > aSupersededByThisHandler = (*aHandler)->getSupersededProperties();
+ StlSyntaxSequence< OUString > aSupersededByThisHandler( (*aHandler)->getSupersededProperties() );
for ( StlSyntaxSequence< OUString >::const_iterator superseded = aSupersededByThisHandler.begin();
superseded != aSupersededByThisHandler.end();
++superseded
@@ -1065,7 +1065,7 @@ namespace pcr
}
// see if the handler expresses interest in any actuating properties
- StlSyntaxSequence< OUString > aInterestingActuations = (*aHandler)->getActuatingProperties();
+ StlSyntaxSequence< OUString > aInterestingActuations( (*aHandler)->getActuatingProperties() );
for ( StlSyntaxSequence< OUString >::const_iterator aLoop = aInterestingActuations.begin();
aLoop != aInterestingActuations.end();
++aLoop
@@ -1180,7 +1180,7 @@ namespace pcr
StlSyntaxSequence< PropertyCategoryDescriptor > aCategories;
if ( m_xModel.is() )
- aCategories = m_xModel->describeCategories();
+ aCategories = StlSyntaxSequence< PropertyCategoryDescriptor >(m_xModel->describeCategories());
for ( StlSyntaxSequence< PropertyCategoryDescriptor >::const_iterator category = aCategories.begin();
category != aCategories.end();