summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-01 18:24:05 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-01 18:33:42 +0200
commit00240d049790d11c4ef35de7a294819107197efd (patch)
tree6479f4fee0eac540ca6d0b80552834f2b19e4364 /dbaccess
parentd341aca7f68bc082cdefe4b1176f56c2c14a0322 (diff)
Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/xml/xmlHelper.hxx2
-rw-r--r--dbaccess/source/inc/apitools.hxx6
-rw-r--r--dbaccess/source/ui/dlg/ConnectionHelper.hxx8
3 files changed, 1 insertions, 15 deletions
diff --git a/dbaccess/source/filter/xml/xmlHelper.hxx b/dbaccess/source/filter/xml/xmlHelper.hxx
index aa7a76e64e78..f835c9e56972 100644
--- a/dbaccess/source/filter/xml/xmlHelper.hxx
+++ b/dbaccess/source/filter/xml/xmlHelper.hxx
@@ -25,7 +25,7 @@
#include <memory>
-#define CTF_DB_ROWHEIGHT (XML_DB_CTF_START + 1)
+// CTF_DB_ROWHEIGHT (XML_DB_CTF_START + 1)
#define CTF_DB_ISVISIBLE (XML_DB_CTF_START + 2)
#define CTF_DB_MASTERPAGENAME (XML_DB_CTF_START + 3)
#define CTF_DB_NUMBERFORMAT (XML_DB_CTF_START + 4)
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx
index e5aec66746f3..c7843b1861e2 100644
--- a/dbaccess/source/inc/apitools.hxx
+++ b/dbaccess/source/inc/apitools.hxx
@@ -155,12 +155,6 @@ public:
} \
//----------------------------------------------------------------------------------
-// declare service info methods - no getImplementationName, so the class is abstract
-#define DECLARE_SERVICE_INFO_ABSTRACT() \
- virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException); \
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) \
-
-//----------------------------------------------------------------------------------
// declare service info methods
#define DECLARE_SERVICE_INFO() \
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); \
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.hxx b/dbaccess/source/ui/dlg/ConnectionHelper.hxx
index bcb0b54885c7..1c3bf8ef2145 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.hxx
@@ -25,14 +25,6 @@
#include "curledit.hxx"
#include <sfx2/filedlghelper.hxx>
-
-#define FILL_STRING_ITEM(editcontrol, itemset, itemid, modifiedflag) \
- if (editcontrol.GetText() != editcontrol.GetSavedValue()) \
- { \
- itemset.Put(SfxStringItem(itemid, editcontrol.GetText())); \
- modifiedflag = sal_True; \
- }
-
//.........................................................................
namespace dbaui
{