Kaydet (Commit) 71b4afde authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:defaultparams

Change-Id: Icf92bef2685c507dd61416260f662dfdd24354d5
üst 2a5b3c02
......@@ -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();
......
......@@ -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() )
......
......@@ -611,7 +611,7 @@ namespace framework
}
else
{
aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment( 0 );
aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment();
notificationMethod = &XUndoManagerListener::leftContext;
}
......
......@@ -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 )
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment