diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-28 21:21:29 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-29 21:05:29 +0100 |
commit | e8e293de1052543431d8196e6bfd19265a79f89b (patch) | |
tree | ccf7d8e4d5d8814506eb697097ea4efed5e5f8a0 /writerfilter | |
parent | 02e2bd100bb6b5f8220aca4f949eb862000e8bcf (diff) |
writerfilter: remove unused DffImpl in doctok
Change-Id: Ife6a9962b5aa6d2189e31924845df655a9ba41f2
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/Library_writerfilter.mk | 1 | ||||
-rw-r--r-- | writerfilter/source/doctok/DffImpl.cxx | 264 |
2 files changed, 0 insertions, 265 deletions
diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk index ff16aac131e6..1e1279e9ef30 100644 --- a/writerfilter/Library_writerfilter.mk +++ b/writerfilter/Library_writerfilter.mk @@ -122,7 +122,6 @@ $(eval $(call gb_Library_add_exception_objects,writerfilter,\ writerfilter/source/dmapper/TblStylePrHandler \ writerfilter/source/dmapper/ThemeTable \ writerfilter/source/dmapper/WrapPolygonHandler \ - writerfilter/source/doctok/DffImpl \ writerfilter/source/doctok/WW8Annotation \ writerfilter/source/doctok/WW8CpAndFc \ writerfilter/source/doctok/WW8FKPImpl \ diff --git a/writerfilter/source/doctok/DffImpl.cxx b/writerfilter/source/doctok/DffImpl.cxx deleted file mode 100644 index 2c14d3e6690a..000000000000 --- a/writerfilter/source/doctok/DffImpl.cxx +++ /dev/null @@ -1,264 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "doctok/resources.hxx" - -namespace writerfilter { -namespace doctok -{ - -class ShapeTypeToString -{ - typedef boost::shared_ptr<ShapeTypeToString> Pointer_t; - - static Pointer_t pInstance; - - typedef map<sal_uInt32, string> Map_t; - Map_t mMap; - -protected: - ShapeTypeToString(); - -public: - static Pointer_t Instance() - { - if (pInstance == 0) - pInstance = Pointer_t(new ShapeTypeToString()); - - return pInstance; - } - - string operator()(sal_uInt32 nShapeType) - { - return mMap[nShapeType]; - } -}; - -ShapeTypeToString::Pointer_t ShapeTypeToString::pInstance; - -ShapeTypeToString::ShapeTypeToString() -{ - mMap[0]="NotPrimitive"; - mMap[1]="Rectangle"; - mMap[2]="RoundRectangle"; - mMap[3]="Ellipse"; - mMap[4]="Diamond"; - mMap[5]="IsocelesTriangle"; - mMap[6]="RightTriangle"; - mMap[7]="Parallelogram"; - mMap[8]="Trapezoid"; - mMap[9]="Hexagon"; - mMap[10]="Octagon"; - mMap[11]="Plus"; - mMap[12]="Star"; - mMap[13]="Arrow"; - mMap[14]="ThickArrow"; - mMap[15]="HomePlate"; - mMap[16]="Cube"; - mMap[17]="Balloon"; - mMap[18]="Seal"; - mMap[19]="Arc"; - mMap[20]="Line"; - mMap[21]="Plaque"; - mMap[22]="Can"; - mMap[23]="Donut"; - mMap[24]="TextSimple"; - mMap[25]="TextOctagon"; - mMap[26]="TextHexagon"; - mMap[27]="TextCurve"; - mMap[28]="TextWave"; - mMap[29]="TextRing"; - mMap[30]="TextOnCurve"; - mMap[31]="TextOnRing"; - mMap[32]="StraightConnector1"; - mMap[33]="BentConnector2"; - mMap[34]="BentConnector3"; - mMap[35]="BentConnector4"; - mMap[36]="BentConnector5"; - mMap[37]="CurvedConnector2"; - mMap[38]="CurvedConnector3"; - mMap[39]="CurvedConnector4"; - mMap[40]="CurvedConnector5"; - mMap[41]="Callout1"; - mMap[42]="Callout2"; - mMap[43]="Callout3"; - mMap[44]="AccentCallout1"; - mMap[45]="AccentCallout2"; - mMap[46]="AccentCallout3"; - mMap[47]="BorderCallout1"; - mMap[48]="BorderCallout2"; - mMap[49]="BorderCallout3"; - mMap[50]="AccentBorderCallout1"; - mMap[51]="AccentBorderCallout2"; - mMap[52]="AccentBorderCallout3"; - mMap[53]="Ribbon"; - mMap[54]="Ribbon2"; - mMap[55]="Chevron"; - mMap[56]="Pentagon"; - mMap[57]="NoSmoking"; - mMap[58]="Seal8"; - mMap[59]="Seal16"; - mMap[60]="Seal32"; - mMap[61]="WedgeRectCallout"; - mMap[62]="WedgeRRectCallout"; - mMap[63]="WedgeEllipseCallout"; - mMap[64]="Wave"; - mMap[65]="FoldedCorner"; - mMap[66]="LeftArrow"; - mMap[67]="DownArrow"; - mMap[68]="UpArrow"; - mMap[69]="LeftRightArrow"; - mMap[70]="UpDownArrow"; - mMap[71]="IrregularSeal1"; - mMap[72]="IrregularSeal2"; - mMap[73]="LightningBolt"; - mMap[74]="Heart"; - mMap[75]="PictureFrame"; - mMap[76]="QuadArrow"; - mMap[77]="LeftArrowCallout"; - mMap[78]="RightArrowCallout"; - mMap[79]="UpArrowCallout"; - mMap[80]="DownArrowCallout"; - mMap[81]="LeftRightArrowCallout"; - mMap[82]="UpDownArrowCallout"; - mMap[83]="QuadArrowCallout"; - mMap[84]="Bevel"; - mMap[85]="LeftBracket"; - mMap[86]="RightBracket"; - mMap[87]="LeftBrace"; - mMap[88]="RightBrace"; - mMap[89]="LeftUpArrow"; - mMap[90]="BentUpArrow"; - mMap[91]="BentArrow"; - mMap[92]="Seal24"; - mMap[93]="StripedRightArrow"; - mMap[94]="NotchedRightArrow"; - mMap[95]="BlockArc"; - mMap[96]="SmileyFace"; - mMap[97]="VerticalScroll"; - mMap[98]="HorizontalScroll"; - mMap[99]="CircularArrow"; - mMap[100]="NotchedCircularArrow"; - mMap[101]="UturnArrow"; - mMap[102]="CurvedRightArrow"; - mMap[103]="CurvedLeftArrow"; - mMap[104]="CurvedUpArrow"; - mMap[105]="CurvedDownArrow"; - mMap[106]="CloudCallout"; - mMap[107]="EllipseRibbon"; - mMap[108]="EllipseRibbon2"; - mMap[109]="FlowChartProcess"; - mMap[110]="FlowChartDecision"; - mMap[111]="FlowChartInputOutput"; - mMap[112]="FlowChartPredefinedProcess"; - mMap[113]="FlowChartInternalStorage"; - mMap[114]="FlowChartDocument"; - mMap[115]="FlowChartMultidocument"; - mMap[116]="FlowChartTerminator"; - mMap[117]="FlowChartPreparation"; - mMap[118]="FlowChartManualInput"; - mMap[119]="FlowChartManualOperation"; - mMap[120]="FlowChartConnector"; - mMap[121]="FlowChartPunchedCard"; - mMap[122]="FlowChartPunchedTape"; - mMap[123]="FlowChartSummingJunction"; - mMap[124]="FlowChartOr"; - mMap[125]="FlowChartCollate"; - mMap[126]="FlowChartSort"; - mMap[127]="FlowChartExtract"; - mMap[128]="FlowChartMerge"; - mMap[129]="FlowChartOfflineStorage"; - mMap[130]="FlowChartOnlineStorage"; - mMap[131]="FlowChartMagneticTape"; - mMap[132]="FlowChartMagneticDisk"; - mMap[133]="FlowChartMagneticDrum"; - mMap[134]="FlowChartDisplay"; - mMap[135]="FlowChartDelay"; - mMap[136]="TextPlainText"; - mMap[137]="TextStop"; - mMap[138]="TextTriangle"; - mMap[139]="TextTriangleInverted"; - mMap[140]="TextChevron"; - mMap[141]="TextChevronInverted"; - mMap[142]="TextRingInside"; - mMap[143]="TextRingOutside"; - mMap[144]="TextArchUpCurve"; - mMap[145]="TextArchDownCurve"; - mMap[146]="TextCircleCurve"; - mMap[147]="TextButtonCurve"; - mMap[148]="TextArchUpPour"; - mMap[149]="TextArchDownPour"; - mMap[150]="TextCirclePour"; - mMap[151]="TextButtonPour"; - mMap[152]="TextCurveUp"; - mMap[153]="TextCurveDown"; - mMap[154]="TextCascadeUp"; - mMap[155]="TextCascadeDown"; - mMap[156]="TextWave1"; - mMap[157]="TextWave2"; - mMap[158]="TextWave3"; - mMap[159]="TextWave4"; - mMap[160]="TextInflate"; - mMap[161]="TextDeflate"; - mMap[162]="TextInflateBottom"; - mMap[163]="TextDeflateBottom"; - mMap[164]="TextInflateTop"; - mMap[165]="TextDeflateTop"; - mMap[166]="TextDeflateInflate"; - mMap[167]="TextDeflateInflateDeflate"; - mMap[168]="TextFadeRight"; - mMap[169]="TextFadeLeft"; - mMap[170]="TextFadeUp"; - mMap[171]="TextFadeDown"; - mMap[172]="TextSlantUp"; - mMap[173]="TextSlantDown"; - mMap[174]="TextCanUp"; - mMap[175]="TextCanDown"; - mMap[176]="FlowChartAlternateProcess"; - mMap[177]="FlowChartOffpageConnector"; - mMap[178]="Callout90"; - mMap[179]="AccentCallout90"; - mMap[180]="BorderCallout90"; - mMap[181]="AccentBorderCallout90"; - mMap[182]="LeftRightUpArrow"; - mMap[183]="Sun"; - mMap[184]="Moon"; - mMap[185]="BracketPair"; - mMap[186]="BracePair"; - mMap[187]="Seal4"; - mMap[188]="DoubleWave"; - mMap[189]="ActionButtonBlank"; - mMap[190]="ActionButtonHome"; - mMap[191]="ActionButtonHelp"; - mMap[192]="ActionButtonInformation"; - mMap[193]="ActionButtonForwardNext"; - mMap[194]="ActionButtonBackPrevious"; - mMap[195]="ActionButtonEnd"; - mMap[196]="ActionButtonBeginning"; - mMap[197]="ActionButtonReturn"; - mMap[198]="ActionButtonDocument"; - mMap[199]="ActionButtonSound"; - mMap[200]="ActionButtonMovie"; - mMap[201]="HostControl"; - mMap[202]="TextBox"; -} - -}} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |