Kaydet (Commit) 8fdf12f7 authored tarafından Michael Stahl's avatar Michael Stahl

sfx2: an almost unnoticable tweak to comment translation

Change-Id: I7089b09c4497a2fc4cf8ca13ab098c747e565721
üst 097292fe
...@@ -23,25 +23,20 @@ ...@@ -23,25 +23,20 @@
#include <tools/ref.hxx> #include <tools/ref.hxx>
class SfxHint; class SfxHint;
/** [Description]
This class allows sending unique events via VCL's
Application::PostUserEvent(). When the User-Event is dispatched,
the handler <Event()> is called, which calls the Link provided with
SetEventHdl().
class SfxHintPoster: public SvRefBase The instances are held via Ref-Count until a possibly sent
event has arrived. If the target dies before delivery,
/* [Description] the connection must be severed with SetEventHdl(GenLink()).
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 <Event()> is called, the base implementation with the
<SetEventHdl()> 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 ()) .
*/ */
class SfxHintPoster : public SvRefBase
{ {
GenLink aLink; GenLink aLink;
...@@ -59,8 +54,6 @@ public: ...@@ -59,8 +54,6 @@ public:
void SetEventHdl( const GenLink& rLink ); void SetEventHdl( const GenLink& rLink );
}; };
typedef tools::SvRef<SfxHintPoster> SfxHintPosterRef; typedef tools::SvRef<SfxHintPoster> SfxHintPosterRef;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment