From 6649fa5b2e6d715a4aa9666a77c840886d78cf65 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Dec 2021 19:20:25 +0200 Subject: remove some unused defines Change-Id: Ieeba8b55451dffa768d6bcc7f24dd33bd19c2a15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127046 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/inc/strings.hxx | 15 --------------- reportdesign/inc/strings.hxx | 7 ------- 2 files changed, 22 deletions(-) diff --git a/dbaccess/inc/strings.hxx b/dbaccess/inc/strings.hxx index 95a7a0fa4a89..f4c6cb664934 100644 --- a/dbaccess/inc/strings.hxx +++ b/dbaccess/inc/strings.hxx @@ -57,10 +57,7 @@ #define PROPERTY_SERVICENAME "ServiceName" #define PROPERTY_ISBOOKMARKABLE "IsBookmarkable" #define PROPERTY_CANUPDATEINSERTEDROWS "CanUpdateInsertedRows" -#define PROPERTY_ISSET "IsSet" -#define PROPERTY_ISOUTPARAMETER "IsOutParameter" #define PROPERTY_NUMBERFORMATSSUPPLIER "NumberFormatsSupplier" -#define PROPERTY_ISCALCULATED "IsCalculated" #define PROPERTY_DATASOURCENAME "DataSourceName" #define PROPERTY_DATABASE_LOCATION "DatabaseLocation" #define PROPERTY_CONNECTION_RESOURCE "ConnectionResource" @@ -86,7 +83,6 @@ #define PROPERTY_ISNEW "IsNew" #define PROPERTY_ROWCOUNT "RowCount" #define PROPERTY_ISROWCOUNTFINAL "IsRowCountFinal" -#define PROPERTY_HELPFILENAME "HelpFileName" #define PROPERTY_WIDTH "Width" #define PROPERTY_ROW_HEIGHT "RowHeight" #define PROPERTY_AUTOGROW "AutoGrow" @@ -97,13 +93,11 @@ #define PROPERTY_BOUNDFIELD "BoundField" #define PROPERTY_CONTROLSOURCE "DataField" #define PROPERTY_REALNAME "RealName" -#define PROPERTY_ISHIDDEN "IsHidden" #define PROPERTY_UPDATE_TABLENAME "UpdateTableName" #define PROPERTY_UPDATE_SCHEMANAME "UpdateSchemaName" #define PROPERTY_UPDATE_CATALOGNAME "UpdateCatalogName" #define PROPERTY_RELATIVEPOSITION "RelativePosition" #define PROPERTY_CONTROLMODEL "ControlModel" -#define PROPERTY_ISASCENDING "IsAscending" #define PROPERTY_RELATEDCOLUMN "RelatedColumn" #define PROPERTY_ISUNIQUE "IsUnique" #define PROPERTY_ISPRIMARYKEYINDEX "IsPrimaryKeyIndex" @@ -111,11 +105,8 @@ #define PROPERTY_UPDATERULE "UpdateRule" #define PROPERTY_DELETERULE "DeleteRule" #define PROPERTY_REFERENCEDTABLE "ReferencedTable" -#define PROPERTY_REFERENCEDCOLUMN "ReferencedColumn" -#define PROPERTY_PARENTWINDOW "ParentWindow" #define PROPERTY_SQLEXCEPTION "SQLException" #define PROPERTY_BORDER "Border" -#define PROPERTY_THREADSAFE "ThreadSafe" #define PROPERTY_HELPTEXT "HelpText" #define PROPERTY_CONTROLDEFAULT "ControlDefault" #define PROPERTY_HIDDEN "Hidden" @@ -126,10 +117,6 @@ #define PROPERTY_SHOWMENU "ShowMenu" #define PROPERTY_LAYOUTINFORMATION "LayoutInformation" #define PROPERTY_CURRENTTABLE "CurrentTable" -#define PROPERTY_DATABASENAME "DatabaseName" -#define PROPERTY_CONTROLUSER "ControlUser" -#define PROPERTY_CONTROLPASSWORD "ControlPassword" -#define PROPERTY_CACHESIZE "CacheSize" #define PROPERTY_TEXTLINECOLOR "TextLineColor" #define PROPERTY_TEXTEMPHASIS "FontEmphasisMark" #define PROPERTY_TEXTRELIEF "FontRelief" @@ -266,7 +253,6 @@ inline constexpr OUStringLiteral SERVICE_CONTROLDEFAULT = u"com.sun.star.comp.db // other DBU properties -#define PROPERTY_TRISTATE "TriState" #define PROPERTY_ENABLEOUTERJOIN "EnableOuterJoinEscape" #define PROPERTY_TABSTOP "TabStop" #define PROPERTY_DEFAULTCONTROL "DefaultControl" @@ -275,7 +261,6 @@ inline constexpr OUStringLiteral SERVICE_CONTROLDEFAULT = u"com.sun.star.comp.db inline constexpr OUStringLiteral SQLSTATE_GENERAL = u"01000"; -#define PROPERTY_APPLYFORMDESIGNMODE "ApplyFormDesignMode" #define PROPERTY_IS_FORM "IsForm" #define PROPERTY_PERSISTENT_PATH "PersistentPath" diff --git a/reportdesign/inc/strings.hxx b/reportdesign/inc/strings.hxx index fcec1228ba92..565658b24a7b 100644 --- a/reportdesign/inc/strings.hxx +++ b/reportdesign/inc/strings.hxx @@ -84,7 +84,6 @@ inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group"; #define PROPERTY_CHARRELIEF "CharRelief" #define PROPERTY_CHARCOLOR "CharColor" #define PROPERTY_VERTICALALIGN "VerticalAlign" -#define PROPERTY_IMAGEPOSITION "ImagePosition" #define PROPERTY_IMAGEURL "ImageURL" #define PROPERTY_CHARUNDERLINECOLOR "CharUnderlineColor" #define PROPERTY_LABEL "Label" @@ -93,7 +92,6 @@ inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group"; #define PROPERTY_EFFECTIVEMIN "EffectiveMin" #define PROPERTY_FORMATKEY "FormatKey" #define PROPERTY_MAXTEXTLEN "MaxTextLen" -#define PROPERTY_LISTSOURCE "ListSource" #define PROPERTY_FORMATSSUPPLIER "FormatsSupplier" #define PROPERTY_CONTROLBORDER "ControlBorder" #define PROPERTY_CONTROLBORDERCOLOR "ControlBorderColor" @@ -114,8 +112,6 @@ inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group"; #define PROPERTY_STATE "State" #define PROPERTY_TIME_STATE "TimeState" #define PROPERTY_DATE_STATE "DateState" -#define PROPERTY_TRISTATE "TriState" -#define PROPERTY_LISTSOURCETYPE "ListSourceType" #define PROPERTY_FONTCHARWIDTH "FontCharWidth" #define PROPERTY_FONTCHARSET "CharFontCharSet" #define PROPERTY_FONTFAMILY "CharFontFamily" @@ -126,14 +122,12 @@ inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group"; #define PROPERTY_FONTNAME "FontName" #define PROPERTY_FONTORIENTATION "CharRotation" #define PROPERTY_FONTPITCH "CharFontPitch" -#define PROPERTY_FONTSLANT "FontSlant" #define PROPERTY_CHARSTRIKEOUT "CharStrikeout" #define PROPERTY_FONTSTRIKEOUT "FontStrikeout" #define PROPERTY_FONTSTYLENAME "CharFontStyleName" #define PROPERTY_FONTUNDERLINE "CharUnderline" #define PROPERTY_FONTWEIGHT "CharWeight" #define PROPERTY_FONTWIDTH "FontWidth" -#define PROPERTY_FONTWORDLINEMODE "FontWordLineMode" #define PROPERTY_FONTTYPE "FontType" #define PROPERTY_ENABLED "Enabled" @@ -243,7 +237,6 @@ inline constexpr OUStringLiteral SERVICE_GROUP = u"com.sun.star.report.Group"; #define PROPERTY_HYPERLINKNAME "HyperLinkName" #define PROPERTY_VISITEDCHARSTYLENAME "VisitedCharStyleName" #define PROPERTY_UNVISITEDCHARSTYLENAME "UnvisitedCharStyleName" -#define PROPERTY_ORDER "Order" #define PROPERTY_APPLYFILTER "ApplyFilter" #define PROPERTY_MAXROWS "MaxRows" -- cgit