summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/misc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 02:17:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 03:14:00 +0100
commit405caad685edd0ba914789bda01b5dc9b3030773 (patch)
treee5a16d9474717f67cfd029e1ed7b9ecdb0e738ab /dbaccess/source/ui/misc
parentloplugin: unused variable (diff)
downloadcore-405caad685edd0ba914789bda01b5dc9b3030773.tar.gz
core-405caad685edd0ba914789bda01b5dc9b3030773.zip
loplugin: unused variables
Change-Id: I46a748bf2c54d15c0f5718901197f3b4c34b82bf
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx6
-rw-r--r--dbaccess/source/ui/misc/WColumnSelect.cxx2
-rw-r--r--dbaccess/source/ui/misc/WCopyTable.cxx4
-rw-r--r--dbaccess/source/ui/misc/WTypeSelect.cxx1
4 files changed, 0 insertions, 13 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 61744a7274cb..70c1bb12c5d1 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -370,9 +370,6 @@ TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap& _rTypeInfo,
for(aIter = aPair.first; aIter != aPair.second; ++aIter)
{
// search the best matching type (now comparing the local names)
-#ifdef DBG_UTIL
- ::rtl::OUString sDBTypeName = aIter->second->aTypeName;
-#endif
sal_Int32 nPrec = aIter->second->nPrecision;
sal_Int32 nScale = aIter->second->nMaximumScale;
if ( (nPrec >= _nPrecision)
@@ -389,9 +386,6 @@ TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap& _rTypeInfo,
for(aIter = aPair.first; aIter != aPair.second; ++aIter)
{
// search the best matching type (now comparing the local names)
-#ifdef DBG_UTIL
- ::rtl::OUString sDBTypeName = aIter->second->aTypeName;
-#endif
sal_Int32 nScale = aIter->second->nMaximumScale;
if ( (nScale >= _nScale)
&& (aIter->second->bAutoIncrement == _bAutoIncrement)
diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx
index 24c5061ae695..b703d4a00c4a 100644
--- a/dbaccess/source/ui/misc/WColumnSelect.cxx
+++ b/dbaccess/source/ui/misc/WColumnSelect.cxx
@@ -207,7 +207,6 @@ IMPL_LINK( OWizColumnSelect, ButtonClickHdl, Button *, pButton )
::std::vector< ::rtl::OUString> aRightColumns;
fillColumns(pRight,aRightColumns);
- String aColumnName;
if(!bAll)
{
for(sal_uInt16 i=0; i < pLeft->GetSelectEntryCount(); ++i)
@@ -257,7 +256,6 @@ IMPL_LINK( OWizColumnSelect, ListDoubleClickHdl, MultiListBox *, pListBox )
::std::vector< ::rtl::OUString> aRightColumns;
fillColumns(pRight,aRightColumns);
- String aColumnName;
for(sal_uInt16 i=0; i < pLeft->GetSelectEntryCount(); ++i)
moveColumn(pRight,pLeft,aRightColumns,pLeft->GetSelectEntry(i),sExtraChars,nMaxNameLen,aCase);
for(sal_uInt16 j=pLeft->GetSelectEntryCount(); j ; --j)
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 5edb86e1b2b4..8a3a8bc300de 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -924,7 +924,6 @@ IMPL_LINK_NOARG(OCopyTableWizard, ImplOKHdl)
if ( aFind == m_vDestColumns.end() && m_xInteractionHandler.is() )
{
- String sTitle(ModuleRes(STR_TABLEDESIGN_NO_PRIM_KEY_HEAD));
String sMsg(ModuleRes(STR_TABLEDESIGN_NO_PRIM_KEY));
SQLContext aError;
aError.Message = sMsg;
@@ -1114,7 +1113,6 @@ void OCopyTableWizard::loadData( const ICopyTableSourceObject& _rSourceObject,
_rColumns.clear();
OFieldDescription* pActFieldDescr = NULL;
- String aType;
::rtl::OUString sCreateParam(RTL_CONSTASCII_USTRINGPARAM("x"));
//////////////////////////////////////////////////////////////////////
// ReadOnly-Flag
@@ -1351,8 +1349,6 @@ Reference< XPropertySet > OCopyTableWizard::createTable()
const ::rtl::OUString* pIter = aSeq.getConstArray();
const ::rtl::OUString* pEnd = pIter + aSeq.getLength();
- ::std::vector<int> aAlreadyFound(m_vColumnPos.size(),0);
-
for(sal_Int32 nNewPos=1;pIter != pEnd;++pIter,++nNewPos)
{
ODatabaseExport::TColumns::const_iterator aDestIter = m_vDestColumns.find(*pIter);
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx
index d9ec94d7be7e..8f5f5508d650 100644
--- a/dbaccess/source/ui/misc/WTypeSelect.cxx
+++ b/dbaccess/source/ui/misc/WTypeSelect.cxx
@@ -422,7 +422,6 @@ long OWizTypeSelectList::PreNotify( NotifyEvent& rEvt )
{
case SID_TABLEDESIGN_TABED_PRIMARYKEY:
{
- String sColumnName;
sal_uInt16 nCount = GetEntryCount();
for(sal_uInt16 j = 0 ; j < nCount ; ++j)
{