summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-08-03 01:51:28 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-08-03 01:51:28 +0200
commit5fd54f2f3de2fec39b372e2f8ece0ee73f080c8f (patch)
tree580aaed1b4aab01dd2598c6f46c6d629f2de454e /xmloff
parent228d801ab1d5e1dd86b814703b2e25baf69ad07c (diff)
callcatcher: remove unused methods
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/Library_xo.mk1
-rw-r--r--xmloff/Package_inc.mk1
-rw-r--r--xmloff/inc/xmloff/VisAreaExport.hxx57
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/style/VisAreaExport.cxx86
5 files changed, 0 insertions, 147 deletions
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index 3cc71df281b9..b279bc21f713 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -227,7 +227,6 @@ $(eval $(call gb_Library_add_exception_objects,xo,\
xmloff/source/style/StyleMap \
xmloff/source/style/TransGradientStyle \
xmloff/source/style/VisAreaContext \
- xmloff/source/style/VisAreaExport \
xmloff/source/style/WordWrapPropertyHdl \
xmloff/source/style/XMLBackgroundImageContext \
xmloff/source/style/XMLBackgroundImageExport \
diff --git a/xmloff/Package_inc.mk b/xmloff/Package_inc.mk
index 3b9781b40674..2b9e1733cebd 100644
--- a/xmloff/Package_inc.mk
+++ b/xmloff/Package_inc.mk
@@ -44,7 +44,6 @@ $(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/SchXMLImportHelper.hxx,x
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/SettingsExportHelper.hxx,xmloff/SettingsExportHelper.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/SinglePropertySetInfoCache.hxx,xmloff/SinglePropertySetInfoCache.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/VisAreaContext.hxx,xmloff/VisAreaContext.hxx))
-$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/VisAreaExport.hxx,xmloff/VisAreaExport.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/WordWrapPropertyHdl.hxx,xmloff/WordWrapPropertyHdl.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/XMLBase64ImportContext.hxx,xmloff/XMLBase64ImportContext.hxx))
$(eval $(call gb_Package_add_file,xmloff_inc,inc/xmloff/XMLCharContext.hxx,xmloff/XMLCharContext.hxx))
diff --git a/xmloff/inc/xmloff/VisAreaExport.hxx b/xmloff/inc/xmloff/VisAreaExport.hxx
deleted file mode 100644
index 9a98db5a04f8..000000000000
--- a/xmloff/inc/xmloff/VisAreaExport.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _XMLOFF_VISAREAEXPORT_HXX
-#define _XMLOFF_VISAREAEXPORT_HXX
-
-#include <tools/mapunit.hxx>
-#include <sal/types.h>
-
-class SvXMLExport;
-class Rectangle;
-
-namespace com { namespace sun { namespace star { namespace awt {
- struct Rectangle;
-} } } }
-
-class XMLVisAreaExport
-{
-public:
- // the complete export is done in the constructor
- XMLVisAreaExport(SvXMLExport& rExport, const sal_Char *pName,
- const Rectangle& aRect, const MapUnit aMapUnit);
-
- XMLVisAreaExport(SvXMLExport& rExport, const sal_Char *pName,
- const com::sun::star::awt::Rectangle& aRect, const sal_Int16 nMeasureUnit );
-
- ~XMLVisAreaExport();
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 6c4343eff192..2c233edb667c 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -75,8 +75,6 @@
#include "PropertySetMerger.hxx"
#include "layerexp.hxx"
-
-#include "xmloff/VisAreaExport.hxx"
#include "XMLNumberStylesExport.hxx"
#include <tools/string.hxx>
diff --git a/xmloff/source/style/VisAreaExport.cxx b/xmloff/source/style/VisAreaExport.cxx
deleted file mode 100644
index 5ed8dbb2a801..000000000000
--- a/xmloff/source/style/VisAreaExport.cxx
+++ /dev/null
@@ -1,86 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_xmloff.hxx"
-#include <com/sun/star/awt/Rectangle.hpp>
-#include "xmloff/VisAreaExport.hxx"
-#include <xmloff/xmlexp.hxx>
-#include "xmloff/xmlnmspe.hxx"
-#include <xmloff/nmspmap.hxx>
-#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmluconv.hxx>
-#include <tools/gen.hxx>
-
-using namespace ::xmloff::token;
-
-
-XMLVisAreaExport::XMLVisAreaExport(SvXMLExport& rExport, const sal_Char *pName,
- const Rectangle& aRect, const MapUnit aMapUnit)
-{
- SvXMLUnitConverter& rUnitConv = rExport.GetMM100UnitConverter();
-
- // write VisArea Element and its Attributes
- rtl::OUStringBuffer sBuffer;
- rUnitConv.convertMeasure(sBuffer, aRect.getX(), aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_X, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.getY(), aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_Y, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.getWidth(), aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_WIDTH, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.getHeight(), aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_HEIGHT, sBuffer.makeStringAndClear());
- SvXMLElementExport aVisAreaElem(rExport, XML_NAMESPACE_OFFICE, pName, sal_True, sal_True);
-}
-
-XMLVisAreaExport::XMLVisAreaExport(SvXMLExport& rExport, const sal_Char *pName,
- const com::sun::star::awt::Rectangle& aRect, const sal_Int16 nMeasureUnit )
-{
- MapUnit aMapUnit = (MapUnit)nMeasureUnit;
-
- SvXMLUnitConverter& rUnitConv = rExport.GetMM100UnitConverter();
-
- // write VisArea Element and its Attributes
- rtl::OUStringBuffer sBuffer;
- rUnitConv.convertMeasure(sBuffer, aRect.X, aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_X, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.Y, aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_Y, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.Width, aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_WIDTH, sBuffer.makeStringAndClear());
- rUnitConv.convertMeasure(sBuffer, aRect.Height, aMapUnit);
- rExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_HEIGHT, sBuffer.makeStringAndClear());
- SvXMLElementExport aVisAreaElem(rExport, XML_NAMESPACE_OFFICE, pName, sal_True, sal_True);
-}
-
-XMLVisAreaExport::~XMLVisAreaExport()
-{
-}
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */