[Libreoffice-commits] .: 2 commits - svtools/inc svtools/source unotools/inc unotools/source vcl/source
J Graeme Lingard
jgraeme at kemper.freedesktop.org
Sat Nov 13 10:09:51 PST 2010
svtools/inc/apearcfg.hxx | 3 -
svtools/source/config/apearcfg.cxx | 26 ---------
svtools/source/config/htmlcfg.cxx | 10 ---
svtools/source/control/svxbox.cxx | 4 -
unotools/inc/unotools/misccfg.hxx | 3 -
unotools/source/config/confignode.cxx | 3 -
unotools/source/config/configvaluecontainer.cxx | 63 ------------------------
unotools/source/config/misccfg.cxx | 16 ------
vcl/source/control/button.cxx | 3 -
9 files changed, 1 insertion(+), 130 deletions(-)
New commits:
commit 6133c8a44085f7a90ae7db299bb5016767c586a9
Author: J. Graeme Lingard <jgraeme+git at gmail.com>
Date: Sat Nov 13 18:01:41 2010 +0000
Remove unused dated comments
diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx
index 04f7786..b44dfe2 100644
--- a/svtools/source/config/htmlcfg.cxx
+++ b/svtools/source/config/htmlcfg.cxx
@@ -390,10 +390,6 @@ void SvxHtmlOptions::SetSaveGraphicsLocal(BOOL bSet)
SetModified();
}
-/*-----------------10/21/97 08:34am-----------------
-
---------------------------------------------------*/
-
BOOL SvxHtmlOptions::IsPrintLayoutExtension() const
{
BOOL bRet = 0 != (pImp->nFlags & HTMLCFG_PRINT_LAYOUT_EXTENSION);
@@ -408,9 +404,7 @@ BOOL SvxHtmlOptions::IsPrintLayoutExtension() const
}
return bRet;
}
-/*-----------------10/21/97 08:34am-----------------
---------------------------------------------------*/
void SvxHtmlOptions::SetPrintLayoutExtension(BOOL bSet)
{
if(bSet)
@@ -477,15 +471,11 @@ SvxHtmlOptions* SvxHtmlOptions::Get()
return pOptions;
}
-
-/* ---------------------- 2006-06-07T21:02+0200 ---------------------- */
BOOL SvxHtmlOptions::IsNumbersEnglishUS() const
{
return 0 != (pImp->nFlags & HTMLCFG_NUMBERS_ENGLISH_US) ;
}
-
-/* ---------------------- 2006-06-07T21:02+0200 ---------------------- */
void SvxHtmlOptions::SetNumbersEnglishUS(BOOL bSet)
{
if(bSet)
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx
index ef9eb19..b261275 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -363,9 +363,6 @@ namespace utl
return bIsSet;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 19:03:20 -----------------------------------------------
-
sal_Bool OConfigurationNode::hasByHierarchicalName( const ::rtl::OUString& _rName ) const throw()
{
OSL_ENSURE( m_xHierarchyAccess.is(), "OConfigurationNode::hasByHierarchicalName: no hierarchy access!" );
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index 2fb791d..811621c 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -82,9 +82,6 @@ namespace utl
bool operator != ( const NodeValueAccessor& rhs ) const { return !operator == ( rhs ); }
};
- //---------------------------------------------------------------------
- //--- 20.08.01 17:21:13 -----------------------------------------------
-
NodeValueAccessor::NodeValueAccessor( const ::rtl::OUString& _rNodePath )
:sRelativePath( _rNodePath )
,eLocationType( ltUnbound )
@@ -92,9 +89,6 @@ namespace utl
{
}
- //---------------------------------------------------------------------
- //--- 20.08.01 17:06:36 -----------------------------------------------
-
bool NodeValueAccessor::operator == ( const NodeValueAccessor& rhs ) const
{
return ( sRelativePath == rhs.sRelativePath )
@@ -102,9 +96,6 @@ namespace utl
&& ( pLocation == rhs.pLocation );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 17:47:43 -----------------------------------------------
-
void NodeValueAccessor::bind( void* _pLocation, const Type& _rType )
{
DBG_ASSERT( !isBound(), "NodeValueAccessor::bind: already bound!" );
@@ -114,9 +105,6 @@ namespace utl
aDataType = _rType;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 17:48:47 -----------------------------------------------
-
void NodeValueAccessor::bind( Any* _pLocation )
{
DBG_ASSERT( !isBound(), "NodeValueAccessor::bind: already bound!" );
@@ -126,9 +114,6 @@ namespace utl
aDataType = ::getCppuType( _pLocation );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 17:42:17 -----------------------------------------------
-
#ifndef UNX
static
#endif
@@ -174,9 +159,6 @@ namespace utl
}
}
- //---------------------------------------------------------------------
- //--- 21.08.01 12:06:43 -----------------------------------------------
-
#ifndef UNX
static
#endif
@@ -205,9 +187,6 @@ namespace utl
//= functors on NodeValueAccessor instances
//=====================================================================
- //---------------------------------------------------------------------
- //--- 21.08.01 12:01:16 -----------------------------------------------
-
/// base class for functors syncronizing between exchange locations and config sub nodes
struct SubNodeAccess : public ::std::unary_function< NodeValueAccessor, void >
{
@@ -223,9 +202,6 @@ namespace utl
}
};
- //---------------------------------------------------------------------
- //--- 21.08.01 11:25:56 -----------------------------------------------
-
struct UpdateFromConfig : public SubNodeAccess
{
public:
@@ -237,9 +213,6 @@ namespace utl
}
};
- //---------------------------------------------------------------------
- //--- 21.08.01 11:25:56 -----------------------------------------------
-
struct UpdateToConfig : public SubNodeAccess
{
public:
@@ -253,9 +226,6 @@ namespace utl
}
};
- //---------------------------------------------------------------------
- //--- 20.08.01 16:58:24 -----------------------------------------------
-
DECLARE_STL_VECTOR( NodeValueAccessor, NodeValueAccessors );
//=====================================================================
@@ -280,9 +250,6 @@ namespace utl
//= OConfigurationValueContainer
//=====================================================================
- //---------------------------------------------------------------------
- //--- 20.08.01 15:53:35 -----------------------------------------------
-
OConfigurationValueContainer::OConfigurationValueContainer(
const Reference< XMultiServiceFactory >& _rxORB, ::osl::Mutex& _rAccessSafety,
const sal_Char* _pConfigLocation, const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels )
@@ -291,9 +258,6 @@ namespace utl
implConstruct( ::rtl::OUString::createFromAscii( _pConfigLocation ), _nAccessFlags, _nLevels );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 15:55:20 -----------------------------------------------
-
OConfigurationValueContainer::OConfigurationValueContainer(
const Reference< XMultiServiceFactory >& _rxORB, ::osl::Mutex& _rAccessSafety,
const ::rtl::OUString& _rConfigLocation, const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels )
@@ -302,25 +266,16 @@ namespace utl
implConstruct( _rConfigLocation, _nAccessFlags, _nLevels );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 16:01:29 -----------------------------------------------
-
OConfigurationValueContainer::~OConfigurationValueContainer()
{
delete m_pImpl;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 15:59:13 -----------------------------------------------
-
const Reference< XMultiServiceFactory >& OConfigurationValueContainer::getServiceFactory( ) const
{
return m_pImpl->xORB;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 16:02:07 -----------------------------------------------
-
void OConfigurationValueContainer::implConstruct( const ::rtl::OUString& _rConfigLocation,
const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels )
{
@@ -344,9 +299,6 @@ namespace utl
#endif
}
- //---------------------------------------------------------------------
- //--- 20.08.01 16:39:05 -----------------------------------------------
-
void OConfigurationValueContainer::registerExchangeLocation( const sal_Char* _pRelativePath,
void* _pContainer, const Type& _rValueType )
{
@@ -370,9 +322,6 @@ namespace utl
implRegisterExchangeLocation( aNewAccessor );
}
- //---------------------------------------------------------------------
- //--- 21.08.01 14:44:45 -----------------------------------------------
-
void OConfigurationValueContainer::registerNullValueExchangeLocation( const sal_Char* _pRelativePath, Any* _pContainer )
{
// build an accessor for this container
@@ -383,9 +332,6 @@ namespace utl
implRegisterExchangeLocation( aNewAccessor );
}
- //---------------------------------------------------------------------
- //--- 21.08.01 10:23:34 -----------------------------------------------
-
void OConfigurationValueContainer::read( )
{
std::for_each(
@@ -395,9 +341,6 @@ namespace utl
);
}
- //---------------------------------------------------------------------
- //--- 21.08.01 12:04:48 -----------------------------------------------
-
void OConfigurationValueContainer::write( sal_Bool _bCommit )
{
// collect the current values in the exchange locations
@@ -412,9 +355,6 @@ namespace utl
commit( sal_False );
}
- //---------------------------------------------------------------------
- //--- 21.08.01 12:09:45 -----------------------------------------------
-
void OConfigurationValueContainer::commit( sal_Bool _bWrite )
{
// write the current values in the exchange locations (if requested)
@@ -425,9 +365,6 @@ namespace utl
m_pImpl->aConfigRoot.commit( );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 17:29:27 -----------------------------------------------
-
void OConfigurationValueContainer::implRegisterExchangeLocation( const NodeValueAccessor& _rAccessor )
{
// some checks
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index f041aef..bbfabec 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2254,9 +2254,6 @@ void RadioButton::ImplInitSettings( BOOL bFont,
}
}
-//---------------------------------------------------------------------
-//--- 12.03.2003 18:46:14 ---------------------------------------------
-
void RadioButton::DrawRadioButtonState( )
{
ImplDrawRadioButtonState( );
commit 3b2637ad787e94169b50ef16537e74ac8e918a52
Author: J. Graeme Lingard <jgraeme+git at gmail.com>
Date: Sat Nov 13 17:47:06 2010 +0000
Remove empty Beschreibung (Description) comments
diff --git a/svtools/inc/apearcfg.hxx b/svtools/inc/apearcfg.hxx
index b0e6ff2..6a286fe 100644
--- a/svtools/inc/apearcfg.hxx
+++ b/svtools/inc/apearcfg.hxx
@@ -34,9 +34,6 @@
class Application;
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
typedef enum {
LookStardivision = 0,
LookMotif,
diff --git a/svtools/source/config/apearcfg.cxx b/svtools/source/config/apearcfg.cxx
index 303a681..7f6956a 100644
--- a/svtools/source/config/apearcfg.cxx
+++ b/svtools/source/config/apearcfg.cxx
@@ -49,9 +49,6 @@ using namespace ::com::sun::star::uno;
sal_Bool SvtTabAppearanceCfg::bInitialized = sal_False;
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SvtTabAppearanceCfg::SvtTabAppearanceCfg()
:ConfigItem(OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Common/View")))
,nLookNFeel ( DEFAULT_LOOKNFEEL )
@@ -169,56 +166,35 @@ void SvtTabAppearanceCfg::Notify( const com::sun::star::uno::Sequence< rtl::OUSt
{
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SvtTabAppearanceCfg::SetLookNFeel ( USHORT nSet )
{
nLookNFeel = nSet;
SetModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SvtTabAppearanceCfg::SetDragMode ( USHORT nSet )
{
nDragMode = nSet;
SetModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SvtTabAppearanceCfg::SetScaleFactor ( USHORT nSet )
{
nScaleFactor = nSet;
SetModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SvtTabAppearanceCfg::SetSnapMode ( USHORT nSet )
{
nSnapMode = nSet;
SetModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
+
void SvtTabAppearanceCfg::SetMiddleMouseButton ( USHORT nSet )
{
nMiddleMouse = nSet;
SetModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SvtTabAppearanceCfg::SetApplicationDefaults ( Application* pApp )
{
diff --git a/svtools/source/control/svxbox.cxx b/svtools/source/control/svxbox.cxx
index 0ffb105..3abffa9 100644
--- a/svtools/source/control/svxbox.cxx
+++ b/svtools/source/control/svxbox.cxx
@@ -66,10 +66,6 @@ SvxBoxEntry::SvxBoxEntry(const SvxBoxEntry& rOld) :
{
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SvxListBox::SvxListBox(Window* pParent, WinBits nBits) :
ListBox(pParent, nBits)
{
diff --git a/unotools/inc/unotools/misccfg.hxx b/unotools/inc/unotools/misccfg.hxx
index 21dbdd2..b4bd7fc 100644
--- a/unotools/inc/unotools/misccfg.hxx
+++ b/unotools/inc/unotools/misccfg.hxx
@@ -32,9 +32,6 @@
#include "tools/solar.h"
#include "unotools/options.hxx"
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
namespace utl
{
class SfxMiscCfg;
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index 89068f6..b05c6da 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -89,9 +89,6 @@ public:
};
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SfxMiscCfg::SfxMiscCfg() :
ConfigItem(C2U("Office.Common") ),
bPaperSize(FALSE),
@@ -107,9 +104,6 @@ SfxMiscCfg::SfxMiscCfg() :
SfxMiscCfg::~SfxMiscCfg()
{
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SfxMiscCfg::SetNotFoundWarning( BOOL bSet)
{
@@ -118,10 +112,6 @@ void SfxMiscCfg::SetNotFoundWarning( BOOL bSet)
bNotFound = bSet;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SfxMiscCfg::SetPaperSizeWarning( BOOL bSet)
{
if(bPaperSize != bSet)
@@ -129,18 +119,12 @@ void SfxMiscCfg::SetPaperSizeWarning( BOOL bSet)
bPaperSize = bSet;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SfxMiscCfg::SetPaperOrientationWarning( BOOL bSet)
{
if(bPaperOrientation != bSet)
SetModified();
bPaperOrientation = bSet;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SfxMiscCfg::SetYear2000( sal_Int32 nSet )
{
More information about the Libreoffice-commits
mailing list