summaryrefslogtreecommitdiff
path: root/svtools/source/filter/wmf/emfwr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/filter/wmf/emfwr.hxx')
-rw-r--r--svtools/source/filter/wmf/emfwr.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/svtools/source/filter/wmf/emfwr.hxx b/svtools/source/filter/wmf/emfwr.hxx
index 8c65e91e5f73..ee3b723ace3e 100644
--- a/svtools/source/filter/wmf/emfwr.hxx
+++ b/svtools/source/filter/wmf/emfwr.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49,7 +50,7 @@ private:
VirtualDevice maVDev;
MapMode maDestMapMode;
FilterConfigItem* mpFilterConfigItem;
- SvStream* mpStm;
+ SvStream& m_rStm;
sal_Bool* mpHandlesUsed;
sal_uLong mnHandleCount;
sal_uLong mnLastPercent;
@@ -92,9 +93,11 @@ private:
public:
- EMFWriter() {}
+ EMFWriter(SvStream &rStream) : m_rStm(rStream) {}
- sal_Bool WriteEMF( const GDIMetaFile& rMtf, SvStream& rOStm, FilterConfigItem* pConfigItem = NULL );
+ sal_Bool WriteEMF( const GDIMetaFile& rMtf, FilterConfigItem* pConfigItem = NULL );
};
#endif // _EMFWR_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */