diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:50:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:50:20 +0200 |
commit | 71b4afde119caa3fba6082f6ef9c5c4a880047a9 (patch) | |
tree | 9835a1b34575b5dc66c5aab64855a448e9b87507 /framework/source/fwe/helper | |
parent | 2a5b3c02678b5c90e8343fe29c0989f2bcfea70e (diff) |
loplugin:defaultparams
Change-Id: Icf92bef2685c507dd61416260f662dfdd24354d5
Diffstat (limited to 'framework/source/fwe/helper')
-rw-r--r-- | framework/source/fwe/helper/titlehelper.cxx | 2 | ||||
-rw-r--r-- | framework/source/fwe/helper/undomanagerhelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 33c378ec23a2..bbd8d95843eb 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -643,7 +643,7 @@ OUString TitleHelper::impl_convertURL2Title(const OUString& sURL) } else { - if (aURL.hasExtension(INetURLObject::LAST_SEGMENT)) + if (aURL.hasExtension()) sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET); if ( sTitle.isEmpty() ) diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 63f22d8a0f1e..299aed4fd565 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -611,7 +611,7 @@ namespace framework } else { - aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment( 0 ); + aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment(); notificationMethod = &XUndoManagerListener::leftContext; } |