From 8fdf12f79ebcbb44bf58eaabdf7fe6c35ca87bf1 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 14 Jul 2015 22:56:18 +0200 Subject: [PATCH] sfx2: an almost unnoticable tweak to comment translation Change-Id: I7089b09c4497a2fc4cf8ca13ab098c747e565721 --- include/sfx2/hintpost.hxx | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/include/sfx2/hintpost.hxx b/include/sfx2/hintpost.hxx index da7563457b1e..f9950119eb02 100644 --- a/include/sfx2/hintpost.hxx +++ b/include/sfx2/hintpost.hxx @@ -23,25 +23,20 @@ #include - class SfxHint; +/** [Description] + This class allows sending unique events via VCL's + Application::PostUserEvent(). When the User-Event is dispatched, + the handler is called, which calls the Link provided with + SetEventHdl(). -class SfxHintPoster: public SvRefBase - -/* [Description] - - With instances of this class unique events per PostUserEvent can be sent - using the StarView-application. If the User-Event is triggered often, - the handler is called, the base implementation with the - line is making these link calls. - - The instance are held via Ref-Count at least as long as a possible sent - event has not arrived yet. Should be killed before the goal, before the - connection is SetEventHdl (GenLink ()) . + The instances are held via Ref-Count until a possibly sent + event has arrived. If the target dies before delivery, + the connection must be severed with SetEventHdl(GenLink()). */ - +class SfxHintPoster : public SvRefBase { GenLink aLink; @@ -59,8 +54,6 @@ public: void SetEventHdl( const GenLink& rLink ); }; - - typedef tools::SvRef SfxHintPosterRef; #endif