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) ...@@ -1303,7 +1303,7 @@ Image AddonsOptions_Impl::ReadImageFromURL(const OUString& aImageURL)
Graphic aGraphic; Graphic aGraphic;
GraphicFilter& rGF = GraphicFilter::GetGraphicFilter(); GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
rGF.ImportGraphic( aGraphic, OUString(), *pStream, GRFILTER_FORMAT_DONTKNOW ); rGF.ImportGraphic( aGraphic, OUString(), *pStream );
BitmapEx aBitmapEx = aGraphic.GetBitmapEx(); BitmapEx aBitmapEx = aGraphic.GetBitmapEx();
......
...@@ -643,7 +643,7 @@ OUString TitleHelper::impl_convertURL2Title(const OUString& sURL) ...@@ -643,7 +643,7 @@ OUString TitleHelper::impl_convertURL2Title(const OUString& sURL)
} }
else else
{ {
if (aURL.hasExtension(INetURLObject::LAST_SEGMENT)) if (aURL.hasExtension())
sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET); sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET);
if ( sTitle.isEmpty() ) if ( sTitle.isEmpty() )
......
...@@ -611,7 +611,7 @@ namespace framework ...@@ -611,7 +611,7 @@ namespace framework
} }
else else
{ {
aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment( 0 ); aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment();
notificationMethod = &XUndoManagerListener::leftContext; notificationMethod = &XUndoManagerListener::leftContext;
} }
......
...@@ -387,7 +387,7 @@ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) ...@@ -387,7 +387,7 @@ throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
vcl::Window* pWindow = VCLUnoHelper::GetWindow( xWindow ); vcl::Window* pWindow = VCLUnoHelper::GetWindow( xWindow );
if( pWindow ) if( pWindow )
pWindow->Show( true ); pWindow->Show();
pWindow = VCLUnoHelper::GetWindow( xContainerWindow ); pWindow = VCLUnoHelper::GetWindow( xContainerWindow );
if ( pWindow ) if ( pWindow )
......
...@@ -134,7 +134,7 @@ bool ImageButtonToolbarController::ReadImageFromURL( bool bBigImage, const OUStr ...@@ -134,7 +134,7 @@ bool ImageButtonToolbarController::ReadImageFromURL( bool bBigImage, const OUStr
Graphic aGraphic; Graphic aGraphic;
GraphicFilter& rGF = GraphicFilter::GetGraphicFilter(); GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
rGF.ImportGraphic( aGraphic, OUString(), *pStream, GRFILTER_FORMAT_DONTKNOW ); rGF.ImportGraphic( aGraphic, OUString(), *pStream );
BitmapEx aBitmapEx = aGraphic.GetBitmapEx(); 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