summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 14:30:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-20 08:07:53 +0000
commit72edb6967f245f0c99c6a61e0ce8d0a245600cba (patch)
tree5608bc1243477801e747735d8b71ec42fbb01e86 /vcl/source/edit
parentaad5eced795c60f873b67fe97baeefb9ef1bfef8 (diff)
loplugin:unusedmethods in vcl
also drops the CairoFontsCache ref-counting, since nothing was actually using it. Change-Id: If05ecb054b6b8d97b0d3010185cf23c28390ec04 Reviewed-on: https://gerrit.libreoffice.org/25105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/textdat2.hxx7
-rw-r--r--vcl/source/edit/textund2.hxx12
-rw-r--r--vcl/source/edit/textview.cxx10
3 files changed, 0 insertions, 29 deletions
diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx
index 2788d3696f7d..6a09fa8e4fac 100644
--- a/vcl/source/edit/textdat2.hxx
+++ b/vcl/source/edit/textdat2.hxx
@@ -52,13 +52,6 @@ private:
sal_uInt8 nKind;
bool bRightToLeft;
- TETextPortion()
- : nLen {0}
- , nWidth {-1}
- , nKind {PORTIONKIND_TEXT}
- , bRightToLeft {false}
- {}
-
public:
TETextPortion( sal_Int32 nL )
: nLen {nL}
diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx
index 786402c4daf9..bcb44bbf34b7 100644
--- a/vcl/source/edit/textund2.hxx
+++ b/vcl/source/edit/textund2.hxx
@@ -103,18 +103,6 @@ public:
virtual OUString GetComment () const override;
};
-class TextUndoSetAttribs: public TextUndo
-{
-public:
- TextUndoSetAttribs( TextEngine* pTextEngine, const TextSelection& rESel );
- virtual ~TextUndoSetAttribs();
-
- virtual void Undo() override;
- virtual void Redo() override;
-
- virtual OUString GetComment () const override;
-};
-
#endif // INCLUDED_VCL_SOURCE_EDIT_TEXTUND2_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index a033c6b871b7..732651ecd3ef 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -475,16 +475,6 @@ void TextView::ImpShowHideSelection(bool /*bShow*/, const TextSelection* pRange)
}
}
-VirtualDevice* TextView::GetVirtualDevice()
-{
- if ( !mpImpl->mpVirtDev )
- {
- mpImpl->mpVirtDev = VclPtr<VirtualDevice>::Create();
- mpImpl->mpVirtDev->SetLineColor();
- }
- return mpImpl->mpVirtDev;
-}
-
void TextView::EraseVirtualDevice()
{
mpImpl->mpVirtDev.disposeAndClear();