From f38c4f138c6ec810b26fcf2064f64e64eb14129b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 2 Apr 2013 07:34:56 +0200 Subject: try to fix windows tb with pch C:/lo/gerrit_core/solver/wntmsci13.pro/inc\vcl/lineinfo.hxx(39) : error C2872: 'LineStyle' : ambiguous symbol could be 'C:/lo/gerrit_core/solver/wntmsci13.pro/inc\vcl/vclenum.hxx(80) : LineStyle' or 'C:/lo/gerrit_core/solver/wntmsci13.pro/inc/offapi om/sun/star/drawing/LineStyle.hdl(13) : com::sun::star::drawing::LineStyle' ... make[1]: *** [C:/lo/gerrit_core/workdir/wntmsci13.pro/PrecompiledHeader/nodebug/precompiled_sd.hxx.gch] Error 2 WTH do we have 'using namespace' in _new_ code, anyway? Change-Id: If149653f0a7a4a0061f48e866b30ced120f8bc5e --- svx/source/core/graphichelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index 4671c912963a..deb3397d0020 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -56,6 +56,8 @@ using namespace css::ui::dialogs; using namespace sfx2; +namespace drawing = com::sun::star::drawing; + void GraphicHelper::GetPreferedExtension( OUString& rExtension, const Graphic& rGraphic ) { OUString aExtension = "png"; @@ -196,7 +198,7 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString& return OUString(); } -void GraphicHelper::SaveShapeAsGraphic( const Reference< XShape >& xShape ) +void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xShape ) { try { -- cgit