Kaydet (Commit) d5de00cc authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedenumconstants in basctl..editeng

Change-Id: I49a23a197969d58a3a2d6b2be1fbe4a647c7fa08
üst 0e867bc4
......@@ -36,7 +36,6 @@ enum SvxChooseControlEnum
SVX_SNAP_PREVIEW,
SVX_SNAP_SELECT,
SVX_SNAP_URLBUTTON,
SVX_SNAP_NOTHING,
SVX_SNAP_IMAGECONTROL,
SVX_SNAP_PROGRESSBAR,
SVX_SNAP_HFIXEDLINE,
......
......@@ -139,9 +139,6 @@ namespace basctl
the application-wide scripts/dialogs.
*/
AllWithApplication,
/** real documents only
*/
DocumentsOnly,
/** real documents only, sorted lexicographically by their title (using the sys locale's default
collator)
*/
......
......@@ -59,16 +59,6 @@ namespace basegfx
class ActiveEdge
{
public:
/** The two possible active rectangle edges differ by one
coordinate value - the upper edge has the lower, the
lower edge the higher value.
*/
enum EdgeType {
/// edge with lower coordinate value
UPPER=0,
/// edge with higher coordinate value
LOWER=1
};
enum EdgeDirection {
/// edge proceeds to the left
......
......@@ -58,8 +58,7 @@ struct CreateShapeParam2D;
enum TimeBasedMode
{
MANUAL,
AUTOMATIC,
AUTOMATIC_WRAP
AUTOMATIC
};
struct TimeBasedInfo
......
......@@ -139,9 +139,7 @@ enum
PROP_DIAGRAM_DATATABLEHBORDER,
PROP_DIAGRAM_DATATABLEVBORDER,
PROP_DIAGRAM_DATATABLEOUTLINE,
PROP_DIAGRAM_EXTERNALDATA,
PROP_DIAGRAM_ROUNDED_EDGE
PROP_DIAGRAM_EXTERNALDATA
};
void lcl_AddPropertiesToVector(
......
......@@ -50,7 +50,6 @@ enum RenderEventType
EVENT_SHOW_SCROLL,
EVENT_SHOW_SELECT,
EVENT_AUTO_FLY,
EVENT_DIE,
EVENT_SELECTBAR_UPDEDATE
};
......
......@@ -59,23 +59,9 @@ enum MorkErrors
{
NoError = 0,
FailedToOpen,
UnsupportedVersion,
DefectedFormat
};
// Mork term types
enum MorkTerm
{
NoneTerm = 0,
DictTerm,
GroupTerm,
TableTerm,
RowTerm,
CellTerm,
CommentTerm,
LiteralTerm
};
/// Class MorkParser
......
......@@ -32,10 +32,7 @@ namespace connectivity
enum ExpressionFunct
{
FUNC_CONST,
ENUM_FUNC_EQUATION,
UNARY_FUNC_COLUMN,
ENUM_FUNC_AND,
ENUM_FUNC_OR
};
......
......@@ -125,13 +125,6 @@ namespace dbaxml
XML_TOK_AS_TEMPLATE ,
XML_TOK_COMPONENT_NAME
};
enum XMLType
{
XML_TYPE_FORMS,
XML_TYPE_REPORTS,
XML_TYPE_QUERIES,
XML_TYPE_TABLES
};
enum XMLQueryTable
{
XML_TOK_QUERY_NAME,
......
......@@ -56,7 +56,6 @@ namespace dbaui
FULL_JOIN=0,
LEFT_JOIN,
RIGHT_JOIN,
UNION_JOIN,
CROSS_JOIN,
INNER_JOIN
};
......
......@@ -116,7 +116,6 @@ private:
enum ApplyResult
{
AR_LEAVE_MODIFIED, // something was modified and has successfully been committed
AR_LEAVE_UNCHANGED, // no changes were made
AR_KEEP // don't leave the page (e.g. because an error occurred)
};
/** apply all changes made
......
......@@ -92,12 +92,6 @@ namespace dbaui
void newQueryWithPilot();
void newTableWithPilot();
enum RESULT
{
ERROR,
SUCCESS,
CANCEL
};
private:
css::uno::Reference< css::lang::XComponent >
impl_open(