diff options
Diffstat (limited to 'sc/source/ui/drawfunc/chartsh.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/chartsh.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx index 170ede8f1833..c20f0ad0acd7 100644 --- a/sc/source/ui/drawfunc/chartsh.cxx +++ b/sc/source/ui/drawfunc/chartsh.cxx @@ -40,7 +40,9 @@ #define ScChartShell #include "scslots.hxx" -using namespace ::css::uno; +using namespace css::uno; + +namespace drawing = com::sun::star::drawing; SFX_IMPL_INTERFACE(ScChartShell, ScDrawShell, ScResId(SCSTR_CHARTSHELL) ) { @@ -90,7 +92,7 @@ void ScChartShell::ExecuteExportAsGraphic( SfxRequest& ) if( pObject && pObject->ISA( SdrOle2Obj ) ) { - Reference< XShape > xSourceDoc = Reference< XShape >( pObject->getUnoShape(), UNO_QUERY_THROW ); + Reference< drawing::XShape > xSourceDoc = Reference< drawing::XShape >( pObject->getUnoShape(), UNO_QUERY_THROW ); GraphicHelper::SaveShapeAsGraphic( xSourceDoc ); } } |