/external/nss/

6.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:46:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:59:39 +0000
commitf4826959c1a5b0e6d2849d4240668b2087582848 (patch)
tree32589cbf4cbdcd20ff09417f4906f10fc7a4525f
parent83721f4365d234b62f9e3517345c8d3fda19f2c6 (diff)
new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe, the more complex ones will come in separate commits Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308 Reviewed-on: https://gerrit.libreoffice.org/33828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat
-rw-r--r--basctl/source/inc/bastypes.hxx1
-rw-r--r--cppcanvas/source/inc/canvasgraphichelper.hxx2
-rw-r--r--cppcanvas/source/tools/canvasgraphichelper.cxx4
-rw-r--r--cui/source/inc/cuitabarea.hxx1
-rw-r--r--cui/source/options/optcolor.cxx2
-rw-r--r--cui/source/tabpages/paragrph.cxx3
-rw-r--r--dbaccess/source/ui/inc/dbwiz.hxx9
-rw-r--r--dbaccess/source/ui/inc/dbwizsetup.hxx7
-rw-r--r--filter/source/config/cache/filtercache.hxx1
-rw-r--r--filter/source/graphicfilter/idxf/dxf2mtf.hxx3
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx3
-rw-r--r--forms/source/component/DatabaseForm.cxx18
-rw-r--r--framework/inc/services/layoutmanager.hxx2
-rw-r--r--framework/inc/xml/imagesdocumenthandler.hxx3
-rw-r--r--framework/inc/xml/statusbardocumenthandler.hxx3
-rw-r--r--framework/inc/xml/toolboxdocumenthandler.hxx3
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.hxx7
-rw-r--r--include/cppcanvas/canvasgraphic.hxx65
-rw-r--r--include/editeng/AccessibleImageBullet.hxx2
-rw-r--r--include/editeng/numitem.hxx3
-rw-r--r--include/svtools/restartdialog.hxx3
-rw-r--r--include/vcl/graphictools.hxx5
-rw-r--r--include/xmloff/shapeimport.hxx50
-rw-r--r--include/xmloff/txtimp.hxx31
-rw-r--r--include/xmloff/xmlstyle.hxx3
-rw-r--r--mysqlc/source/mysqlc_propertyids.hxx3
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx3
-rw-r--r--sd/inc/pres.hxx1
-rw-r--r--sfx2/source/control/thumbnailview.cxx11
-rw-r--r--slideshow/source/engine/slideview.cxx3
-rw-r--r--sot/source/base/exchange.cxx2
-rw-r--r--svx/source/inc/docrecovery.hxx7
-rw-r--r--sw/inc/chpfld.hxx1
-rw-r--r--sw/inc/docufld.hxx2
-rw-r--r--sw/inc/reffld.hxx1
-rw-r--r--sw/inc/swtypes.hxx1
-rw-r--r--sw/inc/undobj.hxx5
-rw-r--r--sw/inc/unocoll.hxx2
-rw-r--r--sw/source/core/inc/SwXMLTextBlocks.hxx3
-rw-r--r--sw/source/core/inc/rolbck.hxx1
-rw-r--r--sw/source/filter/html/svxcss1.hxx4
-rw-r--r--sw/source/filter/xml/xmlbrsh.cxx1
-rw-r--r--sw/source/filter/xml/xmlimp.cxx1
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
-rw-r--r--sw/source/uibase/inc/swdtflvr.hxx3
-rw-r--r--vcl/inc/CommonSalLayout.hxx1
-rw-r--r--vcl/source/filter/wmf/winmtf.hxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx3
-rw-r--r--xmloff/inc/txtfldi.hxx2
-rw-r--r--xmloff/source/chart/XMLSymbolImageContext.cxx1
-rw-r--r--xmloff/source/draw/sdxmlimp_impl.hxx1
-rw-r--r--xmloff/source/style/DashStyle.cxx1
-rw-r--r--xmloff/source/style/XMLFontStylesContext.cxx2
-rw-r--r--xmloff/source/style/xmlnumi.cxx12
-rw-r--r--xmloff/source/style/xmltabi.cxx3
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx6
-rw-r--r--xmloff/source/text/txtdropi.cxx3
-rw-r--r--xmloff/source/transform/ElemTransformerAction.hxx3
-rw-r--r--xmloff/source/transform/PropertyActionsOASIS.hxx3
-rw-r--r--xmloff/source/transform/PropertyActionsOOo.hxx3
60 files changed, 48 insertions, 288 deletions
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 77fb024857da..c6e0d51e9d16 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -136,7 +136,6 @@ public:
enum BasicWindowStatus
{
- BASWIN_OK = 0x00,
BASWIN_RUNNINGBASIC = 0x01,
BASWIN_TOBEKILLED = 0x02,
BASWIN_SUSPENDED = 0x04,
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx
index b992b1d409b0..6a091d78895a 100644
--- a/cppcanvas/source/inc/canvasgraphichelper.hxx
+++ b/cppcanvas/source/inc/canvasgraphichelper.hxx
@@ -50,7 +50,7 @@ namespace cppcanvas
virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override;
virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) override;
virtual void setClip() override;
- virtual void setCompositeOp( CompositeOp aOp ) override;
+ virtual void setCompositeOp( sal_Int8 aOp ) override;
protected:
// for our clients
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index 795d4a2056a4..56b0f7543790 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -93,9 +93,9 @@ namespace cppcanvas
return maRenderState;
}
- void CanvasGraphicHelper::setCompositeOp( CompositeOp aOp )
+ void CanvasGraphicHelper::setCompositeOp( sal_Int8 aOp )
{
- maRenderState.CompositeOperation = (sal_Int8)aOp;
+ maRenderState.CompositeOperation = aOp;
}
}
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 073a561b021a..3af9dd9a9e95 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -93,7 +93,6 @@ enum class PageType
Color,
Shadow,
Transparence,
- Unknown = 0xFFF
};
class SvxAreaTabDialog : public SfxTabDialog
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 5508d9815b88..d6f72af23946 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -50,8 +50,6 @@ namespace
// list of default groups
enum Group
{