Kaydet (Commit) b14fb67e authored tarafından Caolán McNamara's avatar Caolán McNamara

adapt for singleton api change

üst c2d8afb2
...@@ -1353,8 +1353,8 @@ void AddonsOptions_Impl::ReadImageFromURL( ImageSize nImageSize, const ::rtl::OU ...@@ -1353,8 +1353,8 @@ void AddonsOptions_Impl::ReadImageFromURL( ImageSize nImageSize, const ::rtl::OU
// Use graphic class to also support more graphic formats (bmp,png,...) // Use graphic class to also support more graphic formats (bmp,png,...)
Graphic aGraphic; Graphic aGraphic;
GraphicFilter* pGF = GraphicFilter::GetGraphicFilter(); GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
pGF->ImportGraphic( aGraphic, String(), *pStream, GRFILTER_FORMAT_DONTKNOW ); rGF.ImportGraphic( aGraphic, String(), *pStream, GRFILTER_FORMAT_DONTKNOW );
BitmapEx aBitmapEx = aGraphic.GetBitmapEx(); BitmapEx aBitmapEx = aGraphic.GetBitmapEx();
......
...@@ -205,8 +205,8 @@ sal_Bool ImageButtonToolbarController::ReadImageFromURL( sal_Bool bBigImage, con ...@@ -205,8 +205,8 @@ sal_Bool ImageButtonToolbarController::ReadImageFromURL( sal_Bool bBigImage, con
// Use graphic class to also support more graphic formats (bmp,png,...) // Use graphic class to also support more graphic formats (bmp,png,...)
Graphic aGraphic; Graphic aGraphic;
GraphicFilter* pGF = GraphicFilter::GetGraphicFilter(); GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
pGF->ImportGraphic( aGraphic, String(), *pStream, GRFILTER_FORMAT_DONTKNOW ); rGF.ImportGraphic( aGraphic, String(), *pStream, GRFILTER_FORMAT_DONTKNOW );
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