summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-21 15:35:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-21 17:12:49 +0200
commitbe42330ae276219dee5b7ed3c7625f8da6121d1d (patch)
tree1727c2bedae05dce9d065aed7f2f6cde78b293cf /include/editeng
parent9775a3715498183ae6f5118fbaee1c5d488b6dc6 (diff)
Base class ctors/dtors can be protected
Change-Id: I8b68b78042a980850d71a0f67ec520986d6085e4
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/unotext.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index dd56df80641d..90f58454e12b 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -278,12 +278,12 @@ protected:
virtual void getPropertyValue( const SfxItemPropertySimpleEntry* pMap, com::sun::star::uno::Any& rAny, const SfxItemSet& rSet ) throw(::com::sun::star::beans::UnknownPropertyException );
virtual void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const com::sun::star::uno::Any& rValue, const ESelection& rSelection, const SfxItemSet& rOldSet, SfxItemSet& rNewSet ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException );
-public:
SvxUnoTextRangeBase( const SvxItemPropertySet* _pSet ) throw();
SvxUnoTextRangeBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw();
SvxUnoTextRangeBase( const SvxUnoTextRangeBase& rRange ) throw();
virtual ~SvxUnoTextRangeBase() throw();
+public:
// Internal
const ESelection& GetSelection() const throw() { CheckSelection( ((SvxUnoTextRangeBase*)this)->maSelection, mpEditSource->GetTextForwarder() ); return maSelection; };
void SetSelection( const ESelection& rSelection ) throw();
@@ -394,13 +394,13 @@ class EDITENG_DLLPUBLIC SvxUnoTextBase : public SvxUnoTextRangeBase,
protected:
::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParentText;
-public:
SvxUnoTextBase( ) throw();
SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw();
SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, ::com::sun::star::uno::Reference < ::com::sun::star::text::XText > xParent ) throw();
SvxUnoTextBase( const SvxUnoTextBase& rText ) throw();
virtual ~SvxUnoTextBase() throw();
+public:
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase )
ESelection InsertField( const SvxFieldItem& rField ) throw();