summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx10
-rw-r--r--UnoControls/source/controls/framecontrol.cxx22
-rw-r--r--autodoc/source/parser_i/idoc/cx_dsapi.cxx7
-rw-r--r--chart2/source/tools/NameContainer.cxx4
-rw-r--r--chart2/source/view/charttypes/AreaChart.cxx14
-rw-r--r--chart2/source/view/charttypes/CandleStickChart.cxx15
-rw-r--r--chart2/source/view/inc/PlottingPositionHelper.hxx8
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx29
-rw-r--r--connectivity/source/drivers/mozab/MTables.cxx5
-rw-r--r--connectivity/source/drivers/mysql/YTables.cxx12
10 files changed, 0 insertions, 126 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index f219b3f5d108..02a0f53f4049 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -575,16 +575,6 @@ WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Referen
void BaseContainerControl::impl_paint ( sal_Int32 /*nX*/, sal_Int32 /*nY*/, const Reference< XGraphics > & /*rGraphics*/ )
{
-/*
- if (rGraphics.is())
- {
- for ( size_t n = maControlInfoList.size(); n; )
- {
- ControlInfo* pSearchControl = maControlInfoList[ --n ];
- pSearchControl->xControl->paint ( nX, nY, rGraphics ) ;
- }
- }
-*/
}
//____________________________________________________________________________________________________________
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index 49f3ed81417d..0504a11a354a 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -426,28 +426,6 @@ IPropertyArrayHelper& FrameControl::getInfoHelper()
return *pInfo ;
}
-/*
-//--------------------------------------------------------------------------------------------------
-// start OConnectionPointContainerHelper
-//--------------------------------------------------------------------------------------------------
-Uik* FrameControl::getConnectionPointUiks ( sal_Int32* pCount ) const
-{
- static Uik szUiks[] =
- {
- ((XEventListener*)NULL)->getSmartUik (),
- ::getCppuType((const Reference< XPropertyChangeListener >*)0),
- ::getCppuType((const Reference< XVetoableChangeListener >*)0),
- ::getCppuType((const Reference< XPropertiesChangeListener >*)0)
- } ;
-
- *pCount = 4 ;
-
- return szUiks ;
-}
-//--------------------------------------------------------------------------------------------------
-// end OConnectionPointContainerHelper
-//--------------------------------------------------------------------------------------------------
-*/
//____________________________________________________________________________________________________________
// OPropertySetHelper
diff --git a/autodoc/source/parser_i/idoc/cx_dsapi.cxx b/autodoc/source/parser_i/idoc/cx_dsapi.cxx
index 662af48e2fcb..21b8595f5ac5 100644
--- a/autodoc/source/parser_i/idoc/cx_dsapi.cxx
+++ b/autodoc/source/parser_i/idoc/cx_dsapi.cxx
@@ -305,13 +305,6 @@ Context_Docu::SetupStateMachine()
// constants for use in the table:
const INT16 ght = goto_EoHtml;
-/*
- const INT16 gxc = goto_EoXmlConst;
- const INT16 glb = goto_EoXmlLink_TagBegin;
- const INT16 gle = goto_EoXmlLink_TagEnd;
- const INT16 gfb = goto_EoXmlFormat_TagBegin;
- const INT16 gfe = goto_EoXmlFormat_TagEnd;
-*/
const INT16 err = finError;
const INT16 faw = finAnyWord;
// const INT16 fig = finIgnore;
diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx
index a0d2a4fbff7a..52bf75eaa881 100644
--- a/chart2/source/tools/NameContainer.cxx
+++ b/chart2/source/tools/NameContainer.cxx
@@ -29,10 +29,6 @@
#include "NameContainer.hxx"
-/*
-//SvXMLUnitConverter
-#include <xmloff/xmluconv.hxx>
-*/
#include <com/sun/star/uno/Any.hxx>
using namespace ::com::sun::star;
diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx
index bcc24564576d..0d8b299c3b30 100644
--- a/chart2/source/view/charttypes/AreaChart.cxx
+++ b/chart2/source/view/charttypes/AreaChart.cxx
@@ -168,20 +168,6 @@ uno::Any AreaChart::getExplicitSymbol( const VDataSeries& rSeries, sal_Int32 nPo
return aRet;
}
-//-----------------------------------------------------------------
-// lang::XServiceInfo
-//-----------------------------------------------------------------
-/*
-APPHELPER_XSERVICEINFO_IMPL(AreaChart,CHART2_VIEW_AREACHART_SERVICE_IMPLEMENTATION_NAME)
-
- uno::Sequence< rtl::OUString > AreaChart
-::getSupportedServiceNames_Static()
-{
- uno::Sequence< rtl::OUString > aSNS( 1 );
- aSNS.getArray()[ 0 ] = CHART2_VIEW_AREACHART_SERVICE_NAME;
- return aSNS;
-}
-*/
drawing::Direction3D AreaChart::getPreferredDiagramAspectRatio() const
{
if( m_nKeepAspectRatio == 1 )
diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx
index 9be72864cb8c..6eb59ea34a2d 100644
--- a/chart2/source/view/charttypes/CandleStickChart.cxx
+++ b/chart2/source/view/charttypes/CandleStickChart.cxx
@@ -87,21 +87,6 @@ LegendSymbolStyle CandleStickChart::getLegendSymbolStyle()
return LegendSymbolStyle_LINE;
}
-//-----------------------------------------------------------------
-// lang::XServiceInfo
-//-----------------------------------------------------------------
-/*
-APPHELPER_XSERVICEINFO_IMPL(CandleStickChart,CHART2_VIEW_CANDLESTICKCHART_SERVICE_IMPLEMENTATION_NAME)
-
- uno::Sequence< rtl::OUString > CandleStickChart
-::getSupportedServiceNames_Static()
-{
- uno::Sequence< rtl::OUString > aSNS( 1 );
- aSNS.getArray()[ 0 ] = CHART2_VIEW_CANDLESTICKCHART_SERVICE_NAME;
- return aSNS;
-}
-*/
-
drawing::Direction3D CandleStickChart::getPreferredDiagramAspectRatio() const
{
return drawing::Direction3D(-1,-1,-1);
diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx
index a54365e88cf3..932cbb0b94d2 100644
--- a/chart2/source/view/inc/PlottingPositionHelper.hxx
+++ b/chart2/source/view/inc/PlottingPositionHelper.hxx
@@ -41,10 +41,6 @@
#include <com/sun/star/drawing/XShapes.hpp>
#include <basegfx/matrix/b3dhommatrix.hxx>
-/*
-//for WeakImplHelper1
-#include <cppuhelper/implbase1.hxx>
-*/
//.............................................................................
namespace chart
{
@@ -52,10 +48,6 @@ namespace chart
class ShapeFactory;
-//-----------------------------------------------------------------------------
-/**
-*/
-
class PlottingPositionHelper
{
public:
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index b4eac7855472..7fc720a65fa4 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -4569,33 +4569,4 @@ bool produceType(RegistryKey& rTypeKey, bool bIsExtraType,
return ret;
}
-//*************************************************************************
-// scopedName
-//*************************************************************************
-/*
-OString scopedName(const OString& scope, const OString& type,
- sal_Bool bNoNameSpace)
-{
- sal_Int32 nPos = type.lastIndexOf( '/' );
- if (nPos == -1)
- return type;
-
- OStringBuffer tmpBuf(type.getLength()*2);
- nPos = 0;
- do
- {
- tmpBuf.append("::");
- OString token(type.getToken(0, '/', nPos));
- if (nPos != -1)
- tmpBuf.append(translateUnoToCppIndentifier(
- token, "module", ITM_KEYWORDSONLY));
- else
- tmpBuf.append(translateUnoToCppIndentifier(
- token, "interface", ITM_KEYWORDSONLY));
- } while( nPos != -1 );
-
- return tmpBuf.makeStringAndClear();
-}
-*/
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/MTables.cxx b/connectivity/source/drivers/mozab/MTables.cxx
index dfa7b99404c4..22974a27e99c 100644
--- a/connectivity/source/drivers/mozab/MTables.cxx
+++ b/connectivity/source/drivers/mozab/MTables.cxx
@@ -56,16 +56,11 @@ using namespace dbtools;
sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
{
::rtl::OUString aName,aSchema;
- // sal_Int32 nLen = _rName.indexOf('.');
- // aSchema = _rName.copy(0,nLen);
- // aName = _rName.copy(nLen+1);
aSchema = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("%"));
aName = _rName;
Sequence< ::rtl::OUString > aTypes(1);
aTypes[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("%"));
- // aTypes[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TABLE"));
- // aTypes[1] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("SYSTEMTABLE"));
Reference< XResultSet > xResult = m_xMetaData->getTables(Any(),aSchema,aName,aTypes);
diff --git a/connectivity/source/drivers/mysql/YTables.cxx b/connectivity/source/drivers/mysql/YTables.cxx
index e77a22003fdc..38a49d401c00 100644
--- a/connectivity/source/drivers/mysql/YTables.cxx
+++ b/connectivity/source/drivers/mysql/YTables.cxx
@@ -80,18 +80,6 @@ sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
Reference< XRow > xRow(xResult,UNO_QUERY);
if ( xResult->next() ) // there can be only one table with this name
{
-// Reference<XStatement> xStmt = m_xConnection->createStatement();
-// if ( xStmt.is() )
-// {
-// Reference< XResultSet > xPrivRes = xStmt->executeQuery();
-// Reference< XRow > xPrivRow(xPrivRes,UNO_QUERY);
-// while ( xPrivRes.is() && xPrivRes->next() )
-// {
-// if ( xPrivRow->getString(1) )
-// {
-// }
-// }
-// }
sal_Int32 nPrivileges = Privilege::DROP |
Privilege::REFERENCE |
Privilege::ALTER |