summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMarc-Andre Laverdiere <marc-andre@atc.tcs.com>2011-09-26 17:36:16 +0530
committerMarc-Andre Laverdiere <marc-andre@atc.tcs.com>2011-09-28 18:58:58 +0530
commit706651b37fe2d0b50cde0ff950d2264b8174cf7e (patch)
tree254e1b01d6730165637bc94b20e86260a823d623 /svtools
parent01e0b770a5ce58de44283465ba51b03a1ee0db0c (diff)
Removed unused code EnhWMFReader::ReadGDIComment()
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/wmf/enhwmf.cxx35
-rw-r--r--svtools/source/filter/wmf/winmtf.hxx1
2 files changed, 0 insertions, 36 deletions
diff --git a/svtools/source/filter/wmf/enhwmf.cxx b/svtools/source/filter/wmf/enhwmf.cxx
index 618f13d7dcc1..1c8321216d19 100644
--- a/svtools/source/filter/wmf/enhwmf.cxx
+++ b/svtools/source/filter/wmf/enhwmf.cxx
@@ -308,41 +308,6 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
pWMF->SeekRel(nRemainder);
}
-void EnhWMFReader::ReadGDIComment()
-{
- sal_uInt32 type;
-
- *pWMF >> type;
-
- switch( type ) {
- case 2: {
- sal_Int32 x, y, r, b;
-
- EMFP_DEBUG(printf ("\t\tBEGINGROUP\n"));
-
- *pWMF >> x >> y >> r >> b;
- EMFP_DEBUG(printf ("\t\tbounding rectangle: %d,%d x %d,%d\n", (int)x,(int)y,(int)r,(int) b));
-
- sal_uInt32 l;
-
- *pWMF >> l;
- EMFP_DEBUG(printf ("\t\tdescription length: %d\n", (int)l));
- break;
- }
- case 3: {
- EMFP_DEBUG(printf ("\t\tENDGROUP\n"));
- break;
- }
- case 0x40000004: {
- EMFP_DEBUG(printf ("\t\tMULTIFORMATS\n"));
- break;
- }
- default:
- EMFP_DEBUG(printf ("\t\tunknown GDIComment\n"));
- EMFP_DEBUG(dumpWords (*pWMF, 16));
- }
-}
-
/**
* Reads polygons from the stream.
* The <class T> parameter is for the type of the points
diff --git a/svtools/source/filter/wmf/winmtf.hxx b/svtools/source/filter/wmf/winmtf.hxx
index c6561f6110c0..af0d960642af 100644
--- a/svtools/source/filter/wmf/winmtf.hxx
+++ b/svtools/source/filter/wmf/winmtf.hxx
@@ -835,7 +835,6 @@ public:
sal_Bool ReadEnhWMF();
void ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC);
- void ReadGDIComment();
private:
template <class T> void ReadAndDrawPolyPolygon();
template <class T> Polygon ReadPolygon(sal_uInt16 nStartIndex, sal_uInt16 nPoints);