Kaydet (Commit) 0aeacaf4 authored tarafından Caolán McNamara's avatar Caolán McNamara

various unused code

üst f267b791
...@@ -167,12 +167,6 @@ public: ...@@ -167,12 +167,6 @@ public:
// DDE // DDE
long DdeExecute( const String& rCmd ); long DdeExecute( const String& rCmd );
long DdeGetData( const String& rItem,
const String& rMimeType,
::com::sun::star::uno::Any & rValue );
long DdeSetData( const String& rItem,
const String& rMimeType,
const ::com::sun::star::uno::Any & rValue );
sal_Bool InitializeDde(); sal_Bool InitializeDde();
const DdeService* GetDdeService() const; const DdeService* GetDdeService() const;
DdeService* GetDdeService(); DdeService* GetDdeService();
......
...@@ -113,7 +113,6 @@ public: ...@@ -113,7 +113,6 @@ public:
{ return aActualURL; } { return aActualURL; }
void SetActualURL( const INetURLObject& rURL ); void SetActualURL( const INetURLObject& rURL );
void SetActualURL( const String& rURL ); void SetActualURL( const String& rURL );
sal_Bool CheckContent() const;
void SetReadOnly( sal_Bool bSet ) { bReadOnly = bSet;} void SetReadOnly( sal_Bool bSet ) { bReadOnly = bSet;}
sal_Bool IsReadOnly( ) const { return bReadOnly;} sal_Bool IsReadOnly( ) const { return bReadOnly;}
void SetEditable( sal_Bool bSet ); void SetEditable( sal_Bool bSet );
......
...@@ -121,10 +121,6 @@ ...@@ -121,10 +121,6 @@
#include <sfx2/mnuitem.hxx> #include <sfx2/mnuitem.hxx>
#endif #endif
#if defined( WNT )
#define DDE_AVAILABLE
#endif
#include <unotools/saveopt.hxx> #include <unotools/saveopt.hxx>
#include <unotools/undoopt.hxx> #include <unotools/undoopt.hxx>
#include <svtools/helpopt.hxx> #include <svtools/helpopt.hxx>
...@@ -323,11 +319,10 @@ SfxApplication::SfxApplication() ...@@ -323,11 +319,10 @@ SfxApplication::SfxApplication()
RTL_LOGFILE_CONTEXT_TRACE( aLog, "{ initialize DDE" ); RTL_LOGFILE_CONTEXT_TRACE( aLog, "{ initialize DDE" );
#ifdef DDE_AVAILABLE sal_Bool bOk = InitializeDde();
#ifndef DBG_UTIL
InitializeDde(); #ifdef DBG_UTIL
#else if( !bOk )
if( !InitializeDde() )
{ {
rtl::OStringBuffer aStr( rtl::OStringBuffer aStr(
RTL_CONSTASCII_STRINGPARAM("No DDE-Service possible. Error: ")); RTL_CONSTASCII_STRINGPARAM("No DDE-Service possible. Error: "));
...@@ -337,7 +332,8 @@ SfxApplication::SfxApplication() ...@@ -337,7 +332,8 @@ SfxApplication::SfxApplication()
aStr.append('?'); aStr.append('?');
DBG_ASSERT( sal_False, aStr.getStr() ); DBG_ASSERT( sal_False, aStr.getStr() );
} }
#endif #else
(void)bOk;
#endif #endif
pSfxHelp = new SfxHelp; pSfxHelp = new SfxHelp;
......
...@@ -201,48 +201,6 @@ long SfxApplication::DdeExecute ...@@ -201,48 +201,6 @@ long SfxApplication::DdeExecute
return 1; return 1;
} }
//--------------------------------------------------------------------
long SfxApplication::DdeGetData
(
const String&, // the Item to be addressed
const String&, // in: Format
::com::sun::star::uno::Any& // out: requested data
)
/* [Description]
This method can be overloaded by application developers, to receive
DDE-data-requests directed to thier SfxApplication subclass.
The base implementation provides no data and returns 0.
*/
{
return 0;
}
//--------------------------------------------------------------------
long SfxApplication::DdeSetData
(
const String&, // the Item to be addressed
const String&, // in: Format
const ::com::sun::star::uno::Any& // out: requested data
)
/* [Description]
This method can be overloaded by application developers, to receive
DDE-data directed to thier SfxApplication subclass.
The base implementation is not receiving any data and returns 0.
*/
{
return 0;
}
long SfxObjectShell::DdeExecute long SfxObjectShell::DdeExecute
( (
const String& rCmd // Expressed in our BASIC-Syntax const String& rCmd // Expressed in our BASIC-Syntax
...@@ -436,11 +394,13 @@ long SfxViewFrame::DdeSetData ...@@ -436,11 +394,13 @@ long SfxViewFrame::DdeSetData
sal_Bool SfxApplication::InitializeDde() sal_Bool SfxApplication::InitializeDde()
{ {
int nError = 0;
#if defined( WNT )
DBG_ASSERT( !pAppData_Impl->pDdeService, DBG_ASSERT( !pAppData_Impl->pDdeService,
"Dde can not be initialized multiple times" ); "Dde can not be initialized multiple times" );
pAppData_Impl->pDdeService = new ImplDdeService( Application::GetAppName() ); pAppData_Impl->pDdeService = new ImplDdeService( Application::GetAppName() );
int nError = pAppData_Impl->pDdeService->GetError(); nError = pAppData_Impl->pDdeService->GetError();
if( !nError ) if( !nError )
{ {
pAppData_Impl->pDocTopics = new SfxDdeDocTopics_Impl; pAppData_Impl->pDocTopics = new SfxDdeDocTopics_Impl;
...@@ -458,6 +418,7 @@ sal_Bool SfxApplication::InitializeDde() ...@@ -458,6 +418,7 @@ sal_Bool SfxApplication::InitializeDde()
pAppData_Impl->pTriggerTopic = new SfxDdeTriggerTopic_Impl; pAppData_Impl->pTriggerTopic = new SfxDdeTriggerTopic_Impl;
pAppData_Impl->pDdeService2->AddTopic( *pAppData_Impl->pTriggerTopic ); pAppData_Impl->pDdeService2->AddTopic( *pAppData_Impl->pTriggerTopic );
} }
#endif
return !nError; return !nError;
} }
......
...@@ -119,12 +119,6 @@ sal_Bool SfxFrameDescriptor::IsEditable() const ...@@ -119,12 +119,6 @@ sal_Bool SfxFrameDescriptor::IsEditable() const
return pImp->bEditable; return pImp->bEditable;
} }
sal_Bool SfxFrameDescriptor::CheckContent() const
{
sal_Bool bRet = !( aURL == aActualURL );
return bRet;
}
SfxFrameDescriptor* SfxFrameDescriptor::Clone( sal_Bool bWithIds ) const SfxFrameDescriptor* SfxFrameDescriptor::Clone( sal_Bool bWithIds ) const
{ {
SfxFrameDescriptor *pFrame = new SfxFrameDescriptor; SfxFrameDescriptor *pFrame = new SfxFrameDescriptor;
......
...@@ -563,10 +563,6 @@ void SvPropertyLine::HideXButton() ...@@ -563,10 +563,6 @@ void SvPropertyLine::HideXButton()
aXButton.Hide(); aXButton.Hide();
Resize(); Resize();
} }
sal_Bool SvPropertyLine::IsVisibleXButton()
{
return bHasXButton;
}
void SvPropertyLine::ShowAsHyperLink(sal_Bool nFlag) void SvPropertyLine::ShowAsHyperLink(sal_Bool nFlag)
{ {
......
...@@ -261,7 +261,6 @@ public: ...@@ -261,7 +261,6 @@ public:
void ShowXButton(); void ShowXButton();
void HideXButton(); void HideXButton();
sal_Bool IsVisibleXButton();
void ShowAsHyperLink(sal_Bool nFlag=sal_True); void ShowAsHyperLink(sal_Bool nFlag=sal_True);
sal_Bool IsShownAsHyperlink(); sal_Bool IsShownAsHyperlink();
......
...@@ -763,10 +763,7 @@ SetOfByte::GetClearCount() const ...@@ -763,10 +763,7 @@ SetOfByte::GetClearCount() const
SetOfByte::GetSetBit(unsigned short) const SetOfByte::GetSetBit(unsigned short) const
SetOfByte::IsFull() const SetOfByte::IsFull() const
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*) SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxApplication::DdeGetData(String const&, String const&, com::sun::star::uno::Any&)
SfxApplication::DdeSetData(String const&, String const&, com::sun::star::uno::Any const&)
SfxApplication::EnterAsynchronCall_Impl() SfxApplication::EnterAsynchronCall_Impl()
SfxApplication::InitializeDde()
SfxApplication::LeaveAsynchronCall_Impl() SfxApplication::LeaveAsynchronCall_Impl()
SfxApplication::Main() SfxApplication::Main()
SfxBasicManagerHolder::isAnyContainerModified() const SfxBasicManagerHolder::isAnyContainerModified() const
...@@ -794,7 +791,6 @@ SfxFoundCacheArr_Impl::Remove(SfxFoundCache_Impl const*&, unsigned short) ...@@ -794,7 +791,6 @@ SfxFoundCacheArr_Impl::Remove(SfxFoundCache_Impl const*&, unsigned short)
SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short) SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short)
SfxFrame::GetBroadcaster() const SfxFrame::GetBroadcaster() const
SfxFrame::IsTop() const SfxFrame::IsTop() const
SfxFrameDescriptor::CheckContent() const
SfxFrameDescriptor::GetItemPos() const SfxFrameDescriptor::GetItemPos() const
SfxFrameDescriptor::GetSize() const SfxFrameDescriptor::GetSize() const
SfxFrameDescriptor::GetWallpaper() const SfxFrameDescriptor::GetWallpaper() const
...@@ -809,7 +805,6 @@ SfxItemPropertySetInfo::getMap() const ...@@ -809,7 +805,6 @@ SfxItemPropertySetInfo::getMap() const
SfxItemSetHint::SfxItemSetHint(SfxItemSet*) SfxItemSetHint::SfxItemSetHint(SfxItemSet*)
SfxListener::EndListening(unsigned short) SfxListener::EndListening(unsigned short)
SfxLockBytesItem::SfxLockBytesItem(unsigned short, SvLockBytes*) SfxLockBytesItem::SfxLockBytesItem(unsigned short, SvLockBytes*)
SfxMacro::GenerateSource() const
SfxMacro::GetMode() const SfxMacro::GetMode() const
SfxMacro::Record(SfxMacroStatement*) SfxMacro::Record(SfxMacroStatement*)
SfxMacro::Remove() SfxMacro::Remove()
...@@ -949,7 +944,6 @@ SvPropertyBox::SvPropertyBox(Window*, long) ...@@ -949,7 +944,6 @@ SvPropertyBox::SvPropertyBox(Window*, long)
SvPropertyLine::GetName() const SvPropertyLine::GetName() const
SvPropertyLine::IsLineLocked() SvPropertyLine::IsLineLocked()
SvPropertyLine::IsShownAsHyperlink() SvPropertyLine::IsShownAsHyperlink()
SvPropertyLine::IsVisibleXButton()
SvPropertyLine::SvPropertyLine(Window*, ResId const&) SvPropertyLine::SvPropertyLine(Window*, ResId const&)
SvPtrarr::Replace(void* const*, unsigned short, unsigned short) SvPtrarr::Replace(void* const*, unsigned short, unsigned short)
SvStringsISort::DeleteAndDestroy(unsigned short, unsigned short) SvStringsISort::DeleteAndDestroy(unsigned short, unsigned short)
...@@ -1865,7 +1859,6 @@ binfilter::EECharAttribArray::Remove(unsigned short, unsigned short) ...@@ -1865,7 +1859,6 @@ binfilter::EECharAttribArray::Remove(unsigned short, unsigned short)
binfilter::EECharAttribArray::Replace(binfilter::EECharAttrib const&, unsigned short) binfilter::EECharAttribArray::Replace(binfilter::EECharAttrib const&, unsigned short)
binfilter::EECharAttribArray::Replace(binfilter::EECharAttrib const*, unsigned short, unsigned short) binfilter::EECharAttribArray::Replace(binfilter::EECharAttrib const*, unsigned short, unsigned short)
binfilter::EECharAttribArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::EECharAttrib const&, void*), void*) binfilter::EECharAttribArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::EECharAttrib const&, void*), void*)
binfilter::EditEngine::IsModified() const
binfilter::GeometryIndexValueBucketMemArr::Insert(binfilter::GeometryIndexValueBucketMemArr const*, unsigned short, unsigned short, unsigned short) binfilter::GeometryIndexValueBucketMemArr::Insert(binfilter::GeometryIndexValueBucketMemArr const*, unsigned short, unsigned short, unsigned short)
binfilter::GeometryIndexValueBucketMemArr::Replace(char const*&, unsigned short) binfilter::GeometryIndexValueBucketMemArr::Replace(char const*&, unsigned short)
binfilter::GeometryIndexValueBucketMemArr::Replace(char const**, unsigned short, unsigned short) binfilter::GeometryIndexValueBucketMemArr::Replace(char const**, unsigned short, unsigned short)
...@@ -1884,7 +1877,6 @@ binfilter::OUStringsSort_Impl::Remove(unsigned short, unsigned short) ...@@ -1884,7 +1877,6 @@ binfilter::OUStringsSort_Impl::Remove(unsigned short, unsigned short)
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetBuffer() binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetBuffer()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetSize() binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetSize()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::PCodeBuffConvertor(unsigned char*, unsigned int) binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::PCodeBuffConvertor(unsigned char*, unsigned int)
binfilter::ReadThroughComponent(binfilter::SvStorage*, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any>, rtl::OUString const&, unsigned char)
binfilter::Registration::~Registration() binfilter::Registration::~Registration()
binfilter::SaveBookmarks::DeleteAndDestroy(unsigned short, unsigned short) binfilter::SaveBookmarks::DeleteAndDestroy(unsigned short, unsigned short)
binfilter::SbiGlobals::~SbiGlobals() binfilter::SbiGlobals::~SbiGlobals()
...@@ -1909,7 +1901,6 @@ binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormat* con ...@@ -1909,7 +1901,6 @@ binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormat* con
binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormats_Impl const*, unsigned short, unsigned short) binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormats_Impl const*, unsigned short, unsigned short)
binfilter::ScConditionalFormats_Impl::Remove(binfilter::ScConditionalFormat* const&, unsigned short) binfilter::ScConditionalFormats_Impl::Remove(binfilter::ScConditionalFormat* const&, unsigned short)
binfilter::ScConditionalFormats_Impl::Remove(unsigned short, unsigned short) binfilter::ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
binfilter::ScFieldChangerEditEngine::ScFieldChangerEditEngine(binfilter::SfxItemPool*, unsigned char)
binfilter::ScMultipleWriteHeader::ScMultipleWriteHeader(SvStream&, unsigned int) binfilter::ScMultipleWriteHeader::ScMultipleWriteHeader(SvStream&, unsigned int)
binfilter::ScMultipleWriteHeader::~ScMultipleWriteHeader() binfilter::ScMultipleWriteHeader::~ScMultipleWriteHeader()
binfilter::ScMyContentAction::~ScMyContentAction() binfilter::ScMyContentAction::~ScMyContentAction()
...@@ -1922,15 +1913,11 @@ binfilter::ScValidationEntries_Impl::Insert(binfilter::ScValidationData* const*, ...@@ -1922,15 +1913,11 @@ binfilter::ScValidationEntries_Impl::Insert(binfilter::ScValidationData* const*,
binfilter::ScValidationEntries_Impl::Insert(binfilter::ScValidationEntries_Impl const*, unsigned short, unsigned short) binfilter::ScValidationEntries_Impl::Insert(binfilter::ScValidationEntries_Impl const*, unsigned short, unsigned short)
binfilter::ScValidationEntries_Impl::Remove(binfilter::ScValidationData* const&, unsigned short) binfilter::ScValidationEntries_Impl::Remove(binfilter::ScValidationData* const&, unsigned short)
binfilter::ScValidationEntries_Impl::Remove(unsigned short, unsigned short) binfilter::ScValidationEntries_Impl::Remove(unsigned short, unsigned short)
binfilter::ScViewData::ReadUserDataSequence(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
binfilter::ScXMLImportWrapper::ScXMLImportWrapper(binfilter::ScDocument&, binfilter::SfxMedium*, binfilter::SvStorage*)
binfilter::SchXMLWrapper::SchXMLWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel>&, binfilter::SvStorage&, unsigned char)
binfilter::ScriptTypePosInfos::Insert(binfilter::ScriptTypePosInfos const*, unsigned short, unsigned short, unsigned short) binfilter::ScriptTypePosInfos::Insert(binfilter::ScriptTypePosInfos const*, unsigned short, unsigned short, unsigned short)
binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const&, unsigned short) binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const&, unsigned short)
binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const*, unsigned short, unsigned short) binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const*, unsigned short, unsigned short)
binfilter::ScriptTypePosInfos::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::ScriptTypePosInfo const&, void*), void*) binfilter::ScriptTypePosInfos::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::ScriptTypePosInfo const&, void*), void*)
binfilter::SdXMLFilter::SdXMLFilter(binfilter::SfxMedium&, binfilter::SdDrawDocShell&, unsigned char, binfilter::SdXMLFilterMode) binfilter::SdXMLFilter::SdXMLFilter(binfilter::SfxMedium&, binfilter::SdDrawDocShell&, unsigned char, binfilter::SdXMLFilterMode)
binfilter::SdrMarkList::InsertEntry(binfilter::SdrMark const&, bool)
binfilter::SdrUnoControlAccessArr::DeleteAndDestroy(unsigned short, unsigned short) binfilter::SdrUnoControlAccessArr::DeleteAndDestroy(unsigned short, unsigned short)
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const&, unsigned short&) binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const&, unsigned short&)
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const*, unsigned short) binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const*, unsigned short)
...@@ -1941,11 +1928,9 @@ binfilter::SfxItemModifyArr_Impl::Remove(unsigned short, unsigned short) ...@@ -1941,11 +1928,9 @@ binfilter::SfxItemModifyArr_Impl::Remove(unsigned short, unsigned short)
binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const&, unsigned short) binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const&, unsigned short)
binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const*, unsigned short, unsigned short) binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const*, unsigned short, unsigned short)
binfilter::SfxItemModifyArr_Impl::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::SfxItemModifyImpl const&, void*), void*) binfilter::SfxItemModifyArr_Impl::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::SfxItemModifyImpl const&, void*), void*)
binfilter::SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(unsigned char, SvStream*, unsigned short, unsigned char)
binfilter::SfxPtrArr::Insert(unsigned short, void*) binfilter::SfxPtrArr::Insert(unsigned short, void*)
binfilter::SfxPtrArr::Remove(void*) binfilter::SfxPtrArr::Remove(void*)
binfilter::SfxPtrArr::Replace(void*, void*) binfilter::SfxPtrArr::Replace(void*, void*)
binfilter::SfxSingleRecordWriter::SfxSingleRecordWriter(SvStream*, unsigned short, unsigned char)
binfilter::SfxUINT32s::Insert(binfilter::SfxUINT32s const*, unsigned short, unsigned short, unsigned short) binfilter::SfxUINT32s::Insert(binfilter::SfxUINT32s const*, unsigned short, unsigned short, unsigned short)
binfilter::SfxUINT32s::Remove(unsigned short, unsigned short) binfilter::SfxUINT32s::Remove(unsigned short, unsigned short)
binfilter::SfxUINT32s::Replace(unsigned int const&, unsigned short) binfilter::SfxUINT32s::Replace(unsigned int const&, unsigned short)
...@@ -1973,8 +1958,6 @@ binfilter::SvBytes::Insert(binfilter::SvBytes const*, unsigned short, unsigned s ...@@ -1973,8 +1958,6 @@ binfilter::SvBytes::Insert(binfilter::SvBytes const*, unsigned short, unsigned s
binfilter::SvBytes::Replace(unsigned char const&, unsigned short) binfilter::SvBytes::Replace(unsigned char const&, unsigned short)
binfilter::SvBytes::Replace(unsigned char const*, unsigned short, unsigned short) binfilter::SvBytes::Replace(unsigned char const*, unsigned short, unsigned short)
binfilter::SvBytes::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned char const&, void*), void*) binfilter::SvBytes::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned char const&, void*), void*)
binfilter::SvDataPipe_Impl::addMark(unsigned int)
binfilter::SvDataPipe_Impl::removeMark(unsigned int)
binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMapEntry_Impl* const&, unsigned short&) binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMapEntry_Impl* const&, unsigned short&)
binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMapEntry_Impl* const*, unsigned short) binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMapEntry_Impl* const*, unsigned short)
binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMap_Impl const*, unsigned short, unsigned short) binfilter::SvI18NMap_Impl::Insert(binfilter::SvI18NMap_Impl const*, unsigned short, unsigned short)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment