summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-20 21:10:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 09:39:15 +0100
commit477a7e71d18f4a00f82e412a953d5e96e3d2979d (patch)
tree3ac3fd5b37ab89c166438ad03c7d7ede380487e1 /xmloff
parent6948de03ed476b8b2c87a3eaa6b5bf10527aff74 (diff)
callcatcher: next layer of unused methods
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/layerexport.cxx31
-rw-r--r--xmloff/source/forms/layerexport.hxx14
2 files changed, 0 insertions, 45 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 21950c9c3517..464bb0a08e8c 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -277,13 +277,6 @@ namespace xmloff
}
//---------------------------------------------------------------------
- void OFormLayerXMLExport_Impl::exportControlNumberStyles()
- {
- if (m_pControlNumberStyles)
- m_pControlNumberStyles->Export(sal_False);
- }
-
- //---------------------------------------------------------------------
void OFormLayerXMLExport_Impl::exportAutoControlNumberStyles()
{
if ( m_pControlNumberStyles )
@@ -383,30 +376,6 @@ namespace xmloff
}
//---------------------------------------------------------------------
- sal_Bool OFormLayerXMLExport_Impl::seekPage(const Reference< XDrawPage >& _rxDrawPage)
- {
- sal_Bool bKnownPage = implMoveIterators( _rxDrawPage, sal_False );
- if ( bKnownPage )
- return sal_True;
-
- // if the page is not yet known, this does not automatically mean that it has
- // not been examined. Instead, examineForms returns silently and successfully
- // if a page is a XFormsPageSupplier2, but does not have a forms collection
- // (This behaviour of examineForms is a performance optimization, to not force
- // the page to create a forms container just to see that it's empty.)
-
- // So, in such a case, seekPage is considered to be successfull, too, though the
- // page was not yet known
- Reference< XFormsSupplier2 > xFormsSupp( _rxDrawPage, UNO_QUERY );
- if ( xFormsSupp.is() && !xFormsSupp->hasForms() )
- return sal_True;
-
- // anything else means that the page has not been examined before, or it's no
- // valid form page. Both cases are Bad (TM).
- return sal_False;
- }
-
- //---------------------------------------------------------------------
::rtl::OUString OFormLayerXMLExport_Impl::getControlId(const Reference< XPropertySet >& _rxControl)
{
if (m_aCurrentPageIds == m_aControlIds.end())
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 30d89ced4343..dbb918a83509 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -152,16 +152,6 @@ namespace xmloff
const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents
);
- /** seek to the page given.
-
- <p>This must be called before you can retrieve any ids for controls on the page.</p>
-
- @see
- getControlId
- */
- sal_Bool seekPage(
- const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage);
-
/** get the id of the given control.
<p>You must have sought to the page of the control before calling this.</p>
@@ -231,10 +221,6 @@ namespace xmloff
*/
bool documentContainsXForms() const;
- /** exports the controls number styles
- */
- void exportControlNumberStyles();
-
/** exports the automatic control number styles
*/
void exportAutoControlNumberStyles();