summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2016-01-04 22:27:23 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2016-01-05 20:41:12 +0100
commit3b7150c0ab5ca40f88ab8c3b914d601501cbf4e7 (patch)
tree3ecd1d8081ce7cf4600038ad35d68c47493a66a0 /sot/inc
parent5b22663e373f2137c93adcdd2c31c54da2fba663 (diff)
SotFactory is in fact not used: remove + cleanup
Also SotData_Impl is used only in exchange.cxx now. Move there. Change-Id: I548095c2226d92aea4193bb1a3671e2381996435
Diffstat (limited to 'sot/inc')
-rw-r--r--sot/inc/factory.hxx57
-rw-r--r--sot/inc/sotdata.hxx53
2 files changed, 0 insertions, 110 deletions
diff --git a/sot/inc/factory.hxx b/sot/inc/factory.hxx
deleted file mode 100644
index ab22cc08cadb..000000000000
--- a/sot/inc/factory.hxx
+++ /dev/null
@@ -1,57 +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 INCLUDED_SOT_FACTORY_HXX
-#define INCLUDED_SOT_FACTORY_HXX
-
-#include <sal/config.h>
-
-#include <tools/globname.hxx>
-
-class SotObject;
-
-class SotFactory : public SvGlobalName
-{
- sal_uInt16 nSuperCount; // Anzahl der Superklassen
- const SotFactory ** pSuperClasses; // Superklassen
-
-protected:
- virtual ~SotFactory();
-public:
- static void IncSvObjectCount( SotObject * = nullptr );
- static void DecSvObjectCount( SotObject * = nullptr );
-
-#ifdef DBG_UTIL
- static const SotFactory * Find( const SvGlobalName & );
-#endif
-
- SotFactory( const SvGlobalName & );
-
- void PutSuperClass( const SotFactory * );
-
- bool Is( const SotFactory * pSuperClass ) const;
-
-private:
- SotFactory( const SotFactory & ) = delete;
- SotFactory & operator = ( const SotFactory & ) = delete;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sot/inc/sotdata.hxx b/sot/inc/sotdata.hxx
deleted file mode 100644
index f2d3c260bf84..000000000000
--- a/sot/inc/sotdata.hxx
+++ /dev/null
@@ -1,53 +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 INCLUDED_SOT_SOTDATA_HXX
-#define INCLUDED_SOT_SOTDATA_HXX
-
-#include <sal/config.h>
-
-#include <com/sun/star/datatransfer/DataFlavor.hpp>
-#include <vector>
-#include <list>
-
-
-class SotFactory;
-class SotObject;
-
-typedef ::std::vector< SotFactory* > SotFactoryList;
-typedef ::std::vector< css::datatransfer::DataFlavor* > tDataFlavorList;
-
-struct SotData_Impl
-{
- sal_uInt32 nSvObjCount;
- std::list<SotObject*> aObjectList;
- SotFactoryList * pFactoryList;
- SotFactory * pSotObjectFactory;
- SotFactory * pSotStorageStreamFactory;
- SotFactory * pSotStorageFactory;
- tDataFlavorList* pDataFlavorList;
- SotData_Impl();
- ~SotData_Impl();
-};
-
-SotData_Impl* SOTDATA();
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */