[Libreoffice-commits] core.git: include/svtools svtools/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 25 05:33:01 PDT 2013
include/svtools/DocumentToGraphicRenderer.hxx | 17 ++++++-----------
include/svtools/GraphicExportOptionsDialog.hxx | 10 ++--------
svtools/source/filter/GraphicExportOptionsDialog.cxx | 4 ++++
3 files changed, 12 insertions(+), 19 deletions(-)
New commits:
commit 19a1d2383d343375b3c4b4ab1845df6435679bd6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 25 14:32:28 2013 +0200
PCH quickfix
Change-Id: I457288d881ba74db2127e8543b0de70b6498002d
diff --git a/include/svtools/DocumentToGraphicRenderer.hxx b/include/svtools/DocumentToGraphicRenderer.hxx
index 3033e64..2120ea4 100644
--- a/include/svtools/DocumentToGraphicRenderer.hxx
+++ b/include/svtools/DocumentToGraphicRenderer.hxx
@@ -30,22 +30,17 @@
#include "svtools/svtdllapi.h"
-using namespace css;
-using namespace css::uno;
-using namespace css::lang;
-using namespace css::beans;
-
class SVT_DLLPUBLIC DocumentToGraphicRenderer
{
- const Reference<XComponent>& mxDocument;
+ const css::uno::Reference<css::lang::XComponent>& mxDocument;
- Reference<frame::XModel> mxModel;
- Reference<frame::XController> mxController;
- Reference<view::XRenderable> mxRenderable;
- Reference<awt::XToolkit> mxToolkit;
+ css::uno::Reference<css::frame::XModel> mxModel;
+ css::uno::Reference<css::frame::XController> mxController;
+ css::uno::Reference<css::view::XRenderable> mxRenderable;
+ css::uno::Reference<css::awt::XToolkit> mxToolkit;
public:
- DocumentToGraphicRenderer(const Reference<XComponent>& xDocument);
+ DocumentToGraphicRenderer(const css::uno::Reference<css::lang::XComponent>& xDocument);
~DocumentToGraphicRenderer();
sal_Int32 getCurrentPageWriter( );
diff --git a/include/svtools/GraphicExportOptionsDialog.hxx b/include/svtools/GraphicExportOptionsDialog.hxx
index b346f8c..9f3784f 100644
--- a/include/svtools/GraphicExportOptionsDialog.hxx
+++ b/include/svtools/GraphicExportOptionsDialog.hxx
@@ -34,12 +34,6 @@
#include "svtools/svtdllapi.h"
-using namespace css;
-using namespace css::uno;
-using namespace css::lang;
-using namespace css::frame;
-using namespace css::beans;
-
class SVT_DLLPUBLIC GraphicExportOptionsDialog : public ModalDialog
{
private:
@@ -67,10 +61,10 @@ private:
DECL_LINK( resolutionModifiedHandle, void* );
public:
- GraphicExportOptionsDialog( Window* pWindow, const Reference<XComponent>& rxSourceDocument );
+ GraphicExportOptionsDialog( Window* pWindow, const css::uno::Reference<css::lang::XComponent>& rxSourceDocument );
~GraphicExportOptionsDialog();
- Sequence<PropertyValue> getFilterData();
+ css::uno::Sequence<css::beans::PropertyValue> getFilterData();
};
#endif
diff --git a/svtools/source/filter/GraphicExportOptionsDialog.cxx b/svtools/source/filter/GraphicExportOptionsDialog.cxx
index 0c542d9..ac9358f 100644
--- a/svtools/source/filter/GraphicExportOptionsDialog.cxx
+++ b/svtools/source/filter/GraphicExportOptionsDialog.cxx
@@ -19,6 +19,10 @@
#include "GraphicExportOptionsDialog.hxx"
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::uno;
+
GraphicExportOptionsDialog::GraphicExportOptionsDialog(Window* pWindow, const Reference<XComponent>& rxSourceDocument) :
ModalDialog(pWindow, "GraphicExporter", "svt/ui/GraphicExportOptionsDialog.ui"),
mResolution(96.0),
More information about the Libreoffice-commits
mailing list