diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-05-24 17:17:30 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-25 14:35:17 -0500 |
commit | 04f31d13c5813f6ce1e3076c4e987ffb8fafb9b3 (patch) | |
tree | 80da561a4cf0f35eee8aeaa3cdb2166789b76364 /forms/source/richtext | |
parent | fdo#78833 Update AllLangPackage_autotestshare.mk (diff) | |
download | core-04f31d13c5813f6ce1e3076c4e987ffb8fafb9b3.tar.gz core-04f31d13c5813f6ce1e3076c4e987ffb8fafb9b3.zip |
Remove ASCII art, useless comments and whitespace from forms module
Change-Id: Ib6157a493092a137a6b0bf5b96d0e760d307f9da
Reviewed-on: https://gerrit.libreoffice.org/9472
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source/richtext')
25 files changed, 0 insertions, 198 deletions
diff --git a/forms/source/richtext/attributedispatcher.cxx b/forms/source/richtext/attributedispatcher.cxx index 4ece5ca27040..e6493b92519d 100644 --- a/forms/source/richtext/attributedispatcher.cxx +++ b/forms/source/richtext/attributedispatcher.cxx @@ -32,10 +32,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; - - //= OAttributeDispatcher - - OAttributeDispatcher::OAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :ORichTextFeatureDispatcher( _rView, _rURL ) diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index c212529a97f9..d1010f4f91ed 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -27,10 +27,6 @@ namespace frm { - - - //= OAttributeDispatcher - class OAttributeDispatcher :public ORichTextFeatureDispatcher ,public ITextAttributeListener { diff --git a/forms/source/richtext/clipboarddispatcher.cxx b/forms/source/richtext/clipboarddispatcher.cxx index e6f9d80997e8..05a28cc962b9 100644 --- a/forms/source/richtext/clipboarddispatcher.cxx +++ b/forms/source/richtext/clipboarddispatcher.cxx @@ -57,10 +57,6 @@ namespace frm } } - - //= OClipboardDispatcher - - OClipboardDispatcher::OClipboardDispatcher( EditView& _rView, ClipboardFunc _eFunc ) :ORichTextFeatureDispatcher( _rView, createClipboardURL( _eFunc ) ) ,m_eFunc( _eFunc ) @@ -132,10 +128,6 @@ namespace frm } } - - //= OPasteClipboardDispatcher - - OPasteClipboardDispatcher::OPasteClipboardDispatcher( EditView& _rView ) :OClipboardDispatcher( _rView, ePaste ) ,m_pClipListener( NULL ) diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 76fe0f2ce577..16de754ea20c 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -29,10 +29,6 @@ class TransferableDataHelper; namespace frm { - - - //= OClipboardDispatcher - class OClipboardDispatcher : public ORichTextFeatureDispatcher { public: @@ -66,9 +62,6 @@ namespace frm virtual bool implIsEnabled( ) const; }; - - //= OPasteClipboardDispatcher - class OPasteClipboardDispatcher : public OClipboardDispatcher { private: diff --git a/forms/source/richtext/featuredispatcher.cxx b/forms/source/richtext/featuredispatcher.cxx index 7c018bc0db2e..2c096bfc478e 100644 --- a/forms/source/richtext/featuredispatcher.cxx +++ b/forms/source/richtext/featuredispatcher.cxx @@ -29,10 +29,6 @@ namespace frm using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; - - //= ORichTextFeatureDispatcher - - ORichTextFeatureDispatcher::ORichTextFeatureDispatcher( EditView& _rView, const URL& _rURL ) :m_aFeatureURL( _rURL ) ,m_aStatusListeners( m_aMutex ) diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index 485b8ae8c120..c92cb8d386c8 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -31,10 +31,6 @@ class EditView; namespace frm { - - - //= ORichTextFeatureDispatcher - typedef ::cppu::WeakImplHelper1 < ::com::sun::star::frame::XDispatch > ORichTextFeatureDispatcher_Base; diff --git a/forms/source/richtext/parametrizedattributedispatcher.cxx b/forms/source/richtext/parametrizedattributedispatcher.cxx index ee8951545960..b90da3285617 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.cxx +++ b/forms/source/richtext/parametrizedattributedispatcher.cxx @@ -38,10 +38,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; - - //= OParametrizedAttributeDispatcher - - OParametrizedAttributeDispatcher::OParametrizedAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) { diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 7f2827cd0d4b..1724e1b85060 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -27,10 +27,6 @@ class SfxPoolItem; namespace frm { - - - //= OParametrizedAttributeDispatcher - class OParametrizedAttributeDispatcher :public OAttributeDispatcher { public: diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 6a5d98c43507..60ec1f6bf2a2 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -75,10 +75,6 @@ namespace frm } \ return aReturn; - - // ORichTextControl - - ORichTextControl::ORichTextControl() :UnoEditControl() { diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index e6853916d8db..49da4ca397bc 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -37,12 +37,8 @@ namespace frm { - class ORichTextFeatureDispatcher; - - // ORichTextControl - typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider > ORichTextControl_Base; class ORichTextControl :public UnoEditControl @@ -83,9 +79,6 @@ namespace frm virtual bool requiresNewPeer( const OUString& _rPropertyName ) const SAL_OVERRIDE; }; - - // ORichTextPeer - typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider > ORichTextPeer_Base; class ORichTextPeer :public VCLXWindow diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index d05dc54a7446..c0ff8bd140b9 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -30,10 +30,6 @@ class EditStatus; namespace frm { - - - //= IEngineStatusListener - class IEngineStatusListener { public: @@ -43,9 +39,6 @@ namespace frm ~IEngineStatusListener() {} }; - - //= RichTextEngine - class RichTextEngine : public EditEngine { private: diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index f670701a1d58..2bae5a457e66 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -41,10 +41,6 @@ namespace frm { - - //= RichTextControlImpl - - RichTextControlImpl::RichTextControlImpl( Control* _pAntiImpl, RichTextEngine* _pEngine, ITextAttributeListener* _pTextAttrListener, ITextSelectionListener* _pSelectionListener ) :m_pAntiImpl ( _pAntiImpl ) ,m_pViewport ( NULL ) diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index bd2126fcb009..3795a49ac11b 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -40,8 +40,6 @@ namespace frm class ITextSelectionListener; class RichTextViewPort; - //= RichTextControlImpl - class RichTextControlImpl : public IEngineStatusListener { typedef ::std::map< AttributeId, AttributeState > StateCache; diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index c57adee3afb1..3e3f149bf1d2 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -55,10 +55,6 @@ namespace frm namespace WritingMode2 = ::com::sun::star::text::WritingMode2; - - //= ORichTextModel - - ORichTextModel::ORichTextModel( const Reference< XComponentContext >& _rxFactory ) :OControlModel ( _rxFactory, OUString() ) ,FontControlModel ( true ) diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx index cd81e794f026..d6ab326d1d1b 100644 --- a/forms/source/richtext/richtextunowrapper.cxx +++ b/forms/source/richtext/richtextunowrapper.cxx @@ -58,10 +58,6 @@ namespace frm } } - - //= ORichTextUnoWrapper - - ORichTextUnoWrapper::ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ) :SvxUnoText( getTextEnginePropertySet() ) { @@ -73,10 +69,6 @@ namespace frm { } - - //= RichTextEditSource - - RichTextEditSource::RichTextEditSource( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ) :m_rEngine ( _rEngine ) ,m_pTextForwarder ( new SvxEditEngineForwarder( _rEngine ) ) diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 95c2c1ea4cbc..73d185c181e3 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -27,10 +27,6 @@ namespace frm { - - - //= IEngineTextChangeListener - class IEngineTextChangeListener { public: @@ -40,9 +36,6 @@ namespace frm ~IEngineTextChangeListener() {} }; - - //= ORichTextUnoWrapper - class ORichTextUnoWrapper : public SvxUnoText { public: @@ -58,9 +51,6 @@ namespace frm ORichTextUnoWrapper& operator=( const ORichTextUnoWrapper& ); // never implemented }; - - //= RichTextEditSource - class RichTextEditSource : public SvxEditSource { private: diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index 22808dad85c5..5adea77205e9 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -38,10 +38,8 @@ #include <editeng/editids.hrc> #include <svx/svxids.hrc> - namespace frm { - //= RichTextControl RichTextControl::RichTextControl( RichTextEngine* _pEngine, Window* _pParent, WinBits _nStyle, ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener ) diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index 139239772b59..2c1ab680a3bf 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -34,12 +34,9 @@ class SfxItemSet; namespace frm { - class RichTextControlImpl; class RichTextEngine; - //= RichTextControl - class RichTextControl : public Control, public IMultiAttributeDispatcher { private: diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx index f65460014ff4..18a7d66e3c37 100644 --- a/forms/source/richtext/richtextviewport.cxx +++ b/forms/source/richtext/richtextviewport.cxx @@ -24,11 +24,6 @@ namespace frm { - - - //= RichTextViewPort - - RichTextViewPort::RichTextViewPort( Window* _pParent ) :Control ( _pParent ) ,m_pView(NULL) diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx index 4d377dbc6dcb..b33a5e798113 100644 --- a/forms/source/richtext/richtextviewport.hxx +++ b/forms/source/richtext/richtextviewport.hxx @@ -26,10 +26,6 @@ class EditView; namespace frm { - - - //= RichTextViewPort - class RichTextViewPort : public Control { private: diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx index 486a5bb3fbef..7a335567eb4b 100644 --- a/forms/source/richtext/rtattributehandler.cxx +++ b/forms/source/richtext/rtattributehandler.cxx @@ -59,10 +59,6 @@ namespace frm { } - - //= AttributeHandler - - AttributeHandler::AttributeHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :m_nAttribute( _nAttributeId ) ,m_nWhich ( _nWhichId ) @@ -199,10 +195,6 @@ namespace frm return pReturn; } - - //= ParaAlignmentHandler - - ParaAlignmentHandler::ParaAlignmentHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_JUST ) ,m_eAdjust( SVX_ADJUST_CENTER ) @@ -235,10 +227,6 @@ namespace frm _rNewAttribs.Put( SvxAdjustItem( m_eAdjust, getWhich() ) ); } - - //= LineSpacingHandler - - LineSpacingHandler::LineSpacingHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_SBL ) ,m_nLineSpace( 100 ) @@ -278,10 +266,6 @@ namespace frm _rNewAttribs.Put( aLineSpacing ); } - - //= EscapementHandler - - EscapementHandler::EscapementHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_CHAR_ESCAPEMENT ) ,m_eEscapement( SVX_ESCAPEMENT_OFF ) @@ -315,10 +299,6 @@ namespace frm _rNewAttribs.Put( SvxEscapementItem( bIsChecked ? SVX_ESCAPEMENT_OFF : m_eEscapement, getWhich() ) ); } - - //= SlotHandler - - SlotHandler::SlotHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) ,m_bScriptDependent( false ) @@ -358,10 +338,6 @@ namespace frm OSL_FAIL( "SlotHandler::executeAttribute: need attributes to do something!" ); } - - //= FontSizeHandler - - FontSizeHandler::FontSizeHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) { @@ -429,10 +405,6 @@ namespace frm } } - - //= ParagraphDirectionHandler - - ParagraphDirectionHandler::ParagraphDirectionHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR ) ,m_eParagraphDirection( FRMDIR_HORI_LEFT_TOP ) @@ -477,10 +449,6 @@ namespace frm _rNewAttribs.Put( SvxAdjustItem( m_eDefaultAdjustment, EE_PARA_JUST ) ); } - - //= BooleanHandler - - BooleanHandler::BooleanHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) { diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index 5199c25469c8..9cbc60e33bce 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -32,10 +32,6 @@ class SfxItemPool; namespace frm { - - - //= ReferenceBase - class ReferenceBase : public ::rtl::IReference { protected: @@ -50,9 +46,6 @@ namespace frm virtual ~ReferenceBase(); }; - - //= IAttributeHandler - class IAttributeHandler : public ::rtl::IReference { public: @@ -64,9 +57,6 @@ namespace frm ~IAttributeHandler() {} }; - - //= AttributeHandler - class AttributeHandler :public ReferenceBase ,public IAttributeHandler { @@ -104,9 +94,6 @@ namespace frm virtual ~AttributeHandler(); }; - - //= AttributeHandlerFactory - class AttributeHandlerFactory { public: @@ -119,9 +106,6 @@ namespace frm ~AttributeHandlerFactory(); // never implemented }; - - //= ParaAlignmentHandler - class ParaAlignmentHandler : public AttributeHandler { private: @@ -135,9 +119,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= LineSpacingHandler - class LineSpacingHandler : public AttributeHandler { private: @@ -151,9 +132,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= EscapementHandler - class EscapementHandler : public AttributeHandler { private: @@ -167,9 +145,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= SlotHandler - class SlotHandler : public AttributeHandler { private: @@ -183,9 +158,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= BooleanHandler - class BooleanHandler : public AttributeHandler { public: @@ -196,9 +168,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= FontSizeHandler - class FontSizeHandler : public AttributeHandler { public: @@ -209,9 +178,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= ParagraphDirectionHandler - class ParagraphDirectionHandler : public AttributeHandler { private: diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx index 85f6b8fd81d8..bc288a949371 100644 --- a/forms/source/richtext/specialdispatchers.cxx +++ b/forms/source/richtext/specialdispatchers.cxx @@ -34,10 +34,6 @@ namespace frm using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; - - //= OSelectAllDispatcher - - OSelectAllDispatcher::OSelectAllDispatcher( EditView& _rView, const URL& _rURL ) :ORichTextFeatureDispatcher( _rView, _rURL ) { @@ -86,10 +82,6 @@ namespace frm return aEvent; } - - //= OParagraphDirectionDispatcher - - OParagraphDirectionDispatcher::OParagraphDirectionDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) @@ -109,10 +101,6 @@ namespace frm return aEvent; } - - //= OTextDirectionDispatcher - - OTextDirectionDispatcher::OTextDirectionDispatcher( EditView& _rView, const URL& _rURL ) :ORichTextFeatureDispatcher( _rView, _rURL ) { @@ -149,10 +137,6 @@ namespace frm return aEvent; } - - //= OAsianFontLayoutDispatcher - - OAsianFontLayoutDispatcher::OAsianFontLayoutDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OParametrizedAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) { diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index 69bccf64b81f..d3c02cc92abf 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= OSelectAllDispatcher - class OSelectAllDispatcher : public ORichTextFeatureDispatcher { public: @@ -47,9 +43,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OParagraphDirectionDispatcher - class OParagraphDirectionDispatcher : public OAttributeDispatcher { public: @@ -65,9 +58,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OTextDirectionDispatcher - class OTextDirectionDispatcher : public ORichTextFeatureDispatcher { public: @@ -81,9 +71,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OAsianFontLayoutDispatcher - class OAsianFontLayoutDispatcher : public OParametrizedAttributeDispatcher { public: diff --git a/forms/source/richtext/textattributelistener.hxx b/forms/source/richtext/textattributelistener.hxx index 339ec893d002..0593c49968ef 100644 --- a/forms/source/richtext/textattributelistener.hxx +++ b/forms/source/richtext/textattributelistener.hxx @@ -26,10 +26,6 @@ struct ESelection; namespace frm { - - - //= ITextAttributeListener - class ITextAttributeListener { public: |