summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:20 +0200
commit71b4afde119caa3fba6082f6ef9c5c4a880047a9 (patch)
tree9835a1b34575b5dc66c5aab64855a448e9b87507 /framework/source
parent2a5b3c02678b5c90e8343fe29c0989f2bcfea70e (diff)
loplugin:defaultparams
Change-Id: Icf92bef2685c507dd61416260f662dfdd24354d5
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/fwe/classes/addonsoptions.cxx2
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx2
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx2
-rw-r--r--framework/source/tabwin/tabwindow.cxx2
-rw-r--r--framework/source/uielement/imagebuttontoolbarcontroller.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx
index 5f943eeb3282..821f3f886a8d 100644
--- a/framework/source/fwe/classes/addonsoptions.cxx
+++ b/framework/source/fwe/classes/addonsoptions.cxx
@@ -1303,7 +1303,7 @@ Image AddonsOptions_Impl::ReadImageFromURL(const OUString& aImageURL)
Graphic aGraphic;
GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
- rGF.ImportGraphic( aGraphic, OUString(), *pStream, GRFILTER_FORMAT_DONTKNOW );
+ rGF.ImportGraphic( aGraphic, OUString(), *pStream );
BitmapEx aBitmapEx = aGraphic.GetBitmapEx();
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;
}
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx
index 931b1873a222..ebf7d5a6bb42 100644
--- a/framework/source/tabwin/tabwindow.cxx
+++ b/framework/source/tabwin/tabwindow.cxx
@@ -387,7 +387,7 @@ throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
SolarMutexGuard aGuard;
vcl::Window* pWindow = VCLUnoHelper::GetWindow( xWindow );
if( pWindow )
- pWindow->Show( true );
+ pWindow->Show();
pWindow = VCLUnoHelper::GetWindow( xContainerWindow );
if ( pWindow )
diff --git a/framework/source/uielement/imagebuttontoolbarcontroller.cxx b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
index b363833010d8..ac8840c4a39d 100644
--- a/framework/source/uielement/imagebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
@@ -134,7 +134,7 @@ bool ImageButtonToolbarController::ReadImageFromURL( bool bBigImage, const OUStr
Graphic aGraphic;
GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
- rGF.ImportGraphic( aGraphic, OUString(), *pStream, GRFILTER_FORMAT_DONTKNOW );
+ rGF.ImportGraphic( aGraphic, OUString(), *pStream );
BitmapEx aBitmapEx = aGraphic.GetBitmapEx();