summaryrefslogtreecommitdiff
path: root/svx/source/core/graphichelper.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-02 07:34:56 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-02 07:39:16 +0200
commitf38c4f138c6ec810b26fcf2064f64e64eb14129b (patch)
treed0daca7c1a6e7749ad235c552887b39ef52dbbf7 /svx/source/core/graphichelper.cxx
parent80e187b58a2def63f8e779214adff3cf64294c8d (diff)
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
Diffstat (limited to 'svx/source/core/graphichelper.cxx')
-rw-r--r--svx/source/core/graphichelper.cxx4
1 files changed, 3 insertions, 1 deletions
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
{