diff options
author | Oliver-Rainer Wittmann <od@openoffice.org> | 2010-03-10 18:46:05 +0100 |
---|---|---|
committer | Oliver-Rainer Wittmann <od@openoffice.org> | 2010-03-10 18:46:05 +0100 |
commit | 54d4353dd1981f03050886d013cbc61a1a5bbaac (patch) | |
tree | fa4ba629cbdd3c9ffd263e557dfac17dadc55566 /sw/source/ui/docvw/romenu.cxx | |
parent | 9bba964993fe859b40a5c125406653ee3ade122e (diff) | |
parent | 7fa96e56c6fe20ea496be40338124ba35aae9d84 (diff) |
sw33bf02: merge with DEV300_m74
Diffstat (limited to 'sw/source/ui/docvw/romenu.cxx')
-rw-r--r-- | sw/source/ui/docvw/romenu.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sw/source/ui/docvw/romenu.cxx b/sw/source/ui/docvw/romenu.cxx index 313604be962e..0e3ab86c71a7 100644 --- a/sw/source/ui/docvw/romenu.cxx +++ b/sw/source/ui/docvw/romenu.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: romenu.cxx,v $ - * $Revision: 1.23 $ - * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify @@ -47,9 +44,8 @@ #include <sfx2/docfile.hxx> #include <sfx2/dispatch.hxx> #include <svx/xoutbmp.hxx> -#include <svx/impgrf.hxx> #include <svx/gallery.hxx> -#include <svx/brshitem.hxx> +#include <editeng/brshitem.hxx> #include <swunodef.hxx> @@ -408,7 +404,7 @@ String SwReadOnlyPopup::SaveGraphic( USHORT nId ) if ( pItem->GetGraphicLink() ) sGrfName = *pItem->GetGraphicLink(); ((SvxBrushItem*)pItem)->SetDoneLink( Link() ); - const Graphic *pGrf = pItem->GetGraphic( rView.GetDocShell() ); + const Graphic *pGrf = pItem->GetGraphic(); if ( pGrf ) { aGraphic = *pGrf; @@ -442,7 +438,7 @@ String ExportGraphic( const Graphic &rGraphic, const String &rGrfName ) aURL.SetSmartURL( aName ); aDlgHelper.SetFileName( aURL.GetName() ); - GraphicFilter& rGF = *GetGrfFilter(); + GraphicFilter& rGF = *GraphicFilter::GetGraphicFilter(); const USHORT nCount = rGF.GetExportFormatCount(); String aExt( aURL.GetExtension() ); |