summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/charatr.hxx1
-rw-r--r--sw/source/core/bastyp/init.cxx2
-rw-r--r--sw/source/core/doc/dbgoutsw.cxx1
-rw-r--r--sw/source/core/text/inftxt.cxx21
-rw-r--r--sw/source/core/text/inftxt.hxx1
-rw-r--r--sw/source/ui/dialog/swdlgfact.cxx20
-rw-r--r--sw/source/ui/dialog/swdlgfact.hxx4
7 files changed, 0 insertions, 50 deletions
diff --git a/sw/inc/charatr.hxx b/sw/inc/charatr.hxx
index 3516772c2d82..9d90f2dfc3c5 100644
--- a/sw/inc/charatr.hxx
+++ b/sw/inc/charatr.hxx
@@ -31,7 +31,6 @@
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/fhgtitem.hxx>
-#include <editeng/prszitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/charsetcoloritem.hxx>
#include <editeng/escapementitem.hxx>
diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx
index 39d6c438dc79..409b36f05984 100644
--- a/sw/source/core/bastyp/init.cxx
+++ b/sw/source/core/bastyp/init.cxx
@@ -48,7 +48,6 @@
#include <editeng/lrspitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/nhypitem.hxx>
-#include <editeng/nlbkitem.hxx>
#include <editeng/opaqitem.hxx>
#include <editeng/orphitem.hxx>
#include <editeng/paravertalignitem.hxx>
@@ -56,7 +55,6 @@
#include <editeng/pgrditem.hxx>
#include <editeng/prntitem.hxx>
#include <editeng/protitem.hxx>
-#include <editeng/prszitem.hxx>
#include <editeng/rsiditem.hxx>
#include <svl/grabbagitem.hxx>
#include <editeng/scriptspaceitem.hxx>
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index 61038ff3d98c..ac12245bfd95 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -19,7 +19,6 @@
#ifdef DBG_UTIL
-#include <editeng/nlbkitem.hxx>
#include <rtl/ustring.hxx>
#include <svl/poolitem.hxx>
#include <svl/itemiter.hxx>
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index ba8e4746fed9..e8802b73eb08 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1324,27 +1324,6 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
}
}
-void SwTextPaintInfo::NotifyURL_( const SwLinePortion &rPor ) const
-{
- OSL_ENSURE( pNoteURL, "NotifyURL: pNoteURL gone with the wind!" );
-
- SwRect aIntersect;
- CalcRect( rPor, nullptr, &aIntersect );
-
- if( aIntersect.HasArea() )
- {
- SwTextNode *pNd = const_cast<SwTextNode*>(GetTextFrame()->GetTextNode());
- SwTextAttr *const pAttr =
- pNd->GetTextAttrAt(GetIdx(), RES_TXTATR_INETFMT);
- if( pAttr )
- {
- const SwFormatINetFormat& rFormat = pAttr->GetINetFormat();
- pNoteURL->InsertURLNote( rFormat.GetValue(), rFormat.GetTargetFrame(),
- aIntersect );
- }
- }
-}
-
static void lcl_InitHyphValues( PropertyValues &rVals,
sal_Int16 nMinLeading, sal_Int16 nMinTrailing )
{
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index c8ed80689ec7..78a896f9f231 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -369,7 +369,6 @@ class SwTextPaintInfo : public SwTextSizeInfo
const bool bGrammarCheck = false );
SwTextPaintInfo &operator=(const SwTextPaintInfo&) = delete;
- void NotifyURL_( const SwLinePortion &rPor ) const;
protected:
SwTextPaintInfo()
diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx
index 03fe0e5caa7b..92ee1da54e64 100644
--- a/sw/source/ui/dialog/swdlgfact.cxx
+++ b/sw/source/ui/dialog/swdlgfact.cxx
@@ -149,11 +149,6 @@ void AbstractTabDialog_Impl::SetText( const OUString& rStr )
pDlg->SetText( rStr );
}
-OUString AbstractTabDialog_Impl::GetText() const
-{
- return pDlg->GetText();
-}
-
IMPL_LINK_NOARG(AbstractApplyTabDialog_Impl, ApplyHdl, Button*, void)
{
if (pDlg->Apply())
@@ -186,11 +181,6 @@ void SwAbstractSfxDialog_Impl::SetText( const OUString& rStr )
pDlg->SetText( rStr );
}
-OUString SwAbstractSfxDialog_Impl::GetText() const
-{
- return pDlg->GetText();
-}
-
void AbstractSwAsciiFilterDlg_Impl::FillOptions( SwAsciiOptions& rOptions )
{
pDlg->FillOptions(rOptions);
@@ -280,11 +270,6 @@ void AbstractSwLabDlg_Impl::SetText( const OUString& rStr )
pDlg->SetText( rStr );
}
-OUString AbstractSwLabDlg_Impl::GetText() const
-{
- return pDlg->GetText();
-}
-
const OUString& AbstractSwLabDlg_Impl::GetBusinessCardStr() const
{
return pDlg->GetBusinessCardStr();
@@ -345,11 +330,6 @@ void AbstractSwFieldDlg_Impl::SetText( const OUString& rStr )
pDlg->SetText( rStr );
}
-OUString AbstractSwFieldDlg_Impl::GetText() const
-{
- return pDlg->GetText();
-}
-
void AbstractSwFieldDlg_Impl::Start()
{
pDlg->Start();
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index b58df847a849..1932db3eeba5 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -87,7 +87,6 @@ class SwAbstractSfxDialog_Impl :public SfxAbstractDialog
DECL_ABSTDLG_BASE(SwAbstractSfxDialog_Impl,SfxModalDialog)
virtual const SfxItemSet* GetOutputItemSet() const override;
virtual void SetText( const OUString& rStr ) override;
- virtual OUString GetText() const override;
};
class AbstractSwAsciiFilterDlg_Impl : public AbstractSwAsciiFilterDlg
@@ -126,7 +125,6 @@ class AbstractTabDialog_Impl : virtual public SfxAbstractTabDialog
virtual void SetInputSet( const SfxItemSet* pInSet ) override;
//From class Window.
virtual void SetText( const OUString& rStr ) override;
- virtual OUString GetText() const override;
};
class AbstractApplyTabDialog_Impl : public AbstractTabDialog_Impl, virtual public SfxAbstractApplyTabDialog
@@ -177,7 +175,6 @@ class AbstractSwLabDlg_Impl : public AbstractSwLabDlg
virtual void SetInputSet( const SfxItemSet* pInSet ) override;
//From class Window.
virtual void SetText( const OUString& rStr ) override;
- virtual OUString GetText() const override;
virtual const OUString& GetBusinessCardStr() const override;
virtual Printer *GetPrt() override;
};
@@ -206,7 +203,6 @@ class AbstractSwFieldDlg_Impl : public AbstractSwFieldDlg
virtual void SetInputSet( const SfxItemSet* pInSet ) override;
//From class Window.
virtual void SetText( const OUString& rStr ) override;
- virtual OUString GetText() const override;
virtual void Start() override; //this method from SfxTabDialog
virtual void ShowReferencePage() override;
virtual void Initialize(SfxChildWinInfo *pInfo) override;