summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/bibconfig.cxx
diff options
context:
space:
mode:
authorAlexander O. Anisimov <alenyashka@gmail.com>2010-11-08 00:31:55 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2010-11-08 00:31:55 +0100
commit5c2cb70711fe1b2d1f316407eb64ab674fb6cfc9 (patch)
treef5076ac6441f9853c0337c43a04bed4b80fcb73f /extensions/source/bibliography/bibconfig.cxx
parent4a2e3f7e4f0059084ef335a0c0927aab891d264a (diff)
remove useless comments (empty/just specifying dates) & dead code (//CHINA001)
Signed-off-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'extensions/source/bibliography/bibconfig.cxx')
-rw-r--r--extensions/source/bibliography/bibconfig.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx
index adf7ef75c..849d2b1fa 100644
--- a/extensions/source/bibliography/bibconfig.cxx
+++ b/extensions/source/bibliography/bibconfig.cxx
@@ -44,9 +44,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-/* -----------------11.11.99 14:34-------------------
- --------------------------------------------------*/
typedef Mapping* MappingPtr;
SV_DECL_PTRARR_DEL(MappingArray, MappingPtr, 2, 2)
SV_IMPL_PTRARR(MappingArray, MappingPtr);
@@ -54,9 +52,7 @@ SV_IMPL_PTRARR(MappingArray, MappingPtr);
#define C2U(cChar) OUString::createFromAscii(cChar)
const char* cDataSourceHistory = "DataSourceHistory";
-/* -----------------------------13.11.00 12:21--------------------------------
- ---------------------------------------------------------------------------*/
Sequence<OUString> BibConfig::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -75,9 +71,7 @@ Sequence<OUString> BibConfig::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------13.11.00 11:00--------------------------------
- ---------------------------------------------------------------------------*/
BibConfig::BibConfig() :
ConfigItem(C2U("Office.DataAccess/Bibliography"), CONFIG_MODE_DELAYED_UPDATE),
pMappingsArr(new MappingArray),
@@ -211,18 +205,14 @@ BibConfig::BibConfig() :
}
}
}
-/* -----------------------------13.11.00 11:00--------------------------------
- ---------------------------------------------------------------------------*/
BibConfig::~BibConfig()
{
if(IsModified())
Commit();
delete pMappingsArr;
}
-/* -----------------------------13.11.00 12:08--------------------------------
- ---------------------------------------------------------------------------*/
BibDBDescriptor BibConfig::GetBibliographyURL()
{
BibDBDescriptor aRet;
@@ -231,9 +221,7 @@ BibDBDescriptor BibConfig::GetBibliographyURL()
aRet.nCommandType = nTblOrQuery;
return aRet;
};
-/* -----------------------------13.11.00 12:20--------------------------------
- ---------------------------------------------------------------------------*/
void BibConfig::SetBibliographyURL(const BibDBDescriptor& rDesc)
{
sDataSource = rDesc.sDataSource;
@@ -321,9 +309,7 @@ void BibConfig::Commit()
}
}
}
-/* -----------------------------13.11.00 12:23--------------------------------
- ---------------------------------------------------------------------------*/
const Mapping* BibConfig::GetMapping(const BibDBDescriptor& rDesc) const
{
for(sal_uInt16 i = 0; i < pMappingsArr->Count(); i++)
@@ -335,9 +321,7 @@ const Mapping* BibConfig::GetMapping(const BibDBDescriptor& rDesc) const
}
return 0;
}
-/* -----------------------------13.11.00 12:23--------------------------------
- ---------------------------------------------------------------------------*/
void BibConfig::SetMapping(const BibDBDescriptor& rDesc, const Mapping* pSetMapping)
{
for(sal_uInt16 i = 0; i < pMappingsArr->Count(); i++)
@@ -354,21 +338,15 @@ void BibConfig::SetMapping(const BibDBDescriptor& rDesc, const Mapping* pSetMapp
pMappingsArr->Insert(pNew, pMappingsArr->Count());
SetModified();
}
-/* -----------------------------20.11.00 11:56--------------------------------
- ---------------------------------------------------------------------------*/
DBChangeDialogConfig_Impl::DBChangeDialogConfig_Impl()
{
}
-/* -----------------------------20.11.00 11:57--------------------------------
- ---------------------------------------------------------------------------*/
DBChangeDialogConfig_Impl::~DBChangeDialogConfig_Impl()
{
}
-/* -----------------------------14.03.01 12:53--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& DBChangeDialogConfig_Impl::GetDataSourceNames()
{
if(!aSourceNames.getLength())