diff options
-rw-r--r-- | connectivity/source/commontools/TSortIndex.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/TKeyValue.hxx | 1 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.hxx | 1 | ||||
-rw-r--r-- | tools/inc/impcont.hxx | 2 | ||||
-rw-r--r-- | tools/source/memtools/contnr.cxx | 38 | ||||
-rwxr-xr-x | unusedcode.easy | 14 | ||||
-rw-r--r-- | vcl/inc/vcl/spin.hxx | 1 | ||||
-rw-r--r-- | vcl/source/control/spinbtn.cxx | 12 |
9 files changed, 10 insertions, 69 deletions
diff --git a/connectivity/source/commontools/TSortIndex.cxx b/connectivity/source/commontools/TSortIndex.cxx index 6af714a915ce..a0fc73823167 100644 --- a/connectivity/source/commontools/TSortIndex.cxx +++ b/connectivity/source/commontools/TSortIndex.cxx @@ -135,10 +135,6 @@ void OSortIndex::Freeze() } // ----------------------------------------------------------------------------- -OKeyValue::OKeyValue() -{ -} -// ----------------------------------------------------------------------------- OKeyValue::OKeyValue(sal_Int32 nVal) : m_nValue(nVal) { diff --git a/connectivity/source/inc/TKeyValue.hxx b/connectivity/source/inc/TKeyValue.hxx index 9e07815313dd..b1df68b85209 100644 --- a/connectivity/source/inc/TKeyValue.hxx +++ b/connectivity/source/inc/TKeyValue.hxx @@ -31,7 +31,6 @@ namespace connectivity sal_Int32 m_nValue; protected: - OKeyValue(); OKeyValue(sal_Int32 nVal); public: diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 3e22e75b283c..a3c769da2bdf 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -599,12 +599,6 @@ sal_Int32 ScXMLExport::GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const return itr->second; } -bool ScXMLExport::HasDrawPages(uno::Reference <sheet::XSpreadsheetDocument>& xDoc) -{ - uno::Reference <beans::XPropertySet> xDocProps( xDoc, uno::UNO_QUERY ); - return (xDocProps.is() && ::cppu::any2bool( xDocProps->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_HASDRAWPAGES))) )); -} - namespace { /** diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx index dd7f8daa5531..f04e5482088d 100644 --- a/sc/source/filter/xml/xmlexprt.hxx +++ b/sc/source/filter/xml/xmlexprt.hxx @@ -131,7 +131,6 @@ class ScXMLExport : public SvXMLExport bool mbShowProgress; sal_Int32 GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const; - bool HasDrawPages(com::sun::star::uno::Reference <com::sun::star::sheet::XSpreadsheetDocument>& xDoc); void CollectSharedData(sal_Int32& nTableCount, sal_Int32& nShapesCount); void CollectShapesAutoStyles(const sal_Int32 nTableCount); void WriteTablesView(const com::sun::star::uno::Any& aTableView); diff --git a/tools/inc/impcont.hxx b/tools/inc/impcont.hxx index 455555bd93b3..87c36530c0e3 100644 --- a/tools/inc/impcont.hxx +++ b/tools/inc/impcont.hxx @@ -60,8 +60,6 @@ public: void** GetObjectPtr( sal_uInt16 nIndex ); void* GetObject( sal_uInt16 nIndex ) const; - void SetSize( sal_uInt16 nNewSize ); - sal_uInt16 GetSize() const { return nCount; } sal_uInt16 Count() const { return nCount; } void SetPrevBlock( CBlock* p ) { pPrev = p; } diff --git a/tools/source/memtools/contnr.cxx b/tools/source/memtools/contnr.cxx index 0b7c0d1479f8..b3232a246bb7 100644 --- a/tools/source/memtools/contnr.cxx +++ b/tools/source/memtools/contnr.cxx @@ -419,44 +419,6 @@ inline void** CBlock::GetObjectPtr( sal_uInt16 nIndex ) return &(pNodes[nIndex]); } -/************************************************************************* -|* -|* CBlock::SetSize() -|* -|* Beschreibung Aendert die Groesse des Blocks -|* -*************************************************************************/ - -void CBlock::SetSize( sal_uInt16 nNewSize ) -{ - DBG_CHKTHIS( CBlock, DbgCheckCBlock ); - DBG_ASSERT( nNewSize, "CBlock::SetSize(): nNewSize == 0" ); - - // Unterscheidet sich die Groesse - if ( nNewSize != nCount ) - { - // Array erweitern - void** pNewNodes = new PVOID[nNewSize]; - - // Alte Tabelle in die Neue kopieren - if ( nNewSize < nCount ) - memcpy( pNewNodes, pNodes, nNewSize*sizeof(PVOID) ); - else - { - memcpy( pNewNodes, pNodes, nCount*sizeof(PVOID) ); - - // Array mit 0 initialisieren - memset( pNewNodes+nCount, 0, (nNewSize-nCount)*sizeof(PVOID) ); - } - - // Altes Array loeschen und neue Werte setzen - nSize = nNewSize; - nCount = nSize; - delete[] pNodes; - pNodes = pNewNodes; - } -} - //------------------------------------------------------------------------ /************************************************************************* diff --git a/unusedcode.easy b/unusedcode.easy index d647416efea4..2efaa7ea0d6e 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -7,10 +7,8 @@ ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Loca ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&) -ScXMLExport::HasDrawPages(com::sun::star::uno::Reference<com::sun::star::sheet::XSpreadsheetDocument>&) SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>) SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&) -SpinButton::SpinButton(Window*, ResId const&) StgCache::Pos2Page(int) SvtSlideSorterBarOptions::AddListenerLink(Link const&) SvtSlideSorterBarOptions::RemoveListenerLink(Link const&) @@ -82,7 +80,6 @@ cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::u comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const -connectivity::OKeyValue::OKeyValue() connectivity::file::OStatement_Base::reset() connectivity::mozab::MQueryHelper::next() connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char) @@ -93,10 +90,19 @@ formula::FormulaTokenIterator::First() jfw_plugin::VendorBase::createInstance() oox::drawingml::TextParagraphProperties::dump() const oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&) +sd::ClientBox::GetMinOutputSizePixel() const +sd::ClientBox::RemoveUnlocked() +sd::ClientBox::SetScrollHdl(Link const&) +sd::ClientBox::checkEntries() +sd::ClientBox::checkIndex(int) const +sd::ClientBox::prepareChecking() +sd::ClientBox::removeEntry(sd::ClientInfo const&) +sd::ClientBox::updateEntry(sd::ClientInfo const&) +sd::Communicator::getTransmitter() sd::ImagePreparer::notesToHtml(unsigned int) sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) -sd::RemoteServer::pairClient() +sd::RemoteServer::connectClient(sd::ClientInfo*, rtl::OUString) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) sd::ViewShellBase::RegisterFactory(unsigned short) std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector() diff --git a/vcl/inc/vcl/spin.hxx b/vcl/inc/vcl/spin.hxx index b419788e0313..3966034c0938 100644 --- a/vcl/inc/vcl/spin.hxx +++ b/vcl/inc/vcl/spin.hxx @@ -57,7 +57,6 @@ private: public: SpinButton( Window* pParent, WinBits nStyle = 0 ); - SpinButton( Window* pParent, const ResId& rResId ); ~SpinButton(); virtual void Up(); diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx index d08938f590a3..6483ef520c31 100644 --- a/vcl/source/control/spinbtn.cxx +++ b/vcl/source/control/spinbtn.cxx @@ -69,18 +69,6 @@ SpinButton::SpinButton( Window* pParent, WinBits nStyle ) // ----------------------------------------------------------------------- -SpinButton::SpinButton( Window* pParent, const ResId& rResId ) - :Control( WINDOW_SPINBUTTON ) - ,mbUpperIsFocused( sal_False ) -{ - rResId.SetRT( RSC_SPINBUTTON ); - ImplInit( pParent, ImplInitRes( rResId ) ); - ImplLoadRes( rResId ); - Resize(); -} - -// ----------------------------------------------------------------------- - SpinButton::~SpinButton() { } |