diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-20 00:29:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-22 09:39:14 +0100 |
commit | 56db727691dc06e14218174eb135d944d379e51c (patch) | |
tree | 7c80f3480253df2a562b9c93d75d755a299a621c /xmloff | |
parent | regenerate list (diff) | |
download | core-56db727691dc06e14218174eb135d944d379e51c.tar.gz core-56db727691dc06e14218174eb135d944d379e51c.zip |
callcatcher: unused .cxx .hxx combo in xmloff
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/Library_xo.mk | 1 | ||||
-rw-r--r-- | xmloff/inc/xmloff/formlayerexport.hxx | 13 | ||||
-rw-r--r-- | xmloff/inc/xmloff/formlayerimport.hxx | 27 | ||||
-rw-r--r-- | xmloff/source/forms/formlayerexport.cxx | 12 | ||||
-rw-r--r-- | xmloff/source/forms/formlayerimport.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/forms/formstyles.cxx | 68 | ||||
-rw-r--r-- | xmloff/source/forms/formstyles.hxx | 74 | ||||
-rw-r--r-- | xmloff/source/forms/layerimport.cxx | 1 |
8 files changed, 2 insertions, 200 deletions
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk index b8fec460bb8b..6e7bf1a102fd 100644 --- a/xmloff/Library_xo.mk +++ b/xmloff/Library_xo.mk @@ -176,7 +176,6 @@ $(eval $(call gb_Library_add_exception_objects,xo,\ xmloff/source/forms/formlayerexport \ xmloff/source/forms/formlayerimport \ xmloff/source/forms/formsimp \ - xmloff/source/forms/formstyles \ xmloff/source/forms/gridcolumnproptranslator \ xmloff/source/forms/layerexport \ xmloff/source/forms/layerimport \ diff --git a/xmloff/inc/xmloff/formlayerexport.hxx b/xmloff/inc/xmloff/formlayerexport.hxx index f628dcffd869..3171daf63829 100644 --- a/xmloff/inc/xmloff/formlayerexport.hxx +++ b/xmloff/inc/xmloff/formlayerexport.hxx @@ -72,15 +72,6 @@ namespace xmloff public: OFormLayerXMLExport(SvXMLExport& _rContext); - /** initial the object - - <p>To be called if you want to reuse the same object for exportin different documents.</p> - - <p>You don't need to call this if you just constructed the object, in this case it is already - initialized..</p> - */ - void initialize(); - /** initializes some internal structures for fast access to the given page <p>This method has to be called before you use getControlId for controls on the given page. @@ -166,10 +157,6 @@ namespace xmloff */ bool documentContainsXForms() const; - /** exports the controls number styles - */ - void exportControlNumberStyles(); - /** exports the automatic controls number styles */ void exportAutoControlNumberStyles(); diff --git a/xmloff/inc/xmloff/formlayerimport.hxx b/xmloff/inc/xmloff/formlayerimport.hxx index 5f814f6638fc..aff3ff34bcc3 100644 --- a/xmloff/inc/xmloff/formlayerimport.hxx +++ b/xmloff/inc/xmloff/formlayerimport.hxx @@ -65,11 +65,9 @@ namespace xmloff /** start importing the forms of the given page - <p>starting the import of a new page (by using this method) invalidates the current page position - you may have set with <method>seekPage</method>.</p> + <p>starting the import of a new page (by using this method) invalidates the current page position.</p> @see endPage - @see seekPage */ void startPage( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage); @@ -96,13 +94,11 @@ namespace xmloff /** lookup a control given by id. - <p>The control must be part of the page which is currently beeing imported, or you must have used - seekPage for the page which the control belongs to.</p> + <p>The control must be part of the page which is currently beeing imported.</p> <p>(And, of course, the control must have been imported already at the moment you call this.)</p> @see startPage - @see seekPage */ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > lookupControl(const ::rtl::OUString& _rId); @@ -113,28 +109,9 @@ namespace xmloff it, you will lose information.</p> @see startPage - @see seekPage */ void endPage(); - /** seek to the given page. - - <p>This method should be used if you want to call lookupControl outside of a startPage-endPage frame.</p> - - <p>You can't seek to a page which hasn't been imported yet. This means that you must have called - <method>endPage</method> for the page in question.</p> - - <p>The "current page" position you have set with this method is invalidated as soon as you call - <method>startPage</method> for a new page.</p> - - <p>You should not call seekPage while importing a page (i.e. between startPage and endPage). This will - smash this other page beeing imported (seeking back to it will not help you :).</p> - - @see lookupControl - */ - void seekPage( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage); - /** announces the auto-style context to the form importer */ void setAutoStyleContext(SvXMLStylesContext* _pNewContext); diff --git a/xmloff/source/forms/formlayerexport.cxx b/xmloff/source/forms/formlayerexport.cxx index ea5ebc93a1b6..deb950804628 100644 --- a/xmloff/source/forms/formlayerexport.cxx +++ b/xmloff/source/forms/formlayerexport.cxx @@ -94,12 +94,6 @@ namespace xmloff } //--------------------------------------------------------------------- - void OFormLayerXMLExport::initialize() - { - m_pImpl->clear(); - } - - //--------------------------------------------------------------------- void OFormLayerXMLExport::examineForms(const Reference< XDrawPage >& _rxDrawPage) { try @@ -137,12 +131,6 @@ namespace xmloff } //--------------------------------------------------------------------- - void OFormLayerXMLExport::exportControlNumberStyles() - { - m_pImpl->exportControlNumberStyles(); - } - - //--------------------------------------------------------------------- void OFormLayerXMLExport::exportAutoControlNumberStyles() { m_pImpl->exportAutoControlNumberStyles(); diff --git a/xmloff/source/forms/formlayerimport.cxx b/xmloff/source/forms/formlayerimport.cxx index 718c3120c481..ad677b868164 100644 --- a/xmloff/source/forms/formlayerimport.cxx +++ b/xmloff/source/forms/formlayerimport.cxx @@ -67,12 +67,6 @@ namespace xmloff } //--------------------------------------------------------------------- - void OFormLayerXMLImport::seekPage(const Reference< XDrawPage >& _rxDrawPage) - { - m_pImpl->seekPage(_rxDrawPage); - } - - //--------------------------------------------------------------------- void OFormLayerXMLImport::startPage(const Reference< XDrawPage >& _rxDrawPage) { m_pImpl->startPage(_rxDrawPage); diff --git a/xmloff/source/forms/formstyles.cxx b/xmloff/source/forms/formstyles.cxx deleted file mode 100644 index bd00be5fbf43..000000000000 --- a/xmloff/source/forms/formstyles.cxx +++ /dev/null @@ -1,68 +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 "formstyles.hxx" -#include <xmloff/xmltoken.hxx> - -//......................................................................... -namespace xmloff -{ -//......................................................................... - - using namespace token; - using namespace ::com::sun::star::uno; - using namespace ::com::sun::star::xml; - - //===================================================================== - //= OControlStyleContext - //===================================================================== - //--------------------------------------------------------------------- - OControlStyleContext::OControlStyleContext( SvXMLImport& _rImport, const sal_uInt16 _Prefix, const ::rtl::OUString& _rLocalName, - const Reference< sax::XAttributeList >& _rxAttrList, SvXMLStylesContext& _rParentStyles, - const sal_uInt16 _nFamily, const sal_Bool _bDefaultStyle ) - :XMLPropStyleContext( _rImport, _Prefix, _rLocalName, _rxAttrList, _rParentStyles, _nFamily, _bDefaultStyle ) - { - } - - //--------------------------------------------------------------------- - void OControlStyleContext::SetAttribute( sal_uInt16 _nPrefixKey, const ::rtl::OUString& _rLocalName, const ::rtl::OUString& _rValue ) - { - if ( _rLocalName == GetXMLToken( XML_DATA_STYLE_NAME ) ) - m_sNumberStyleName = _rValue; - else - XMLPropStyleContext::SetAttribute( _nPrefixKey, _rLocalName, _rValue ); - } - -//......................................................................... -} // namespace xmloff -//......................................................................... - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/formstyles.hxx b/xmloff/source/forms/formstyles.hxx deleted file mode 100644 index fc055df24a1a..000000000000 --- a/xmloff/source/forms/formstyles.hxx +++ /dev/null @@ -1,74 +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_FORMSTYLES_HXX -#define XMLOFF_FORMSTYLES_HXX - -#include <xmloff/prstylei.hxx> - -//......................................................................... -namespace xmloff -{ -//......................................................................... - - //===================================================================== - //= OControlStyleContext - //===================================================================== - class OControlStyleContext : public XMLPropStyleContext - { - protected: - ::rtl::OUString m_sNumberStyleName; - - public: - OControlStyleContext( - SvXMLImport& _rImport, - const sal_uInt16 _Prefix, - const ::rtl::OUString& _rLocalName, - const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rxAttrList, - SvXMLStylesContext& _rParentStyles, - const sal_uInt16 _nFamily, - const sal_Bool _bDefaultStyle - ); - - inline const ::rtl::OUString& getNumberStyleName( ) const { return m_sNumberStyleName; } - - protected: - virtual void SetAttribute( - sal_uInt16 _nPrefixKey, - const ::rtl::OUString& _rLocalName, - const ::rtl::OUString& _rValue - ); - }; - -//......................................................................... -} // namespace xmloff -//......................................................................... - -#endif // XMLOFF_FORMSTYLES_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index c277969c51ab..7b40189d5145 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -33,7 +33,6 @@ #include "elementimport.hxx" #include "officeforms.hxx" #include "strings.hxx" -#include "formstyles.hxx" #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlstyle.hxx> #include <xmloff/families.hxx> |