summaryrefslogtreecommitdiff
path: root/svx/inc/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/svx')
-rw-r--r--svx/inc/svx/extedit.hxx5
-rw-r--r--svx/inc/svx/graphichelper.hxx10
2 files changed, 10 insertions, 5 deletions
diff --git a/svx/inc/svx/extedit.hxx b/svx/inc/svx/extedit.hxx
index 3760c543e738..6f3c44afcbb0 100644
--- a/svx/inc/svx/extedit.hxx
+++ b/svx/inc/svx/extedit.hxx
@@ -24,10 +24,10 @@
#ifndef _EXTEDIT_HXX
#define _EXTEDIT_HXX
+#include <svtools/grfmgr.hxx>
#include <osl/file.hxx>
#include <osl/process.h>
#include <vcl/graph.hxx>
-#include <svtools/grfmgr.hxx>
#include <vcl/timer.hxx>
#include <svx/svxdllapi.h>
@@ -35,7 +35,7 @@ class SVX_DLLPUBLIC ExternalToolEdit
{
public:
GraphicObject* m_pGraphicObject;
- rtl::OUString m_aFileName;
+ OUString m_aFileName;
ExternalToolEdit();
virtual ~ExternalToolEdit();
@@ -43,7 +43,6 @@ public:
virtual void Update( Graphic& aGraphic ) = 0;
void Edit( GraphicObject *pGraphic );
-
DECL_LINK( StartListeningEvent, void *pEvent );
static void threadWorker( void *pThreadData );
diff --git a/svx/inc/svx/graphichelper.hxx b/svx/inc/svx/graphichelper.hxx
index 317e0ffd4164..1d9e9e391e23 100644
--- a/svx/inc/svx/graphichelper.hxx
+++ b/svx/inc/svx/graphichelper.hxx
@@ -23,12 +23,18 @@
#include <vcl/graph.hxx>
#include <svx/svxdllapi.h>
+#include <com/sun/star/drawing/XShape.hpp>
+
+using namespace css::uno;
+using namespace css::drawing;
+
class SVX_DLLPUBLIC GraphicHelper
{
public:
- static void GetPreferedExtension( String &rExt, const Graphic &rGrf );
- static String ExportGraphic( const Graphic &rGraphic, const String &rGrfName );
+ static void GetPreferedExtension( OUString& rExtension, const Graphic& rGraphic );
+ static OUString ExportGraphic( const Graphic& rGraphic, const OUString& rGraphicName );
+ static void SaveShapeAsGraphic( const Reference< XShape >& xShape );
};