This patch removes bogus comments found in the tmplctrl.cxx file
Signed-off-by: Prashant Shah <[email protected]>
---
sw/source/ui/utlui/tmplctrl.cxx | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/sw/source/ui/utlui/tmplctrl.cxx b/sw/source/ui/utlui/tmplctrl.cxx
index 2c7c9ef..91eeb97 100644
--- a/sw/source/ui/utlui/tmplctrl.cxx
+++ b/sw/source/ui/utlui/tmplctrl.cxx
@@ -28,9 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-// include ---------------------------------------------------------------
-
-
#include <svl/style.hxx>
#include <vcl/menu.hxx>
#include <svl/stritem.hxx>
@@ -47,7 +44,6 @@
// STATIC DATA -----------------------------------------------------------
-
SFX_IMPL_STATUSBAR_CONTROL( SwTemplateControl, SfxStringItem );
// class TemplatePopup_Impl --------------------------------------------------
@@ -65,16 +61,12 @@ private:
virtual void Select();
};
-// -----------------------------------------------------------------------
-
TemplatePopup_Impl::TemplatePopup_Impl() :
PopupMenu(),
nCurId(USHRT_MAX)
{
}
-// -----------------------------------------------------------------------
-
void TemplatePopup_Impl::Select()
{
nCurId = GetCurItemId();
@@ -89,14 +81,10 @@ SwTemplateControl::SwTemplateControl( USHORT _nSlotId,
{
}
-// -----------------------------------------------------------------------
-
SwTemplateControl::~SwTemplateControl()
{
}
-// -----------------------------------------------------------------------
-
void SwTemplateControl::StateChanged(
USHORT /*nSID*/, SfxItemState eState, const SfxPoolItem* pState )
{
@@ -109,15 +97,11 @@ void SwTemplateControl::StateChanged(
}
}
-// -----------------------------------------------------------------------
-
void SwTemplateControl::Paint( const UserDrawEvent& )
{
GetStatusBar().SetItemText( GetId(), sTemplate );
}
-// -----------------------------------------------------------------------
-
void SwTemplateControl::Command( const CommandEvent& rCEvt )
{
if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU &&
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice