[Libreoffice-commits] .: connectivity/source svx/source
J Graeme Lingard
jgraeme at kemper.freedesktop.org
Mon Nov 15 08:14:45 PST 2010
connectivity/source/manager/mdrivermanager.cxx | 26 --------------
svx/source/form/fmsrccfg.cxx | 45 -------------------------
svx/source/tbxctrls/verttexttbxctrl.cxx | 2 -
3 files changed, 73 deletions(-)
New commits:
commit 36f4005f493203e1a485c6d4e30e14ec30831611
Author: J. Graeme Lingard <jgraeme+git at gmail.com>
Date: Mon Nov 15 16:13:21 2010 +0000
Remove dated comments
diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx
index 5afa36f..99cd425 100644
--- a/connectivity/source/manager/mdrivermanager.cxx
+++ b/connectivity/source/manager/mdrivermanager.cxx
@@ -118,8 +118,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
//=====================================================================
//= helper
//=====================================================================
- //---------------------------------------------------------------------
- //--- 24.08.01 11:27:59 -----------------------------------------------
/// an STL functor which ensures that a SdbcDriver described by a DriverAccess is loaded
struct EnsureDriver : public ::std::unary_function< DriverAccess, DriverAccess >
@@ -135,9 +133,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
}
};
- //---------------------------------------------------------------------
- //--- 24.08.01 11:28:04 -----------------------------------------------
-
/// an STL functor which extracts a SdbcDriver from a DriverAccess
struct ExtractDriverFromAccess : public ::std::unary_function< DriverAccess, SdbcDriver >
{
@@ -147,9 +142,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
}
};
- //---------------------------------------------------------------------
- //--- 24.08.01 12:37:50 -----------------------------------------------
-
typedef ::std::unary_compose< ExtractDriverFromAccess, EnsureDriver > ExtractAfterLoad_BASE;
/// an STL functor which loads a driver described by a DriverAccess, and extracts the SdbcDriver
struct ExtractAfterLoad : public ExtractAfterLoad_BASE
@@ -157,9 +149,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
ExtractAfterLoad() : ExtractAfterLoad_BASE( ExtractDriverFromAccess(), EnsureDriver() ) { }
};
- //---------------------------------------------------------------------
- //--- 24.08.01 11:42:36 -----------------------------------------------
-
struct ExtractDriverFromCollectionElement : public ::std::unary_function< DriverCollection::value_type, SdbcDriver >
{
SdbcDriver operator()( const DriverCollection::value_type& _rElement ) const
@@ -168,9 +157,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
}
};
- //---------------------------------------------------------------------
- //--- 24.08.01 11:51:03 -----------------------------------------------
-
// predicate for checking whether or not a driver accepts a given URL
class AcceptsURL : public ::std::unary_function< SdbcDriver, bool >
{
@@ -193,9 +179,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
}
};
- //---------------------------------------------------------------------
- //--- 24.08.01 12:51:54 -----------------------------------------------
-
static sal_Int32 lcl_getDriverPrecedence( const ::comphelper::ComponentContext& _rContext, Sequence< ::rtl::OUString >& _rPrecedence )
{
_rPrecedence.realloc( 0 );
@@ -240,9 +223,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
return _rPrecedence.getLength();
}
- //---------------------------------------------------------------------
- //--- 24.08.01 13:01:56 -----------------------------------------------
-
/// an STL argorithm compatible predicate comparing two DriverAccess instances by their implementation names
struct CompareDriverAccessByName : public ::std::binary_function< DriverAccess, DriverAccess, bool >
{
@@ -253,9 +233,6 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
}
};
- //---------------------------------------------------------------------
- //--- 24.08.01 13:08:17 -----------------------------------------------
-
/// and STL argorithm compatible predicate comparing a DriverAccess' impl name to a string
struct CompareDriverAccessToName : public ::std::binary_function< DriverAccess, ::rtl::OUString, bool >
{
@@ -305,9 +282,6 @@ OSDBCDriverManager::~OSDBCDriverManager()
{
}
-//---------------------------------------------------------------------
-//--- 24.08.01 11:15:32 -----------------------------------------------
-
void OSDBCDriverManager::bootstrapDrivers()
{
Reference< XContentEnumerationAccess > xEnumAccess( m_aContext.getLegacyServiceFactory(), UNO_QUERY );
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index d632ffc..287b92e 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -46,9 +46,6 @@ namespace svxform
// = struct FmSearchParams - Parameter einer Suche
// ====================================================================
- //---------------------------------------------------------------------
- //--- 20.08.01 18:17:34 -----------------------------------------------
-
FmSearchParams::FmSearchParams()
:nTransliterationFlags( 0 )
,nSearchForType ( 0 )
@@ -73,17 +70,11 @@ namespace svxform
| TransliterationModules_IGNORE_CASE;
}
- //---------------------------------------------------------------------
- //--- 21.08.01 13:31:48 -----------------------------------------------
-
sal_Bool FmSearchParams::isIgnoreWidthCJK( ) const
{
return 0 != (nTransliterationFlags & TransliterationModules_IGNORE_WIDTH);
}
- //---------------------------------------------------------------------
- //--- 21.08.01 13:32:03 -----------------------------------------------
-
void FmSearchParams::setIgnoreWidthCJK( sal_Bool _bIgnore )
{
if ( _bIgnore )
@@ -92,17 +83,11 @@ namespace svxform
nTransliterationFlags &= ~TransliterationModules_IGNORE_WIDTH;
}
- //---------------------------------------------------------------------
- //--- 21.08.01 13:47:52 -----------------------------------------------
-
sal_Bool FmSearchParams::isCaseSensitive( ) const
{
return 0 == (nTransliterationFlags & TransliterationModules_IGNORE_CASE);
}
- //---------------------------------------------------------------------
- //--- 21.08.01 13:48:00 -----------------------------------------------
-
void FmSearchParams::setCaseSensitive( sal_Bool _bCase )
{
if ( _bCase )
@@ -121,9 +106,6 @@ namespace svxform
sal_Int16 nValue;
};
- //---------------------------------------------------------------------
- //--- 20.08.01 18:28:38 -----------------------------------------------
-
static const Ascii2Int16* lcl_getSearchForTypeValueMap()
{
static const Ascii2Int16 s_aSearchForTypeMap[] =
@@ -136,9 +118,6 @@ namespace svxform
return s_aSearchForTypeMap;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:28:38 -----------------------------------------------
-
static const Ascii2Int16* lcl_getSearchPositionValueMap()
{
static const Ascii2Int16 s_aSearchPositionMap[] =
@@ -152,9 +131,6 @@ namespace svxform
return s_aSearchPositionMap;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:30:15 -----------------------------------------------
-
static sal_Int16 lcl_implMapAsciiValue( const ::rtl::OUString& _rAsciiValue, const Ascii2Int16* _pMap )
{
// search the map for the given ascii value
@@ -176,9 +152,6 @@ namespace svxform
return -1;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:33:06 -----------------------------------------------
-
static const sal_Char* lcl_implMapIntValue( const sal_Int16 _nValue, const Ascii2Int16* _pMap )
{
// search the map for the given integer value
@@ -208,9 +181,6 @@ namespace svxform
#define TA( c ) &c, getCppuType( &c )
- //---------------------------------------------------------------------
- //--- 20.08.01 18:19:59 -----------------------------------------------
-
FmSearchConfigItem::FmSearchConfigItem()
:OConfigurationValueContainer( ::comphelper::getProcessServiceFactory(), m_aMutex, "/org.openoffice.Office.DataAccess/FormSearchOptions", CVC_UPDATE_ACCESS | CVC_LAZY_UPDATE, 2 )
{
@@ -256,17 +226,11 @@ namespace svxform
read( );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:19:57 -----------------------------------------------
-
FmSearchConfigItem::~FmSearchConfigItem()
{
commit( );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:20:48 -----------------------------------------------
-
void FmSearchConfigItem::implTranslateFromConfig( )
{
// the search-for string
@@ -300,9 +264,6 @@ namespace svxform
if ( m_bIsIgnoreMiddleDot ) nTransliterationFlags |= TransliterationModules_ignoreMiddleDot_ja_JP;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:42:23 -----------------------------------------------
-
void FmSearchConfigItem::implTranslateToConfig( )
{
// the search-for string
@@ -335,9 +296,6 @@ namespace svxform
m_bIsIgnoreMiddleDot = ( 0 != ( nTransliterationFlags & TransliterationModules_ignoreMiddleDot_ja_JP ) );
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:20:01 -----------------------------------------------
-
const FmSearchParams& FmSearchConfigItem::getParams() const
{
// ensure that the properties which are not stored directly are up-to-date
@@ -347,9 +305,6 @@ namespace svxform
return *this;
}
- //---------------------------------------------------------------------
- //--- 20.08.01 18:41:57 -----------------------------------------------
-
void FmSearchConfigItem::setParams( const FmSearchParams& _rParams )
{
// copy the FmSearchParams part
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx
index 924635f..e6846ea 100644
--- a/svx/source/tbxctrls/verttexttbxctrl.cxx
+++ b/svx/source/tbxctrls/verttexttbxctrl.cxx
@@ -41,8 +41,6 @@
SFX_IMPL_TOOLBOX_CONTROL(SvxCTLTextTbxCtrl, SfxBoolItem);
SFX_IMPL_TOOLBOX_CONTROL(SvxVertTextTbxCtrl, SfxBoolItem);
-// -----------------------------27.04.01 15:50--------------------------------
-
SvxCTLTextTbxCtrl::SvxCTLTextTbxCtrl(USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx )
{
More information about the Libreoffice-commits
mailing list