summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-02 08:48:28 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-02 08:49:29 +0200
commit83810a61bab4fe079de3539dc3489b008e776eaf (patch)
tree900681a05931016c3aa4e06e02033ea16c0eaf8b /sc/source/ui/drawfunc
parenta47e50e3386a13a1601b3aa1355de70aa9e056ff (diff)
fix build
css is ::com::sun::star already Change-Id: Ib3fba33c5612fcfe6c792f2026fba478d21fd46c
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r--sc/source/ui/drawfunc/chartsh.cxx6
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 );
}
}