This patch removes bogus comments found in the envimg.cxx file
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/envelp/envimg.cxx | 21 ++++-----------------
1 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/sw/source/ui/envelp/envimg.cxx b/sw/source/ui/envelp/envimg.cxx
index 118e31d..e79f3eb 100644
--- a/sw/source/ui/envelp/envimg.cxx
+++ b/sw/source/ui/envelp/envimg.cxx
@@ -60,7 +60,6 @@ using namespace ::com::sun::star::uno;
TYPEINIT1_AUTOFACTORY( SwEnvItem, SfxPoolItem );
-// --------------------------------------------------------------------------
SW_DLLPUBLIC String MakeSender()
{
SvtUserOptions& rUserOpt = SW_MOD()->GetUserOptions();
@@ -103,7 +102,7 @@ SW_DLLPUBLIC String MakeSender()
}
return sRet;
}
-// --------------------------------------------------------------------------
+
SwEnvItem::SwEnvItem() :
SfxPoolItem(FN_ENVELOP)
{
@@ -123,7 +122,7 @@ SwEnvItem::SwEnvItem() :
lAddrFromLeft = Max(lWidth, lHeight) / 2;
lAddrFromTop = Min(lWidth, lHeight) / 2;
}
-// --------------------------------------------------------------------------
+
SwEnvItem::SwEnvItem(const SwEnvItem& rItem) :
SfxPoolItem(FN_ENVELOP),
aAddrText (rItem.aAddrText),
@@ -142,7 +141,6 @@ SwEnvItem::SwEnvItem(const SwEnvItem& rItem) :
{
}
-// --------------------------------------------------------------------------
SwEnvItem& SwEnvItem::operator =(const SwEnvItem& rItem)
{
aAddrText = rItem.aAddrText;
@@ -160,7 +158,7 @@ SwEnvItem& SwEnvItem::operator =(const SwEnvItem& rItem)
lShiftDown = rItem.lShiftDown;
return *this;
}
-// --------------------------------------------------------------------------
+
int SwEnvItem::operator ==(const SfxPoolItem& rItem) const
{
const SwEnvItem& rEnv = (const SwEnvItem&) rItem;
@@ -180,13 +178,11 @@ int SwEnvItem::operator ==(const SfxPoolItem& rItem) const
lShiftDown == rEnv.lShiftDown;
}
-// --------------------------------------------------------------------------
SfxPoolItem* SwEnvItem::Clone(SfxItemPool*) const
{
return new SwEnvItem(*this);
}
-// --------------------------------------------------------------------------
-// --------------------------------------------------------------------------
+
SwEnvCfgItem::SwEnvCfgItem() :
ConfigItem(C2U("Office.Writer/Envelope"))
{
@@ -249,15 +245,11 @@ SwEnvCfgItem::SwEnvCfgItem() :
}
}
}
-/* -----------------------------26.09.00 14:04--------------------------------
- ---------------------------------------------------------------------------*/
SwEnvCfgItem::~SwEnvCfgItem()
{
}
-/* -----------------------------26.09.00 14:05--------------------------------
- ---------------------------------------------------------------------------*/
void SwEnvCfgItem::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -289,9 +281,6 @@ void SwEnvCfgItem::Commit()
void SwEnvCfgItem::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-/* -----------------------------26.09.00 14:04--------------------------------
-
- ---------------------------------------------------------------------------*/
Sequence<rtl::OUString> SwEnvCfgItem::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -342,9 +331,7 @@ bool SwEnvItem::QueryValue( Any& rVal, BYTE nMemberId ) const
}
return bRet;
}
-/* -----------------------------26.04.01 12:26--------------------------------
- ---------------------------------------------------------------------------*/
bool SwEnvItem::PutValue(const Any& rVal, BYTE nMemberId)
{
bool bRet = false;
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.