[Libreoffice-commits] core.git: sc/source
Thomas Arnhold
thomas at arnhold.org
Mon Apr 1 23:49:55 PDT 2013
sc/source/ui/drawfunc/chartsh.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 83810a61bab4fe079de3539dc3489b008e776eaf
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Tue Apr 2 08:48:28 2013 +0200
fix build
css is ::com::sun::star already
Change-Id: Ib3fba33c5612fcfe6c792f2026fba478d21fd46c
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index 170ede8..c20f0ad 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 );
}
}
More information about the Libreoffice-commits
mailing list