summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:26 +0200
commite5fbb9fec319c063aaf14a0243c49f3230c0a22f (patch)
tree1ee90afe593ef65484a1cf3fd836404124ecc66d /extensions
parent6dd98f8b94a00e7aaf8695a6bf1c100dad149f96 (diff)
loplugin:defaultparams
Change-Id: I1b3ffd418fb4e63bb4369fbc187494a87569556e
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/fieldmappingimpl.cxx6
-rw-r--r--extensions/source/bibliography/framectr.cxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx
index 5c5be725ffba..4c8fb611834f 100644
--- a/extensions/source/abpilot/fieldmappingimpl.cxx
+++ b/extensions/source/abpilot/fieldmappingimpl.cxx
@@ -216,7 +216,7 @@ namespace abp
// create a config node for this
OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext(
- _rxContext, sAddressBookNodeName, -1, OConfigurationTreeRoot::CM_UPDATABLE);
+ _rxContext, sAddressBookNodeName);
OConfigurationNode aFields = aAddressBookSettings.openNode( OUString( "Fields" ) );
@@ -292,7 +292,7 @@ namespace abp
// create a config node for this
OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext(
- _rxContext, sAddressBookNodeName, -1, OConfigurationTreeRoot::CM_UPDATABLE);
+ _rxContext, sAddressBookNodeName);
aAddressBookSettings.setNodeValue( OUString( "DataSourceName" ), makeAny( _rDataSourceName ) );
aAddressBookSettings.setNodeValue( OUString( "Command" ), makeAny( _rTableName ) );
@@ -309,7 +309,7 @@ namespace abp
// create a config node for this
OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext(
- _rxContext, sAddressBookNodeName, -1, OConfigurationTreeRoot::CM_UPDATABLE);
+ _rxContext, sAddressBookNodeName);
// set the flag
aAddressBookSettings.setNodeValue( OUString( "AutoPilotCompleted" ), makeAny( true ) );
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 1c8018dbdf78..596d51276ecd 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -517,7 +517,7 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen
else if( _rURL.Complete == "slot:5503" || aCommand == "CloseDoc" )
{
Application::PostUserEvent( LINK( this, BibFrameController_Impl,
- DisposeHdl ), 0 );
+ DisposeHdl ) );
}
else if(aCommand == "Bib/InsertRecord")
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 4993130b2e27..4bfb4ff562a9 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -570,7 +570,7 @@ void BibToolBar::RebuildToolbar()
{
ApplyImageList();
// We have to call parent asynchronously as SetSize works also asynchronously!
- Application::PostUserEvent( aLayoutManager, 0 );
+ Application::PostUserEvent( aLayoutManager );
}
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 7c4b414b50e9..e83e8dd0232f 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -567,7 +567,7 @@ namespace pcr
else
{
INetURLObject aDocURL( impl_getDocumentURL_nothrow() );
- aPropertyValue <<= URIHelper::SmartRel2Abs( aDocURL, sControlValue, Link<OUString *, bool>(), false, true, INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI );
+ aPropertyValue <<= URIHelper::SmartRel2Abs( aDocURL, sControlValue, Link<OUString *, bool>(), false, true );
}
}
break;