diff options
Diffstat (limited to 'vcl/source/edit')
-rw-r--r-- | vcl/source/edit/textdat2.hxx | 7 | ||||
-rw-r--r-- | vcl/source/edit/textund2.hxx | 12 | ||||
-rw-r--r-- | vcl/source/edit/textview.cxx | 10 |
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(); |