summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-26 19:14:44 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-27 13:34:35 +0200
commitbbac35af148ed6c9f19386e4721fa38b500f45a1 (patch)
tree43ee01225670f082bafe9c786d32a0aab548563a /connectivity
parent8f30e0ae6a8adc5a0973067fedebf878e52ac124 (diff)
Remove unused header files
These were only referenced by Package_inc.mk... Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/Package_inc.mk1
-rw-r--r--connectivity/inc/connectivity/DateConversion.hxx87
2 files changed, 0 insertions, 88 deletions
diff --git a/connectivity/Package_inc.mk b/connectivity/Package_inc.mk
index 3325e604d55d..6c2b42d8d28e 100644
--- a/connectivity/Package_inc.mk
+++ b/connectivity/Package_inc.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/BlobHelper.h
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/CommonTools.hxx,CommonTools.hxx))
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/conncleanup.hxx,conncleanup.hxx))
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/ConnectionWrapper.hxx,ConnectionWrapper.hxx))
-$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/DateConversion.hxx,DateConversion.hxx))
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/dbcharset.hxx,dbcharset.hxx))
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/dbconversion.hxx,dbconversion.hxx))
$(eval $(call gb_Package_add_file,connectivity_inc,inc/connectivity/dbexception.hxx,dbexception.hxx))
diff --git a/connectivity/inc/connectivity/DateConversion.hxx b/connectivity/inc/connectivity/DateConversion.hxx
deleted file mode 100644
index 7a6a9e4c6978..000000000000
--- a/connectivity/inc/connectivity/DateConversion.hxx
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_DATECONVERSION_HXX_
-#define _CONNECTIVITY_DATECONVERSION_HXX_
-
-#include <com/sun/star/util/Date.hpp>
-#include <com/sun/star/util/Time.hpp>
-#include <com/sun/star/util/DateTime.hpp>
-#include "connectivity/dbtoolsdllapi.hxx"
-
-namespace connectivity
-{
- class OOO_DLLPUBLIC_DBTOOLS DateConversion
- {
- public:
- static sal_Int32 toINT32(const ::com::sun::star::util::Date&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static sal_Int32 toINT32(const ::com::sun::star::util::Time&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static sal_Int64 toINT64(const ::com::sun::star::util::DateTime&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static sal_Int32 getMsFromTime(const ::com::sun::star::util::Time&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static double toDouble(const ::com::sun::star::util::Date&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static double toDouble(const ::com::sun::star::util::Time&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static double toDouble(const ::com::sun::star::util::DateTime&)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return 0;
- }
- static ::com::sun::star::util::Date toDate(double,const ::com::sun::star::util::Date& =::com::sun::star::util::Date(01,01,1900))
- {
- OSL_FAIL("Please use DBConversion instead!");
- return ::com::sun::star::util::Date();
- }
- static ::com::sun::star::util::Time toTime(double)
- {
- OSL_FAIL("Please use DBConversion instead!");
- return ::com::sun::star::util::Time();
- }
- static ::com::sun::star::util::DateTime toDateTime(double,const ::com::sun::star::util::Date& =::com::sun::star::util::Date(01,01,1900))
- {
- OSL_FAIL("Please use DBConversion instead!");
- return ::com::sun::star::util::DateTime();
- }
- };
-}
-#endif // _CONNECTIVITY_DATECONVERSION_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */