From 278000a28b8eceb8528ebdcf1d601de8192979e8 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 2 Jul 2012 17:45:34 +0200 Subject: Remove unused defines Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce --- dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 1 - dbaccess/source/ui/inc/TableDesignControl.hxx | 1 - dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx | 7 ------- 3 files changed, 9 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index 45b6609394c3..b3bea6567d1f 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -88,7 +88,6 @@ namespace BooleanComparisonMode = ::com::sun::star::sdb::BooleanComparisonMode; #define STR_AND ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" AND ")) #define STR_OR ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" OR ")) #define STR_LIKE ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" LIKE ")) -#define STR_EQUAL ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" = ")) #define L_BRACKET ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("(")) #define R_BRACKET ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(")")) #define COMMA ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(",")) diff --git a/dbaccess/source/ui/inc/TableDesignControl.hxx b/dbaccess/source/ui/inc/TableDesignControl.hxx index 341b2dd74cd4..5430a0b50432 100644 --- a/dbaccess/source/ui/inc/TableDesignControl.hxx +++ b/dbaccess/source/ui/inc/TableDesignControl.hxx @@ -25,7 +25,6 @@ #include "IClipBoardTest.hxx" #include "TypeInfo.hxx" -#define TABPAGESIZE 70 namespace dbaui { class OTableDesignView; diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index 2afdb912d3dc..b3b2c9815214 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -34,13 +34,6 @@ namespace connectivity namespace dbaui { - //================================================================== -#define SIZ_NONE 0 -#define SIZ_TOP 1 -#define SIZ_BOTTOM 2 -#define SIZ_LEFT 4 -#define SIZ_RIGHT 8 - #define BROW_FIELD_ROW 0 #define BROW_COLUMNALIAS_ROW 1 #define BROW_TABLE_ROW 2 -- cgit