sw/inc/rdfhelper.hxx | 7 ----- sw/inc/swabstdlg.hxx | 1 sw/inc/unoframe.hxx | 2 - sw/inc/unoredline.hxx | 4 --- sw/inc/unotbl.hxx | 2 - sw/inc/unotext.hxx | 2 - sw/inc/unotextbodyhf.hxx | 4 --- sw/source/core/doc/rdfhelper.cxx | 28 ---------------------- sw/source/core/inc/unofootnote.hxx | 2 - sw/source/core/unocore/unocontentcontrol.cxx | 10 ------- sw/source/core/unocore/unoframe.cxx | 12 --------- sw/source/core/unocore/unoftn.cxx | 12 --------- sw/source/core/unocore/unoredline.cxx | 15 ----------- sw/source/core/unocore/unorefmk.cxx | 11 -------- sw/source/core/unocore/unotbl.cxx | 9 ------- sw/source/core/unocore/unotext.cxx | 21 ---------------- sw/source/ui/dialog/swdlgfact.cxx | 5 --- sw/source/ui/dialog/swdlgfact.hxx | 1 sw/source/writerfilter/ooxml/OOXMLPropertySet.hxx | 4 --- ucb/source/ucp/webdav-curl/SerfLockStore.hxx | 3 -- vcl/source/control/imivctl.hxx | 1 21 files changed, 156 deletions(-)
New commits: commit 73637f83ee92453eb6249acf9ceb2b39b5a9c4ea Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Sep 30 13:19:58 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Oct 1 11:16:30 2024 +0200 loplugin:unusedmethods Change-Id: I121a0e1323df7b6669f496ad63d771df8f76b429 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174297 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins diff --git a/sw/inc/rdfhelper.hxx b/sw/inc/rdfhelper.hxx index 164f99683495..8152ef6765c5 100644 --- a/sw/inc/rdfhelper.hxx +++ b/sw/inc/rdfhelper.hxx @@ -73,13 +73,6 @@ public: const css::uno::Reference<css::rdf::XResource>& xSubject, const OUString& rKey, const OUString& rValue); - /// Clone all statements in the graph of type rType, if any exists, from one subject to another. - static void cloneStatements(const rtl::Reference<SwXTextDocument>& xSrcModel, - const rtl::Reference<SwXTextDocument>& xDstModel, - const OUString& rType, - const css::uno::Reference<css::rdf::XResource>& xSrcSubject, - const css::uno::Reference<css::rdf::XResource>& xDstSubject); - /// Remove all statements in the graph of type rType, if any exists. static void clearStatements(const rtl::Reference<SwXTextDocument>& xModel, const OUString& rType, diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index 6a17984c6fc8..229b2fdc042d 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -280,7 +280,6 @@ public: virtual void GetValues( sal_Unicode& rDelim, SwInsertTableOptions& rInsTableFlags, SwTableAutoFormat const*& prTAFormat ) = 0; - virtual std::unique_ptr<SwTableAutoFormat> FillAutoFormatOfIndex() const = 0; }; class AbstractSwInsertDBColAutoPilot : public VclAbstractDialog diff --git a/sw/source/core/doc/rdfhelper.cxx b/sw/source/core/doc/rdfhelper.cxx index b3db96f149a1..bb5615bec265 100644 --- a/sw/source/core/doc/rdfhelper.cxx +++ b/sw/source/core/doc/rdfhelper.cxx @@ -169,34 +169,6 @@ void SwRDFHelper::clearStatements(const rtl::Reference<SwXTextDocument>& xModel, } } -void SwRDFHelper::cloneStatements(const rtl::Reference<SwXTextDocument>& xSrcModel, - const rtl::Reference<SwXTextDocument>& xDstModel, - const OUString& rType, - const css::uno::Reference<css::rdf::XResource>& xSrcSubject, - const css::uno::Reference<css::rdf::XResource>& xDstSubject) -{ - uno::Reference<uno::XComponentContext> xComponentContext(comphelper::getProcessComponentContext()); - uno::Reference<rdf::XURI> xType = rdf::URI::create(xComponentContext, rType); - uno::Reference<rdf::XDocumentMetadataAccess> xDocumentMetadataAccess(xSrcModel); - const uno::Sequence< uno::Reference<rdf::XURI> > aGraphNames = getGraphNames(xDocumentMetadataAccess, xType); - if (!aGraphNames.hasElements()) - return; - - for (const uno::Reference<rdf::XURI>& xGraphName : aGraphNames) - { - uno::Reference<rdf::XNamedGraph> xGraph = xDocumentMetadataAccess->getRDFRepository()->getGraph(xGraphName); - uno::Reference<container::XEnumeration> xStatements = xGraph->getStatements(xSrcSubject, uno::Reference<rdf::XURI>(), uno::Reference<rdf::XURI>()); - while (xStatements->hasMoreElements()) - { - const rdf::Statement aStatement = xStatements->nextElement().get<rdf::Statement>(); - - const OUString sKey = aStatement.Predicate->getStringValue(); - const OUString sValue = aStatement.Object->getStringValue(); - addStatement(xDstModel, rType, xGraphName->getLocalName(), xDstSubject, sKey, sValue); - } - } -} - std::map<OUString, OUString> SwRDFHelper::getTextNodeStatements(const OUString& rType, SwTextNode& rTextNode) { uno::Reference<rdf::XResource> xTextNode(SwXParagraph::CreateXParagraph(rTextNode.GetDoc(), &rTextNode, nullptr)); diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx index 346af3291f06..4ed228a58633 100644 --- a/sw/source/ui/dialog/swdlgfact.cxx +++ b/sw/source/ui/dialog/swdlgfact.cxx @@ -647,11 +647,6 @@ void AbstractSwSelGlossaryDlg_Impl::SelectEntryPos(sal_Int32 nIdx) m_xDlg->SelectEntryPos( nIdx ); } -std::unique_ptr<SwTableAutoFormat> AbstractSwConvertTableDlg_Impl::FillAutoFormatOfIndex() const -{ - return m_xDlg->FillAutoFormatOfIndex(); -} - std::unique_ptr<SwTableAutoFormat> AbstractSwAutoFormatDlg_Impl::FillAutoFormatOfIndex() const { return m_xDlg->FillAutoFormatOfIndex(); diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx index 3f4b123abc58..3875fe8d997f 100644 --- a/sw/source/ui/dialog/swdlgfact.hxx +++ b/sw/source/ui/dialog/swdlgfact.hxx @@ -354,7 +354,6 @@ public: virtual short Execute() override; virtual void GetValues( sal_Unicode& rDelim,SwInsertTableOptions& rInsTableFlags, SwTableAutoFormat const*& prTAFormat) override; - virtual std::unique_ptr<SwTableAutoFormat> FillAutoFormatOfIndex() const override; }; class AbstractSwInsertDBColAutoPilot_Impl : public AbstractSwInsertDBColAutoPilot diff --git a/sw/source/writerfilter/ooxml/OOXMLPropertySet.hxx b/sw/source/writerfilter/ooxml/OOXMLPropertySet.hxx index 0a5868617c9c..3fc77dc5bc20 100644 --- a/sw/source/writerfilter/ooxml/OOXMLPropertySet.hxx +++ b/sw/source/writerfilter/ooxml/OOXMLPropertySet.hxx @@ -37,15 +37,11 @@ public: static OOXMLValue createBoolean(bool); static OOXMLValue createBoolean(std::string_view); static OOXMLValue createInteger(int); - static OOXMLValue createUniversalMeasure(int); static OOXMLValue createUniversalMeasure(std::string_view pValue, sal_uInt32 npPt); /// Handles OOXML's ST_TwipsMeasure value. - static OOXMLValue createTwipsMeasure(int); static OOXMLValue createTwipsMeasure(std::string_view); /// Handles OOXML's ST_HpsMeasure value. - static OOXMLValue createHpsMeasure(int); static OOXMLValue createHpsMeasure(std::string_view); - static OOXMLValue createMeasurementOrPercent(int); static OOXMLValue createMeasurementOrPercent(std::string_view); static OOXMLValue createHex(sal_uInt32); static OOXMLValue createHex(std::string_view); diff --git a/ucb/source/ucp/webdav-curl/SerfLockStore.hxx b/ucb/source/ucp/webdav-curl/SerfLockStore.hxx index 08a88746b0d0..30c7fe1d407e 100644 --- a/ucb/source/ucp/webdav-curl/SerfLockStore.hxx +++ b/ucb/source/ucp/webdav-curl/SerfLockStore.hxx @@ -82,9 +82,6 @@ public: void refreshLocks(); - void joinThread(); - void restartThread(); - // comphelper::LibreOfficeKit::ThreadJoinable virtual bool joinThreads() override; virtual void startThreads() override; diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx index 9388208c0574..6542233782f8 100644 --- a/vcl/source/control/imivctl.hxx +++ b/vcl/source/control/imivctl.hxx @@ -204,7 +204,6 @@ public: void Clear( bool bInCtor ); void SetStyle( WinBits nWinStyle ); - WinBits GetStyle() const { return nWinBits; } void InsertEntry( std::unique_ptr<SvxIconChoiceCtrlEntry>, size_t nPos ); void RemoveEntry( size_t nPos ); void FontModified(); commit 6b72343010e9cb673126411372162f6a0dff39bc Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Sep 30 13:16:42 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Oct 1 11:16:21 2024 +0200 loplugin:unusedmethods Change-Id: I6c6073e139f573f1680a7e9e52e95a221c9805b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174296 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index f11781304814..535e0fedc631 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -206,8 +206,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; //XEnumerationAccess - was: XParagraphEnumerationAccess virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override; diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx index 5f069fde1121..90f9d212a168 100644 --- a/sw/inc/unoredline.hxx +++ b/sw/inc/unoredline.hxx @@ -53,8 +53,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; //XEnumerationAccess virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override; @@ -89,8 +87,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; //XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override; diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index d42e9460570e..caae1436db59 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -113,8 +113,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; virtual void SAL_CALL setString(const OUString& aString) override; //XPropertySet diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index cff75d2738e5..a229c4db5931 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -150,8 +150,6 @@ public: const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override final; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) = 0; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) = 0; virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override final; virtual rtl::Reference< SwXTextCursor > createXTextCursor() = 0; diff --git a/sw/inc/unotextbodyhf.hxx b/sw/inc/unotextbodyhf.hxx index a94ea4ada0fd..4d9eeea48b29 100644 --- a/sw/inc/unotextbodyhf.hxx +++ b/sw/inc/unotextbodyhf.hxx @@ -83,8 +83,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; private: rtl::Reference< SwXTextCursor > createXTextCursorByRangeImpl(SwUnoInternalPaM& rPam); @@ -146,8 +144,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; private: rtl::Reference< SwXTextCursor > createXTextCursorByRangeImpl(SwUnoInternalPaM& rPam); }; diff --git a/sw/source/core/inc/unofootnote.hxx b/sw/source/core/inc/unofootnote.hxx index 5306df0363b0..dd12ff058e29 100644 --- a/sw/source/core/inc/unofootnote.hxx +++ b/sw/source/core/inc/unofootnote.hxx @@ -130,8 +130,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; private: rtl::Reference< SwXTextCursor > createXTextCursorByRangeImpl(SwUnoInternalPaM& rPam); }; diff --git a/sw/source/core/unocore/unocontentcontrol.cxx b/sw/source/core/unocore/unocontentcontrol.cxx index 5327a4d646da..d0b4708a1d1b 100644 --- a/sw/source/core/unocore/unocontentcontrol.cxx +++ b/sw/source/core/unocore/unocontentcontrol.cxx @@ -71,8 +71,6 @@ public: virtual rtl::Reference<SwXTextCursor> createXTextCursor() override; virtual rtl::Reference<SwXTextCursor> createXTextCursorByRange( const ::css::uno::Reference<::css::text::XTextRange>& aTextPosition) override; - virtual rtl::Reference<SwXTextCursor> - createXTextCursorByRange(const rtl::Reference<SwXTextCursor>& aTextPosition) override; }; } @@ -132,14 +130,6 @@ rtl::Reference<SwXTextCursor> SwXContentControlText::createXTextCursorByRange( return xCursor; } -rtl::Reference<SwXTextCursor> -SwXContentControlText::createXTextCursorByRange(const rtl::Reference<SwXTextCursor>& xTextPosition) -{ - const rtl::Reference<SwXTextCursor> xCursor(createXTextCursor()); - xCursor->gotoRange(xTextPosition, false); - return xCursor; -} - /** * The inner part SwXContentControl, which is deleted with a locked SolarMutex. * diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 12fa64c38385..e29f71ed7851 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -3318,18 +3318,6 @@ rtl::Reference< SwXTextCursor > SwXTextFrame::createXTextCursorByRange(const uno return createXTextCursorByRangeImpl(*pFormat, aPam); } -rtl::Reference< SwXTextCursor > SwXTextFrame::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & aTextPosition) -{ - SwFrameFormat* pFormat = GetFrameFormat(); - if (!pFormat) - throw uno::RuntimeException(); - SwUnoInternalPaM aPam(*GetDoc()); - if (!::sw::XTextRangeToSwPaM(aPam, aTextPosition)) - throw uno::RuntimeException(); - return createXTextCursorByRangeImpl(*pFormat, aPam); -} - rtl::Reference< SwXTextCursor > SwXTextFrame::createXTextCursorByRangeImpl( SwFrameFormat& rFormat, SwUnoInternalPaM& rPam) diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx index 30c8badc421c..c3f175d77681 100644 --- a/sw/source/core/unocore/unoftn.cxx +++ b/sw/source/core/unocore/unoftn.cxx @@ -413,18 +413,6 @@ SwXFootnote::createXTextCursorByRange( return createXTextCursorByRangeImpl(aPam); } -rtl::Reference< SwXTextCursor > -SwXFootnote::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & xTextPosition) -{ - SwUnoInternalPaM aPam(*GetDoc()); - if (!::sw::XTextRangeToSwPaM(aPam, xTextPosition)) - { - throw uno::RuntimeException(); - } - return createXTextCursorByRangeImpl(aPam); -} - rtl::Reference< SwXTextCursor > SwXFootnote::createXTextCursorByRangeImpl( SwUnoInternalPaM& rPam) { diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index 145e5d45b34e..414bebbc1056 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -138,15 +138,6 @@ rtl::Reference< SwXTextCursor > SwXRedlineText::createXTextCursorByRange( return xCursor; } -rtl::Reference< SwXTextCursor > SwXRedlineText::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & aTextRange) -{ - rtl::Reference< SwXTextCursor > xCursor = createXTextCursor(); - xCursor->gotoRange(aTextRange->getStart(), false); - xCursor->gotoRange(aTextRange->getEnd(), true); - return xCursor; -} - uno::Reference<container::XEnumeration> SwXRedlineText::createEnumeration() { SolarMutexGuard aGuard; @@ -570,12 +561,6 @@ rtl::Reference< SwXTextCursor > SwXRedline::createXTextCursorByRange( throw uno::RuntimeException(); } -rtl::Reference< SwXTextCursor > SwXRedline::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & /*aTextPosition*/) -{ - throw uno::RuntimeException(); -} - uno::Any SwXRedline::queryInterface( const uno::Type& rType ) { uno::Any aRet = SwXText::queryInterface(rType); diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index d0be1fe75643..b5aa314be008 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -504,8 +504,6 @@ public: virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; - virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& aTextPosition ) override; }; } @@ -572,15 +570,6 @@ SwXMetaText::createXTextCursorByRange( return xCursor; } -rtl::Reference< SwXTextCursor > -SwXMetaText::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & xTextPosition) -{ - const rtl::Reference< SwXTextCursor > xCursor( createXTextCursor() ); - xCursor->gotoRange(xTextPosition, false); - return xCursor; -} - /** * the Meta has a cached list of text portions for its contents * this list is created by SwXTextPortionEnumeration diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 2b846993938a..2326dd007361 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -928,15 +928,6 @@ rtl::Reference<SwXTextCursor> SwXCell::createXTextCursorByRange(const uno::Refer return createXTextCursorByRangeImpl(aPam); } -rtl::Reference<SwXTextCursor> SwXCell::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & xTextPosition) -{ - SwUnoInternalPaM aPam(*GetDoc()); - if(!::sw::XTextRangeToSwPaM(aPam, xTextPosition)) - throw uno::RuntimeException(); - return createXTextCursorByRangeImpl(aPam); -} - rtl::Reference< SwXTextCursor > SwXCell::createXTextCursorByRangeImpl( SwUnoInternalPaM& rPam) { diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 7ed4b47a1004..fb229e586ca9 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -2463,16 +2463,6 @@ SwXBodyText::createXTextCursorByRange( return createXTextCursorByRangeImpl(aPam); } -rtl::Reference< SwXTextCursor > -SwXBodyText::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor > & xTextPosition) -{ - SwUnoInternalPaM aPam(*GetDoc()); - if (!::sw::XTextRangeToSwPaM(aPam, xTextPosition)) - throw uno::RuntimeException(); - return createXTextCursorByRangeImpl(aPam); -} - rtl::Reference< SwXTextCursor > SwXBodyText::createXTextCursorByRangeImpl( SwUnoInternalPaM& rPam) { @@ -2703,17 +2693,6 @@ rtl::Reference<SwXTextCursor> SwXHeadFootText::createXTextCursorByRange( return createXTextCursorByRangeImpl(aPam); } -rtl::Reference<SwXTextCursor> SwXHeadFootText::createXTextCursorByRange( - const rtl::Reference< SwXTextCursor >& xTextPosition) -{ - SwUnoInternalPaM aPam(*GetDoc()); - if (!sw::XTextRangeToSwPaM(aPam, xTextPosition)) - { - throw uno::RuntimeException(cInvalidObject); - } - return createXTextCursorByRangeImpl(aPam); -} - rtl::Reference< SwXTextCursor > SwXHeadFootText::createXTextCursorByRangeImpl( SwUnoInternalPaM& rPam) {