summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-09-30 05:48:28 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-09-30 05:48:28 +0000
commit716636d558e9cc9b910da6d127314d2b20cdf0b6 (patch)
treed266019c3c89a0649074f3290439d74010ec618c /sc/source/ui/unoobj
parentabda8e12d8cd23c2cd1bb870b097eddfdee38825 (diff)
CWS-TOOLING: integrate CWS koheicoderemoval
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx44
-rw-r--r--sc/source/ui/unoobj/datauno.cxx65
-rw-r--r--sc/source/ui/unoobj/docuno.cxx35
-rw-r--r--sc/source/ui/unoobj/editsrc.cxx12
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx38
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx26
-rw-r--r--sc/source/ui/unoobj/miscuno.cxx176
-rw-r--r--sc/source/ui/unoobj/servuno.cxx16
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx13
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx14
-rw-r--r--sc/source/ui/unoobj/textuno.cxx19
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx20
12 files changed, 156 insertions, 322 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index ed0651fe58f7..33250725536e 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dapiuno.cxx,v $
- * $Revision: 1.23 $
+ * $Revision: 1.21.30.2 $
*
* This file is part of OpenOffice.org.
*
@@ -224,16 +224,6 @@ ScDPObject* lcl_GetDPObject( ScDocShell* pDocShell, SCTAB nTab, const String& rN
return NULL; // nicht gefunden
}
-String lcl_ColumnTitle( ScDocument* pDoc, USHORT nCol, USHORT nRow, USHORT nTab )
-{
- // Spaltennamen, wie sie in der Pivottabelle angezeigt werden
- String aStr;
- pDoc->GetString(nCol, nRow, nTab, aStr);
- if (aStr.Len() == 0)
- aStr = ColToAlpha( nCol );
- return aStr;
-}
-
String lcl_CreatePivotName( ScDocShell* pDocShell )
{
if (pDocShell)
@@ -390,38 +380,6 @@ rtl::OUString lcl_GetOriginalName( const uno::Reference<container::XNamed> xDim
return xOriginal->getName();
}
-void lcl_SetSaveData(const uno::Reference<container::XIndexAccess>& xFields, ScDPSaveData* pSaveData)
-{
- if (xFields.is() && pSaveData)
- {
- sal_Int32 nFieldsCount(xFields->getCount());
- for (sal_Int32 i = 0; i < nFieldsCount; ++i)
- {
- uno::Any aDim = xFields->getByIndex(i);
- uno::Reference<container::XNamed> xDim;
- uno::Reference<beans::XPropertySet> xDimProps;
- if ((aDim >>= xDim) && (aDim >>= xDimProps))
- {
- //rtl::OUString sName(xDim->getName());
- rtl::OUString sName( lcl_GetOriginalName(xDim) );
- ScDPSaveDimension* pDim = sName.getLength() ? pSaveData->GetDimensionByName(sName) : 0;
- if (pDim)
- {
- uno::Any aAny = xDimProps->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNONAME_ORIENT)));
- sheet::DataPilotFieldOrientation eOrient;
- if (aAny >>= eOrient)
- pDim->SetOrientation( sal::static_int_cast<USHORT>( eOrient ) );
-
- aAny = xDimProps->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNONAME_FUNCTION)));
- sheet::GeneralFunction eFunc;
- if (aAny >>= eFunc)
- pDim->SetFunction( sal::static_int_cast<USHORT>( eFunc ) );
- }
- }
- }
- }
-}
-
void SAL_CALL ScDataPilotTablesObj::insertNewByName( const rtl::OUString& aNewName,
const table::CellAddress& aOutputAddress,
const uno::Reference<sheet::XDataPilotDescriptor>& xDescriptor )
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 7be0135d695a..5183ea104721 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: datauno.cxx,v $
- * $Revision: 1.30 $
+ * $Revision: 1.30.32.1 $
*
* This file is part of OpenOffice.org.
*
@@ -1567,45 +1567,6 @@ void SAL_CALL ScDatabaseRangeObj::setDataArea( const table::CellRangeAddress& aD
}
}
-void ScDatabaseRangeObj::GetSortParam(ScSortParam& rSortParam) const
-{
- const ScDBData* pData = GetDBData_Impl();
- if (pData)
- {
- pData->GetSortParam(rSortParam);
-
- // im SortDescriptor sind die Fields innerhalb des Bereichs gezaehlt
- ScRange aDBRange;
- pData->GetArea(aDBRange);
- SCCOLROW nFieldStart = rSortParam.bByRow ? static_cast<SCCOLROW>(aDBRange.aStart.Col()) : static_cast<SCCOLROW>(aDBRange.aStart.Row());
- for (USHORT i=0; i<MAXSORT; i++)
- if (rSortParam.bDoSort[i] && rSortParam.nField[i] >= nFieldStart)
- rSortParam.nField[i] -= nFieldStart;
- }
-}
-
-void ScDatabaseRangeObj::SetSortParam(const ScSortParam& rSortParam)
-{
- const ScDBData* pData = GetDBData_Impl();
- if (pData)
- {
- // im SortDescriptor sind die Fields innerhalb des Bereichs gezaehlt
- ScSortParam aParam(rSortParam);
- ScRange aDBRange;
- pData->GetArea(aDBRange);
- SCCOLROW nFieldStart = aParam.bByRow ? static_cast<SCCOLROW>(aDBRange.aStart.Col()) : static_cast<SCCOLROW>(aDBRange.aStart.Row());
- for (USHORT i=0; i<MAXSORT; i++)
- if (aParam.bDoSort[i])
- aParam.nField[i] += nFieldStart;
-
- ScDBData aNewData( *pData );
- aNewData.SetSortParam(aParam);
- aNewData.SetHeader(aParam.bHasHeader); // not in ScDBData::SetSortParam
- ScDBDocFunc aFunc(*pDocShell);
- aFunc.ModifyDBData(aNewData, TRUE);
- }
-}
-
uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getSortDescriptor()
throw(uno::RuntimeException)
{
@@ -1745,30 +1706,6 @@ uno::Reference<sheet::XSubTotalDescriptor> SAL_CALL ScDatabaseRangeObj::getSubTo
return new ScRangeSubTotalDescriptor(this);
}
-void ScDatabaseRangeObj::GetImportParam(ScImportParam& rImportParam) const
-{
- const ScDBData* pData = GetDBData_Impl();
- if (pData)
- {
- pData->GetImportParam(rImportParam);
- // Fields gibt's hier nicht anzupassen
- }
-}
-
-void ScDatabaseRangeObj::SetImportParam(const ScImportParam& rImportParam)
-{
- const ScDBData* pData = GetDBData_Impl();
- if (pData)
- {
- // Fields gibt's hier nicht anzupassen
-
- ScDBData aNewData( *pData );
- aNewData.SetImportParam(rImportParam);
- ScDBDocFunc aFunc(*pDocShell);
- aFunc.ModifyDBData(aNewData, TRUE);
- }
-}
-
uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getImportDescriptor()
throw(uno::RuntimeException)
{
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 085b3a4344a5..86bc8e07ee32 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: docuno.cxx,v $
- * $Revision: 1.68 $
+ * $Revision: 1.67.30.3 $
*
* This file is part of OpenOffice.org.
*
@@ -268,29 +268,6 @@ SfxObjectShell* ScModelObj::GetEmbeddedObject() const
return pDocShell;
}
-BOOL ScModelObj::IsEmbedded() const
-{
- if (pDocShell)
- {
- return pDocShell->IsOle();
- }
- return FALSE;
-}
-
-double ScModelObj::GetOutputFactor() const
-{
- if (pDocShell)
- return pDocShell->GetOutputFactor();
- return 1.0;
-}
-
-BOOL ScModelObj::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab )
-{
- if (pDocShell)
- return pDocShell->AdjustRowHeight( nStartRow, nEndRow, nTab );
- return FALSE;
-}
-
void ScModelObj::UpdateAllRowHeights()
{
if (pDocShell)
@@ -2847,11 +2824,11 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScTableRowsObj )
//------------------------------------------------------------------------
-ScSpreadsheetSettingsObj::ScSpreadsheetSettingsObj(ScDocShell* pDocSh) :
- pDocShell( pDocSh )
-{
- pDocShell->GetDocument()->AddUnoObject(*this);
-}
+//UNUSED2008-05 ScSpreadsheetSettingsObj::ScSpreadsheetSettingsObj(ScDocShell* pDocSh) :
+//UNUSED2008-05 pDocShell( pDocSh )
+//UNUSED2008-05 {
+//UNUSED2008-05 pDocShell->GetDocument()->AddUnoObject(*this);
+//UNUSED2008-05 }
ScSpreadsheetSettingsObj::~ScSpreadsheetSettingsObj()
{
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx
index 9bb170b2ba9e..3f5ebe50b82d 100644
--- a/sc/source/ui/unoobj/editsrc.cxx
+++ b/sc/source/ui/unoobj/editsrc.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: editsrc.cxx,v $
- * $Revision: 1.26 $
+ * $Revision: 1.26.32.1 $
*
* This file is part of OpenOffice.org.
*
@@ -416,13 +416,3 @@ SfxBroadcaster& ScAccessibilityEditSource::GetBroadcaster() const
return mpAccessibleTextData->GetBroadcaster();
}
-void ScAccessibilityEditSource::SetDoUpdateData(sal_Bool bValue)
-{
- mpAccessibleTextData->SetDoUpdate(bValue);
-}
-
-sal_Bool ScAccessibilityEditSource::IsDirty() const
-{
- return mpAccessibleTextData->IsDirty();
-}
-
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index e1201e879a9b..9127de05316e 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fielduno.cxx,v $
- * $Revision: 1.18 $
+ * $Revision: 1.18.32.3 $
*
* This file is part of OpenOffice.org.
*
@@ -431,13 +431,14 @@ void SAL_CALL ScCellFieldsObj::removeRefreshListener( const uno::Reference<util:
// Default-ctor wird fuer SMART_REFLECTION_IMPLEMENTATION gebraucht
-ScCellFieldObj::ScCellFieldObj() :
- OComponentHelper( getMutex() ),
- aPropSet( lcl_GetURLPropertyMap() ),
- pDocShell( NULL )
-{
- pEditSource = NULL;
-}
+
+//UNUSED2008-05 ScCellFieldObj::ScCellFieldObj() :
+//UNUSED2008-05 OComponentHelper( getMutex() ),
+//UNUSED2008-05 aPropSet( lcl_GetURLPropertyMap() ),
+//UNUSED2008-05 pDocShell( NULL )
+//UNUSED2008-05 {
+//UNUSED2008-05 pEditSource = NULL;
+//UNUSED2008-05 }
ScCellFieldObj::ScCellFieldObj(ScDocShell* pDocSh, const ScAddress& rPos,
const ESelection& rSel) :
@@ -1114,17 +1115,16 @@ sal_Int16 lcl_SvxToUnoFileFormat( SvxFileFormat nSvxValue )
// Default-ctor wird fuer SMART_REFLECTION_IMPLEMENTATION gebraucht
-
-ScHeaderFieldObj::ScHeaderFieldObj() :
- OComponentHelper( getMutex() ),
- aPropSet( lcl_GetHeaderFieldPropertyMap() ),
- pContentObj( NULL ),
- nPart( 0 ),
- nType( 0 ),
- nFileFormat( SVXFILEFORMAT_NAME_EXT )
-{
- pEditSource = NULL;
-}
+//UNUSED2008-05 ScHeaderFieldObj::ScHeaderFieldObj() :
+//UNUSED2008-05 OComponentHelper( getMutex() ),
+//UNUSED2008-05 aPropSet( lcl_GetHeaderFieldPropertyMap() ),
+//UNUSED2008-05 pContentObj( NULL ),
+//UNUSED2008-05 nPart( 0 ),
+//UNUSED2008-05 nType( 0 ),
+//UNUSED2008-05 nFileFormat( SVXFILEFORMAT_NAME_EXT )
+//UNUSED2008-05 {
+//UNUSED2008-05 pEditSource = NULL;
+//UNUSED2008-05 }
ScHeaderFieldObj::ScHeaderFieldObj(ScHeaderFooterContentObj* pContent, USHORT nP,
USHORT nT, const ESelection& rSel) :
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index 8fb9487c4162..7e4d26b03840 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtuno.cxx,v $
- * $Revision: 1.18 $
+ * $Revision: 1.18.32.2 $
*
* This file is part of OpenOffice.org.
*
@@ -130,9 +130,9 @@ ScConditionMode lcl_ConditionOperatorToMode( sheet::ConditionOperator eOper )
//------------------------------------------------------------------------
-ScTableConditionalFormat::ScTableConditionalFormat()
-{
-}
+//UNUSED2008-05 ScTableConditionalFormat::ScTableConditionalFormat()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
ScTableConditionalFormat::ScTableConditionalFormat(ScDocument* pDoc, ULONG nKey,
const ScGrammar::Grammar eGrammar)
@@ -488,10 +488,10 @@ ScTableConditionalFormat* ScTableConditionalFormat::getImplementation(
//------------------------------------------------------------------------
-ScTableConditionalEntry::ScTableConditionalEntry() :
- pParent( NULL )
-{
-}
+//UNUSED2008-05 ScTableConditionalEntry::ScTableConditionalEntry() :
+//UNUSED2008-05 pParent( NULL )
+//UNUSED2008-05 {
+//UNUSED2008-05 }
ScTableConditionalEntry::ScTableConditionalEntry(ScTableConditionalFormat* pPar,
const ScCondFormatEntryItem& aItem) :
@@ -599,11 +599,11 @@ void SAL_CALL ScTableConditionalEntry::setStyleName( const rtl::OUString& aStyle
//------------------------------------------------------------------------
-ScTableValidationObj::ScTableValidationObj() :
- aPropSet( lcl_GetValidatePropertyMap() ),
- meGrammar( ScGrammar::GRAM_UNSPECIFIED )
-{
-}
+//UNUSED2008-05 ScTableValidationObj::ScTableValidationObj() :
+//UNUSED2008-05 aPropSet( lcl_GetValidatePropertyMap() ),
+//UNUSED2008-05 meGrammar( ScGrammar::GRAM_UNSPECIFIED )
+//UNUSED2008-05 {
+//UNUSED2008-05 }
ScTableValidationObj::ScTableValidationObj(ScDocument* pDoc, ULONG nKey,
const ScGrammar::Grammar eGrammar) :
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx
index 58df9524e8b5..3d41da907016 100644
--- a/sc/source/ui/unoobj/miscuno.cxx
+++ b/sc/source/ui/unoobj/miscuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: miscuno.cxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.32.4 $
*
* This file is part of OpenOffice.org.
*
@@ -42,10 +42,10 @@ using namespace com::sun::star;
//------------------------------------------------------------------------
-SC_SIMPLE_SERVICE_INFO( ScEmptyEnumeration, "ScEmptyEnumeration", "stardiv.unknown" )
-SC_SIMPLE_SERVICE_INFO( ScEmptyEnumerationAccess, "ScEmptyEnumerationAccess", "stardiv.unknown" )
-//SC_SIMPLE_SERVICE_INFO( ScIndexEnumeration, "ScIndexEnumeration", "stardiv.unknown" )
-SC_SIMPLE_SERVICE_INFO( ScPrintSettingsObj, "ScPrintSettingsObj", "stardiv.unknown" )
+//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScEmptyEnumeration, "ScEmptyEnumeration", "stardiv.unknown" )
+//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScEmptyEnumerationAccess, "ScEmptyEnumerationAccess", "stardiv.unknown" )
+//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScIndexEnumeration, "ScIndexEnumeration", "stardiv.unknown" )
+//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScPrintSettingsObj, "ScPrintSettingsObj", "stardiv.unknown" )
SC_SIMPLE_SERVICE_INFO( ScNameToIndexAccess, "ScNameToIndexAccess", "stardiv.unknown" )
@@ -242,58 +242,58 @@ sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const ::rtl::OUString& Se
//------------------------------------------------------------------------
-ScEmptyEnumerationAccess::ScEmptyEnumerationAccess()
-{
-}
-
-ScEmptyEnumerationAccess::~ScEmptyEnumerationAccess()
-{
-}
-
-// XEnumerationAccess
-
-uno::Reference<container::XEnumeration> SAL_CALL ScEmptyEnumerationAccess::createEnumeration()
- throw(uno::RuntimeException)
-{
- ScUnoGuard aGuard;
- return new ScEmptyEnumeration;
-}
-
-uno::Type SAL_CALL ScEmptyEnumerationAccess::getElementType() throw(uno::RuntimeException)
-{
- ScUnoGuard aGuard;
- return getCppuType((uno::Reference<uno::XInterface>*)0); // or what?
-}
-
-sal_Bool SAL_CALL ScEmptyEnumerationAccess::hasElements() throw(uno::RuntimeException)
-{
- return FALSE;
-}
+//UNUSED2008-05 ScEmptyEnumerationAccess::ScEmptyEnumerationAccess()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 ScEmptyEnumerationAccess::~ScEmptyEnumerationAccess()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 // XEnumerationAccess
+//UNUSED2008-05
+//UNUSED2008-05 uno::Reference<container::XEnumeration> SAL_CALL ScEmptyEnumerationAccess::createEnumeration()
+//UNUSED2008-05 throw(uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 ScUnoGuard aGuard;
+//UNUSED2008-05 return new ScEmptyEnumeration;
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 uno::Type SAL_CALL ScEmptyEnumerationAccess::getElementType() throw(uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 ScUnoGuard aGuard;
+//UNUSED2008-05 return getCppuType((uno::Reference<uno::XInterface>*)0); // or what?
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 sal_Bool SAL_CALL ScEmptyEnumerationAccess::hasElements() throw(uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 return FALSE;
+//UNUSED2008-05 }
//------------------------------------------------------------------------
-ScEmptyEnumeration::ScEmptyEnumeration()
-{
-}
-
-ScEmptyEnumeration::~ScEmptyEnumeration()
-{
-}
-
-// XEnumeration
-
-sal_Bool SAL_CALL ScEmptyEnumeration::hasMoreElements() throw(uno::RuntimeException)
-{
- ScUnoGuard aGuard;
- return FALSE;
-}
-
-uno::Any SAL_CALL ScEmptyEnumeration::nextElement() throw(container::NoSuchElementException,
- lang::WrappedTargetException, uno::RuntimeException)
-{
- ScUnoGuard aGuard;
- return uno::Any();
-}
+//UNUSED2008-05 ScEmptyEnumeration::ScEmptyEnumeration()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 ScEmptyEnumeration::~ScEmptyEnumeration()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 // XEnumeration
+//UNUSED2008-05
+//UNUSED2008-05 sal_Bool SAL_CALL ScEmptyEnumeration::hasMoreElements() throw(uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 ScUnoGuard aGuard;
+//UNUSED2008-05 return FALSE;
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 uno::Any SAL_CALL ScEmptyEnumeration::nextElement() throw(container::NoSuchElementException,
+//UNUSED2008-05 lang::WrappedTargetException, uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 ScUnoGuard aGuard;
+//UNUSED2008-05 return uno::Any();
+//UNUSED2008-05 }
//------------------------------------------------------------------------
@@ -348,40 +348,40 @@ sal_Bool SAL_CALL ScNameToIndexAccess::hasElements( ) throw(::com::sun::star::u
//------------------------------------------------------------------------
-ScPrintSettingsObj::ScPrintSettingsObj()
-{
-}
-
-ScPrintSettingsObj::~ScPrintSettingsObj()
-{
-}
-
-// XPropertySet
-
-uno::Reference<beans::XPropertySetInfo> SAL_CALL ScPrintSettingsObj::getPropertySetInfo()
- throw(uno::RuntimeException)
-{
- return NULL;
-}
-
-void SAL_CALL ScPrintSettingsObj::setPropertyValue(
- const rtl::OUString& /* aPropertyName */, const uno::Any& /* aValue */ )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException)
-{
- //! later...
-}
-
-uno::Any SAL_CALL ScPrintSettingsObj::getPropertyValue( const rtl::OUString& /* aPropertyName */ )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
-{
- //! later...
- return uno::Any();
-}
-
-SC_IMPL_DUMMY_PROPERTY_LISTENER( ScPrintSettingsObj )
+//UNUSED2008-05 ScPrintSettingsObj::ScPrintSettingsObj()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 ScPrintSettingsObj::~ScPrintSettingsObj()
+//UNUSED2008-05 {
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 // XPropertySet
+//UNUSED2008-05
+//UNUSED2008-05 uno::Reference<beans::XPropertySetInfo> SAL_CALL ScPrintSettingsObj::getPropertySetInfo()
+//UNUSED2008-05 throw(uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 return NULL;
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 void SAL_CALL ScPrintSettingsObj::setPropertyValue(
+//UNUSED2008-05 const rtl::OUString& /* aPropertyName */, const uno::Any& /* aValue */ )
+//UNUSED2008-05 throw(beans::UnknownPropertyException, beans::PropertyVetoException,
+//UNUSED2008-05 lang::IllegalArgumentException, lang::WrappedTargetException,
+//UNUSED2008-05 uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 //! later...
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 uno::Any SAL_CALL ScPrintSettingsObj::getPropertyValue( const rtl::OUString& /* aPropertyName */ )
+//UNUSED2008-05 throw(beans::UnknownPropertyException, lang::WrappedTargetException,
+//UNUSED2008-05 uno::RuntimeException)
+//UNUSED2008-05 {
+//UNUSED2008-05 //! later...
+//UNUSED2008-05 return uno::Any();
+//UNUSED2008-05 }
+//UNUSED2008-05
+//UNUSED2008-05 SC_IMPL_DUMMY_PROPERTY_LISTENER( ScPrintSettingsObj )
//------------------------------------------------------------------------
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index 8af5d784c73c..76ee5be86e0b 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: servuno.cxx,v $
- * $Revision: 1.17 $
+ * $Revision: 1.17.32.2 $
*
* This file is part of OpenOffice.org.
*
@@ -174,13 +174,13 @@ static const sal_Char* __FAR_DATA aOldNames[SC_SERVICE_COUNT] =
// alles static
-String ScServiceProvider::GetProviderName(sal_uInt16 nObjectType)
-{
- String sRet;
- if (nObjectType < SC_SERVICE_COUNT)
- sRet = String::CreateFromAscii( aProvNames[nObjectType] );
- return sRet;
-}
+//UNUSED2008-05 String ScServiceProvider::GetProviderName(sal_uInt16 nObjectType)
+//UNUSED2008-05 {
+//UNUSED2008-05 String sRet;
+//UNUSED2008-05 if (nObjectType < SC_SERVICE_COUNT)
+//UNUSED2008-05 sRet = String::CreateFromAscii( aProvNames[nObjectType] );
+//UNUSED2008-05 return sRet;
+//UNUSED2008-05 }
sal_uInt16 ScServiceProvider::GetProviderType(const String& rServiceName)
{
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index 6e7e2839d865..eaca5a308236 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: shapeuno.cxx,v $
- * $Revision: 1.21 $
+ * $Revision: 1.21.32.1 $
*
* This file is part of OpenOffice.org.
*
@@ -241,17 +241,6 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScShapeObj::getPropertySetInfo(
return mxPropSetInfo;
}
-ScDocument* lcl_GetDocument( SdrObject* pObj )
-{
- if( pObj )
- {
- ScDrawLayer* pModel = (ScDrawLayer*)pObj->GetModel();
- if ( pModel )
- return pModel->GetDocument();
- }
- return NULL;
-}
-
BOOL lcl_GetPageNum( SdrPage* pPage, SdrModel& rModel, SCTAB& rNum )
{
USHORT nCount = rModel.GetPageCount();
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 2bd0bdde90a2..8942b3a103cb 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: styleuno.cxx,v $
- * $Revision: 1.44 $
+ * $Revision: 1.43.32.3 $
*
* This file is part of OpenOffice.org.
*
@@ -1014,12 +1014,12 @@ sal_Bool SAL_CALL ScStyleFamilyObj::hasByName( const rtl::OUString& aName )
// Default-ctor wird fuer die Reflection gebraucht
-ScStyleObj::ScStyleObj() :
- aPropSet( lcl_GetCellStyleMap() ),
- pDocShell( NULL ),
- eFamily( SFX_STYLE_FAMILY_PARA )
-{
-}
+//UNUSED2008-05 ScStyleObj::ScStyleObj() :
+//UNUSED2008-05 aPropSet( lcl_GetCellStyleMap() ),
+//UNUSED2008-05 pDocShell( NULL ),
+//UNUSED2008-05 eFamily( SFX_STYLE_FAMILY_PARA )
+//UNUSED2008-05 {
+//UNUSED2008-05 }
ScStyleObj::ScStyleObj(ScDocShell* pDocSh, SfxStyleFamily eFam, const String& rName) :
aPropSet( (eFam == SFX_STYLE_FAMILY_PARA) ? lcl_GetCellStyleMap() : lcl_GetPageStyleMap() ),
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx
index 0367a7ee2f6c..97e10e4e973e 100644
--- a/sc/source/ui/unoobj/textuno.cxx
+++ b/sc/source/ui/unoobj/textuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textuno.cxx,v $
- * $Revision: 1.26 $
+ * $Revision: 1.25.32.2 $
*
* This file is part of OpenOffice.org.
*
@@ -111,14 +111,6 @@ SC_SIMPLE_SERVICE_INFO( ScHeaderFooterTextObj, "ScHeaderFooterTextObj", "stardiv
//------------------------------------------------------------------------
-ScHeaderFooterContentObj::ScHeaderFooterContentObj() :
- pLeftText ( NULL ),
- pCenterText ( NULL ),
- pRightText ( NULL )
-{
- // fuer getReflection
-}
-
ScHeaderFooterContentObj::ScHeaderFooterContentObj( const EditTextObject* pLeft,
const EditTextObject* pCenter,
const EditTextObject* pRight ) :
@@ -936,15 +928,6 @@ ScEditEngineTextObj::~ScEditEngineTextObj() throw()
{
}
-void ScEditEngineTextObj::SetText( const String& rStr )
-{
- GetEditEngine()->SetText( rStr );
-
- ESelection aSel;
- ::GetSelection( aSel, GetEditSource()->GetTextForwarder() );
- SetSelection( aSel );
-}
-
void ScEditEngineTextObj::SetText( const EditTextObject& rTextObject )
{
GetEditEngine()->SetText( rTextObject );
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 0d25b29c0bc2..969c0d0bd20f 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewuno.cxx,v $
- * $Revision: 1.38 $
+ * $Revision: 1.37.24.3 $
*
* This file is part of OpenOffice.org.
*
@@ -462,15 +462,15 @@ void SAL_CALL ScViewPaneObj::release() throw()
// Default-ctor wird fuer SMART_REFLECTION_IMPLEMENTATION gebraucht
-ScTabViewObj::ScTabViewObj() :
- ScViewPaneBase( NULL, SC_VIEWPANE_ACTIVE ),
- SfxBaseController( NULL ),
- aPropSet( lcl_GetViewOptPropertyMap() ),
- aMouseClickHandlers( 0 ),
- aActivationListeners( 0 ),
- bDrawSelModeSet(sal_False)
-{
-}
+//UNUSED2008-05 ScTabViewObj::ScTabViewObj() :
+//UNUSED2008-05 ScViewPaneBase( NULL, SC_VIEWPANE_ACTIVE ),
+//UNUSED2008-05 SfxBaseController( NULL ),
+//UNUSED2008-05 aPropSet( lcl_GetViewOptPropertyMap() ),
+//UNUSED2008-05 aMouseClickHandlers( 0 ),
+//UNUSED2008-05 aActivationListeners( 0 ),
+//UNUSED2008-05 bDrawSelModeSet(sal_False)
+//UNUSED2008-05 {
+//UNUSED2008-05 }
ScTabViewObj::ScTabViewObj( ScTabViewShell* pViewSh ) :
ScViewPaneBase( pViewSh, SC_VIEWPANE_ACTIVE ),