Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index



This patch removes bogus comments found in the fontcfg.cxx file

Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
 sw/source/ui/config/fontcfg.cxx |   27 ++-------------------------
 1 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/sw/source/ui/config/fontcfg.cxx b/sw/source/ui/config/fontcfg.cxx
index 89e7f14..80a179f 100644
--- a/sw/source/ui/config/fontcfg.cxx
+++ b/sw/source/ui/config/fontcfg.cxx
@@ -28,7 +28,6 @@
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_sw.hxx"
 
-
 #include <fontcfg.hxx>
 #include <i18npool/mslangid.hxx>
 #include <vcl/outdev.hxx>
@@ -44,18 +43,13 @@ using namespace utl;
 using rtl::OUString;
 using namespace com::sun::star::uno;
 
-/* -----------------07.10.2002 12:15-----------------
- *
- * --------------------------------------------------*/
 inline LanguageType lcl_LanguageOfType(sal_Int16 nType, sal_Int16 eWestern, sal_Int16 eCJK, 
sal_Int16 eCTL)
 {
     return LanguageType(
                 nType < FONT_STANDARD_CJK ? eWestern :
                     nType >= FONT_STANDARD_CTL ? eCTL : eCJK);
 }
-/* -----------------------------08.09.00 15:52--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence<OUString> SwStdFontConfig::GetPropertyNames()
 {
     Sequence<OUString> aNames;
@@ -104,9 +98,6 @@ Sequence<OUString> SwStdFontConfig::GetPropertyNames()
     }
     return aNames;
 }
-/*-----------------03.09.96 15.00-------------------
-
---------------------------------------------------*/
 
 SwStdFontConfig::SwStdFontConfig() :
     utl::ConfigItem(C2U("Office.Writer"))
@@ -151,9 +142,7 @@ SwStdFontConfig::SwStdFontConfig() :
         }
     }
 }
-/* -----------------------------08.09.00 15:58--------------------------------
 
- ---------------------------------------------------------------------------*/
 void   SwStdFontConfig::Commit()
 {
     Sequence<OUString> aNames = GetPropertyNames();
@@ -184,14 +173,11 @@ void      SwStdFontConfig::Commit()
     }
     PutProperties(aNames, aValues);
 }
-/* -----------------------------08.09.00 15:56--------------------------------
 
- ---------------------------------------------------------------------------*/
 SwStdFontConfig::~SwStdFontConfig()
-{}
-/*-----------------18.01.97 10.05-------------------
+{
+}
 
---------------------------------------------------*/
 BOOL SwStdFontConfig::IsFontDefault(USHORT nFontType) const
 {
     BOOL bSame = sal_False;
@@ -291,9 +277,6 @@ String  SwStdFontConfig::GetDefaultFor(USHORT nFontType, LanguageType eLang)
     return  aFont.GetName();
 }
 
-/*-- 11.10.2005 10:43:43---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 sal_Int32 SwStdFontConfig::GetDefaultHeightFor(USHORT nFontType, LanguageType eLang)
 {
     sal_Int32 nRet = FONTSIZE_DEFAULT;
@@ -315,9 +298,6 @@ sal_Int32 SwStdFontConfig::GetDefaultHeightFor(USHORT nFontType, LanguageType eL
     return nRet;
 }
 
-/*-- 11.10.2005 10:50:06---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 void SwStdFontConfig::ChangeInt( USHORT nFontType, sal_Int32 nHeight )
 {
     DBG_ASSERT( nFontType < DEF_FONT_COUNT, "invalid index in SwStdFontConfig::ChangInt()");
@@ -346,9 +326,6 @@ void SwStdFontConfig::ChangeInt( USHORT nFontType, sal_Int32 nHeight )
     }
 }
 
-/*-- 08.11.2005 14:18:26---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 sal_Int32 SwStdFontConfig::GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType 
eLang )
 {
     DBG_ASSERT(nFont + FONT_PER_GROUP * nScriptType < DEF_FONT_COUNT, "wrong index in 
SwStdFontConfig::GetFontHeight()");

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.