Kaydet (Commit) 706651b3 authored tarafından Marc-Andre Laverdiere's avatar Marc-Andre Laverdiere

Removed unused code EnhWMFReader::ReadGDIComment()

üst 01e0b770
...@@ -308,41 +308,6 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC) ...@@ -308,41 +308,6 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
pWMF->SeekRel(nRemainder); 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. * Reads polygons from the stream.
* The <class T> parameter is for the type of the points * The <class T> parameter is for the type of the points
......
...@@ -835,7 +835,6 @@ public: ...@@ -835,7 +835,6 @@ public:
sal_Bool ReadEnhWMF(); sal_Bool ReadEnhWMF();
void ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC); void ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC);
void ReadGDIComment();
private: private:
template <class T> void ReadAndDrawPolyPolygon(); template <class T> void ReadAndDrawPolyPolygon();
template <class T> Polygon ReadPolygon(sal_uInt16 nStartIndex, sal_uInt16 nPoints); template <class T> Polygon ReadPolygon(sal_uInt16 nStartIndex, sal_uInt16 nPoints);
......
...@@ -151,7 +151,6 @@ EditView::SetParaAttribs(SfxItemSet const&, unsigned short) ...@@ -151,7 +151,6 @@ EditView::SetParaAttribs(SfxItemSet const&, unsigned short)
EditView::SetPointer(Pointer const&) EditView::SetPointer(Pointer const&)
ElementCollector::isAbleToNotify() const ElementCollector::isAbleToNotify() const
ElementCollector::setSecurityId(int) ElementCollector::setSecurityId(int)
EnhWMFReader::ReadGDIComment()
ExtraKernInfo::HasKernPairs() const ExtraKernInfo::HasKernPairs() const
FieldEntry::GetBookmarkType() FieldEntry::GetBookmarkType()
FileControl::SetButtonText(String const&) FileControl::SetButtonText(String const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment