summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/tree/drawtreevisiting.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 11:56:10 +0200
committerNoel Grandin <noel@peralex.com>2015-03-30 10:44:59 +0200
commit3a2baade81036015eefeec9978ef00f76113ac54 (patch)
tree3e1f29c807030a62a5c0382a268413cd877ede16 /sdext/source/pdfimport/tree/drawtreevisiting.hxx
parent7fbfd04c2e348dbebd7d97ceecfcbea547de5b52 (diff)
loplugin:staticfunction
Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
Diffstat (limited to 'sdext/source/pdfimport/tree/drawtreevisiting.hxx')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.hxx b/sdext/source/pdfimport/tree/drawtreevisiting.hxx
index 78e146f6ed94..dd09f4ceb26a 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.hxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.hxx
@@ -80,28 +80,25 @@ namespace pdfi
class DrawXmlEmitter : public ElementTreeVisitor
{
private:
- css::uno::Reference< css::lang::XMultiServiceFactory > xFactory;
- css::uno::Reference< css::uno::XComponentContext > xCtx;
- css::uno::Reference< css::i18n::XBreakIterator > mxBreakIter;
- css::uno::Reference< css::i18n::XCharacterClassification > mxCharClass;
-
- PDFIProcessor& m_rProcessor;
+ css::uno::Reference< css::lang::XMultiServiceFactory > xFactory;
+ css::uno::Reference< css::uno::XComponentContext > xCtx;
+ css::uno::Reference< css::i18n::XBreakIterator > mxBreakIter;
+ css::uno::Reference< css::i18n::XCharacterClassification > mxCharClass;
EmitContext& m_rEmitContext ;
/// writes Impress doc when false
const bool m_bWriteDrawDocument;
- void fillFrameProps( DrawElement& rElem,
+ static void fillFrameProps( DrawElement& rElem,
PropertyMap& rProps,
const EmitContext& rEmitContext,
bool bWasTransformed = false
);
public:
- const css::uno::Reference< css::i18n::XCharacterClassification >& GetCharacterClassification();
+ const css::uno::Reference< css::i18n::XCharacterClassification >& GetCharacterClassification();
enum DocType{ DRAW_DOC, IMPRESS_DOC };
- explicit DrawXmlEmitter(EmitContext& rEmitContext, DocType eDocType, PDFIProcessor& rProc ) :
- m_rProcessor( rProc ),
+ explicit DrawXmlEmitter(EmitContext& rEmitContext, DocType eDocType) :
m_rEmitContext(rEmitContext),
m_bWriteDrawDocument(eDocType==DRAW_DOC)
{}