diff options
Diffstat (limited to 'svx/source/gallery2/galctrl.cxx')
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 09a95bec67a2..8022cecc0fbe 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -2,13 +2,10 @@ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * Copyright 2008 by Sun Microsystems, Inc. + * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * - * $RCSfile: galctrl.cxx,v $ - * $Revision: 1.27 $ - * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify @@ -40,12 +37,12 @@ #include "galtheme.hxx" #include "svx/galmisc.hxx" #include "galctrl.hxx" -#include "AccessibleStringWrap.hxx" -#include <svx/svxfont.hxx> +#include "editeng/AccessibleStringWrap.hxx" +#include <editeng/svxfont.hxx> #include "galobj.hxx" #include <avmedia/mediawindow.hxx> #include "gallery.hrc" -#include <svx/impgrf.hxx> +#include <svtools/filter.hxx> // ----------- // - Defines - @@ -97,7 +94,7 @@ bool GalleryPreview::SetGraphic( const INetURLObject& _aURL ) } else { - GraphicFilter* pFilter = GetGrfFilter(); + GraphicFilter* pFilter = GraphicFilter::GetGraphicFilter(); GalleryProgress aProgress( pFilter ); if( pFilter->ImportGraphic( aGraphic, _aURL, GRFILTER_FORMAT_DONTKNOW ) ) bRet = false; |