diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 08:04:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 10:11:44 +0000 |
commit | 90ca7d9e2423afccfaece5f7ffef7fcdd3b5b1e7 (patch) | |
tree | 4b2276cb495c416e7395bc6bc325da887eb815ad | |
parent | a796b8ae135861101df9e0af1c0ff40151d8b5c2 (diff) |
callcatcher: remove newly unused code
-rw-r--r-- | basic/inc/basic/sbmod.hxx | 1 | ||||
-rw-r--r-- | basic/source/classes/disas.cxx | 12 | ||||
-rw-r--r-- | basic/source/comp/sbcomp.cxx | 15 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 5 | ||||
-rw-r--r-- | svl/source/filepicker/pickerhistory.cxx | 18 | ||||
-rw-r--r-- | svtools/inc/svtools/fixedhyper.hxx | 91 | ||||
-rw-r--r-- | svtools/inc/svtools/taskbar.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/ttprops.hxx | 1 | ||||
-rw-r--r-- | svtools/source/control/fixedhyper.cxx | 82 | ||||
-rw-r--r-- | svtools/source/control/roadmap.cxx | 8 | ||||
-rw-r--r-- | svtools/source/control/taskstat.cxx | 64 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.cxx | 11 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.hxx | 1 | ||||
-rw-r--r-- | svtools/source/plugapp/ttprops.cxx | 12 | ||||
-rw-r--r-- | unusedcode.easy | 45 | ||||
-rw-r--r-- | vcl/inc/vcl/splitwin.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/status.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/splitwin.cxx | 42 | ||||
-rw-r--r-- | vcl/source/window/status.cxx | 18 |
19 files changed, 4 insertions, 425 deletions
diff --git a/basic/inc/basic/sbmod.hxx b/basic/inc/basic/sbmod.hxx index 346dbf7b8221..443ecdec184b 100644 --- a/basic/inc/basic/sbmod.hxx +++ b/basic/inc/basic/sbmod.hxx @@ -118,7 +118,6 @@ public: void SetSource32( const ::rtl::OUString& r ); virtual sal_Bool Compile(); - sal_Bool Disassemble( String& rText ); virtual sal_Bool IsCompiled() const; const SbxObject* FindType( String aTypeName ) const; diff --git a/basic/source/classes/disas.cxx b/basic/source/classes/disas.cxx index 2f31c59e6488..101ed3d90e87 100644 --- a/basic/source/classes/disas.cxx +++ b/basic/source/classes/disas.cxx @@ -233,18 +233,6 @@ static const char* _crlf() #endif } -// This method exists because we want to load the file as own segment -sal_Bool SbModule::Disassemble( String& rText ) -{ - rText.Erase(); - if( pImage ) - { - SbiDisas aDisas( this, pImage ); - aDisas.Disas( rText ); - } - return sal_Bool( rText.Len() != 0 ); -} - SbiDisas::SbiDisas( SbModule* p, const SbiImage* q ) : rImg( *q ), pMod( p ) { memset( cLabels, 0, 8192 ); diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx index 19d6484f7be6..42871d60146f 100644 --- a/basic/source/comp/sbcomp.cxx +++ b/basic/source/comp/sbcomp.cxx @@ -241,21 +241,6 @@ typedef std::hash_map< ::rtl::OUString, PCToTextDataMap*, ::rtl::OUStringHash, : ModuleTraceMap GaModuleTraceMap; ModuleTraceMap& rModuleTraceMap = GaModuleTraceMap; -static void lcl_PrepareTraceForModule( SbModule* pModule ) -{ - String aModuleName = pModule->GetName(); - ModuleTraceMap::iterator it = rModuleTraceMap.find( aModuleName ); - if( it != rModuleTraceMap.end() ) - { - PCToTextDataMap* pInnerMap = it->second; - delete pInnerMap; - rModuleTraceMap.erase( it ); - } - - String aDisassemblyStr; - pModule->Disassemble( aDisassemblyStr ); -} - static FILE* GpGlobalFile = NULL; static void lcl_lineOut( const char* pStr, const char* pPreStr = NULL, const char* pPostStr = NULL ) diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 3852e3bde2df..97dca67b0857 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -144,11 +144,6 @@ uno::Reference< frame::XModel > lcl_GetXModel( ScDocument * pDoc ) return xModel; } -uno::Reference< sheet::XSpreadsheetDocument > lcl_GetSpreadSheetDocument( ScDocument * pDoc ) -{ - return uno::Reference< sheet::XSpreadsheetDocument >( lcl_GetXModel( pDoc ), uno::UNO_QUERY ); -} - struct TokenTable : boost::noncopyable { SCROW mnRowCount; diff --git a/svl/source/filepicker/pickerhistory.cxx b/svl/source/filepicker/pickerhistory.cxx index f4b8b1bddc95..5570788d53e2 100644 --- a/svl/source/filepicker/pickerhistory.cxx +++ b/svl/source/filepicker/pickerhistory.cxx @@ -86,24 +86,6 @@ namespace svt // then push_back the picker _rHistory.push_back( InterfaceAdapter( _rxPicker ) ); } - - //----------------------------------------------------------------- - Reference< XInterface > implGetTopMostPicker( const InterfaceArray& _rHistory ) - { - Reference< XInterface > xTopMostAlive; - - //============================================================= - // search the first picker which is still alive ... - for ( InterfaceArray::const_reverse_iterator aLoop = _rHistory.rbegin(); - ( aLoop != _rHistory.rend() ) && !xTopMostAlive.is(); - ++aLoop - ) - { - xTopMostAlive = aLoop->get(); - } - - return xTopMostAlive; - } } //--------------------------------------------------------------------- diff --git a/svtools/inc/svtools/fixedhyper.hxx b/svtools/inc/svtools/fixedhyper.hxx index b12a83917ceb..b138d5743778 100644 --- a/svtools/inc/svtools/fixedhyper.hxx +++ b/svtools/inc/svtools/fixedhyper.hxx @@ -132,97 +132,6 @@ namespace svt /** sets new text and recalculates the text length. */ virtual void SetDescription( const String& rNewDescription ); }; - - //===================================================================== - //= FixedHyperlinkImage - //===================================================================== - class SVT_DLLPUBLIC FixedHyperlinkImage : public FixedImage - { - private: - Pointer m_aOldPointer; - Link m_aClickHdl; - String m_sURL; - - /** initializes the font (link color and underline). - - Called by the Ctors. - */ - void Initialize(); - - protected: - /** overwrites Window::MouseMove(). - - Changes the pointer only over the text. - */ - virtual void MouseMove( const MouseEvent& rMEvt ); - - /** overwrites Window::MouseButtonUp(). - - Calls the set link if the mouse is over the text. - */ - virtual void MouseButtonUp( const MouseEvent& rMEvt ); - - /** overwrites Window::RequestHelp(). - - Shows tooltip only if the mouse is over the text. - */ - virtual void RequestHelp( const HelpEvent& rHEvt ); - - public: - /** ctors - - With ResId or WinBits. - */ - FixedHyperlinkImage( Window* pParent, WinBits nWinStyle = 0 ); - - /** dtor - - */ - virtual ~FixedHyperlinkImage(); - - /** overwrites Window::GetFocus(). - - Changes the color of the text and shows a focus rectangle. - */ - virtual void GetFocus(); - - /** overwrites Window::LoseFocus(). - - Changes the color of the text and hides the focus rectangle. - */ - virtual void LoseFocus(); - - /** overwrites Window::KeyInput(). - - KEY_RETURN and KEY_SPACE calls the link handler. - */ - virtual void KeyInput( const KeyEvent& rKEvt ); - - /** sets <member>m_aClickHdl</member> with <arg>rLink</arg>. - - <member>m_aClickHdl</member> is called if the text is clicked. - */ - inline void SetClickHdl( const Link& rLink ) { m_aClickHdl = rLink; } - - /** returns <member>m_aClickHdl</member>. - - @return - <member>m_aClickHdl</member> - */ - inline const Link& GetClickHdl() const { return m_aClickHdl; } - - // ::toolkit::FixedHyperbaseLink - - /** sets the URL of the hyperlink and uses it as tooltip. */ - virtual void SetURL( const String& rNewURL ); - - /** returns the URL of the hyperlink. - - @return - <member>m_sURL</member> - */ - virtual String GetURL() const; - }; //......................................................................... } // namespace svt //......................................................................... diff --git a/svtools/inc/svtools/taskbar.hxx b/svtools/inc/svtools/taskbar.hxx index 9d2ed86f8892..c60a0aa2c720 100644 --- a/svtools/inc/svtools/taskbar.hxx +++ b/svtools/inc/svtools/taskbar.hxx @@ -291,7 +291,6 @@ private: SVT_DLLPRIVATE ImplTaskSBFldItem* ImplGetFieldItem( const Point& rPos, sal_Bool& rFieldRect ) const; SVT_DLLPRIVATE sal_Bool ImplUpdateClock(); SVT_DLLPRIVATE sal_Bool ImplUpdateFlashItems(); - SVT_DLLPRIVATE void ImplUpdateField( sal_Bool bItems ); DECL_DLLPRIVATE_LINK( ImplTimerHdl, Timer* ); #endif diff --git a/svtools/inc/svtools/ttprops.hxx b/svtools/inc/svtools/ttprops.hxx index 6d07b14dfee4..dc43c54c252d 100644 --- a/svtools/inc/svtools/ttprops.hxx +++ b/svtools/inc/svtools/ttprops.hxx @@ -62,7 +62,6 @@ class Bitmap; class SVT_DLLPUBLIC TTProperties : public ApplicationProperty { sal_uInt16 nDonePRs; // Verwaltung f�r die Properties, die nur einmal gerufen werden mussen. - SVT_DLLPRIVATE sal_Bool RequestProperty( sal_uInt16 nRequest ); sal_Bool HasSlots(){ return nPropertyVersion == TT_PROPERTIES_VERSION; } diff --git a/svtools/source/control/fixedhyper.cxx b/svtools/source/control/fixedhyper.cxx index 2fa3fd553c05..598218f2fe9d 100644 --- a/svtools/source/control/fixedhyper.cxx +++ b/svtools/source/control/fixedhyper.cxx @@ -136,88 +136,6 @@ void FixedHyperlink::SetDescription( const String& rNewDescription ) m_nTextLen = GetCtrlTextWidth( GetText() ); } -FixedHyperlinkImage::FixedHyperlinkImage( Window* pParent, WinBits nWinStyle ) : - FixedImage( pParent, nWinStyle ) -{ - Initialize(); -} - -FixedHyperlinkImage::~FixedHyperlinkImage() -{ -} - -void FixedHyperlinkImage::Initialize() -{ - // saves the old pointer - m_aOldPointer = GetPointer(); -} - -void FixedHyperlinkImage::MouseMove( const MouseEvent& rMEvt ) -{ - // changes the pointer if the control is enabled and the mouse is over the text. - if ( !rMEvt.IsLeaveWindow() && IsEnabled() ) - SetPointer( POINTER_REFHAND ); - else - SetPointer( m_aOldPointer ); -} - -void FixedHyperlinkImage::MouseButtonUp( const MouseEvent& ) -{ - // calls the link if the control is enabled and the mouse is over the text. - if ( IsEnabled() ) - ImplCallEventListenersAndHandler( VCLEVENT_BUTTON_CLICK, m_aClickHdl, this ); - - Size aSize = GetSizePixel(); - Size aImgSz = GetImage().GetSizePixel(); - if ( aSize.Width() < aImgSz.Width() ) - { - DBG_ERRORFILE("xxx"); - } -} - -void FixedHyperlinkImage::RequestHelp( const HelpEvent& rHEvt ) -{ - if ( IsEnabled() ) - FixedImage::RequestHelp( rHEvt ); -} - -void FixedHyperlinkImage::GetFocus() -{ - Paint( Rectangle( Point(), GetSizePixel() ) ); - ShowFocus( Rectangle( Point( 1, 1 ), Size( GetSizePixel().Width() - 2, GetSizePixel().Height() - 2 ) ) ); -} - -void FixedHyperlinkImage::LoseFocus() -{ - Paint( Rectangle( Point(), GetSizePixel() ) ); - HideFocus(); -} - -void FixedHyperlinkImage::KeyInput( const KeyEvent& rKEvt ) -{ - switch ( rKEvt.GetKeyCode().GetCode() ) - { - case KEY_SPACE: - case KEY_RETURN: - m_aClickHdl.Call( this ); - break; - - default: - FixedImage::KeyInput( rKEvt ); - } -} - -void FixedHyperlinkImage::SetURL( const String& rNewURL ) -{ - m_sURL = rNewURL; - SetQuickHelpText( m_sURL ); -} - -String FixedHyperlinkImage::GetURL() const -{ - return m_sURL; -} - //......................................................................... } // namespace svt //......................................................................... diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 4460ccc911e8..60c58530d111 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -107,8 +107,6 @@ namespace svt void SetIndex( ItemIndex _Index ); ItemIndex GetIndex() const; - ::rtl::OUString GetLabel( ); - void Update( ItemIndex _RMIndex, const ::rtl::OUString& _rText ); void SetPosition( RoadmapItem* OldHyperLabel ); @@ -792,12 +790,6 @@ namespace svt } //--------------------------------------------------------------------- - ::rtl::OUString RoadmapItem::GetLabel( ) - { - return mpDescription ? mpDescription->GetText() : String(); - } - - //--------------------------------------------------------------------- void RoadmapItem::SetPosition( RoadmapItem* _pOldItem ) { Point aIDPos; diff --git a/svtools/source/control/taskstat.cxx b/svtools/source/control/taskstat.cxx index 594163e50333..a074cf3c02bf 100644 --- a/svtools/source/control/taskstat.cxx +++ b/svtools/source/control/taskstat.cxx @@ -240,70 +240,6 @@ sal_Bool TaskStatusBar::ImplUpdateFlashItems() // ----------------------------------------------------------------------- -void TaskStatusBar::ImplUpdateField( sal_Bool bItems ) -{ - maTimer.Stop(); - - if ( bItems ) - { - mnItemWidth = 0; - mbFlashItems = sal_False; - mbOutInterval = sal_False; - for ( size_t i = 0, n = mpFieldItemList->size(); i < n; ++i ) { - ImplTaskSBFldItem* pItem = (*mpFieldItemList)[ i ]; - mnItemWidth += TASKSTATUSBAR_IMAGEOFFX; - pItem->mnOffX = mnItemWidth; - mnItemWidth += pItem->maItem.GetImage().GetSizePixel().Width(); - if ( pItem->maItem.GetFlags() & TASKSTATUSFIELDITEM_FLASH ) { - mbFlashItems = sal_True; - } - } - } - else - { - if ( mnFieldFlags & TASKSTATUSFIELD_CLOCK ) - { - XubString aStr = SvtSysLocale().GetLocaleData().getTime( Time( 23, 59, 59 ), sal_False, sal_False ); - mnClockWidth = GetTextWidth( aStr )+(TASKSTATUSBAR_CLOCXOFFX*2); - } - else - mnClockWidth = 0; - } - - long nNewWidth = mnItemWidth+mnClockWidth; - if ( mnItemWidth && !mnClockWidth ) - nNewWidth += TASKSTATUSBAR_IMAGEOFFX; - if ( nNewWidth != mnFieldWidth ) - { - RemoveItem( TASKSTATUSBAR_STATUSFIELDID ); - - if ( mnItemWidth || mnClockWidth ) - { - mnFieldWidth = nNewWidth; - long nOffset = GetItemOffset( TASKSTATUSBAR_STATUSFIELDID ); - sal_uInt16 nItemPos = GetItemPos( TASKSTATUSBAR_STATUSFIELDID ); - InsertItem( TASKSTATUSBAR_STATUSFIELDID, nNewWidth, SIB_RIGHT | SIB_IN | SIB_USERDRAW, nOffset, nItemPos ); - } - else - mnFieldWidth = 0; - - if ( mpNotifyTaskBar ) - mpNotifyTaskBar->Resize(); - } - else - SetItemData( TASKSTATUSBAR_STATUSFIELDID, NULL ); - - if ( mbFlashItems || (mnFieldFlags & TASKSTATUSFIELD_CLOCK) ) - { - ImplUpdateClock(); - mbOutInterval = sal_True; - ImplUpdateFlashItems(); - maTimer.Start(); - } -} - -// ----------------------------------------------------------------------- - void TaskStatusBar::MouseButtonDown( const MouseEvent& rMEvt ) { sal_Bool bFieldRect; diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx index 80ae25ba9298..4bad2d51b65a 100644 --- a/svtools/source/dialogs/filedlg2.cxx +++ b/svtools/source/dialogs/filedlg2.cxx @@ -1168,17 +1168,6 @@ void ImpFileDialog::SetPath( Edit const& rEdit ) SetPath( aPresetText ); } - -void ImpFileDialog::AddFilter( const UniString& rFilter, const UniString& rMask ) -{ - aFilterList.push_back( new ImpFilterItem( rFilter, rMask ) ); - if( pTypeList ) - pTypeList->InsertEntry( rFilter, LISTBOX_APPEND ); - - if( !GetCurFilter().Len() ) - SetCurFilter( rFilter ); -} - void ImpFileDialog::SetCurFilter( const UniString& rFilter ) { if( !pTypeList ) diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx index 7492c4b921b3..694fa012c006 100644 --- a/svtools/source/dialogs/filedlg2.hxx +++ b/svtools/source/dialogs/filedlg2.hxx @@ -158,7 +158,6 @@ public: ImpFileDialog( PathDialog* pDlg, WinBits nStyle, RESOURCE_TYPE nType ); virtual ~ImpFileDialog(); - void AddFilter( const String& rFilter, const String& rMask ); void SetCurFilter( const String& rFilter ); String GetCurFilter() const; diff --git a/svtools/source/plugapp/ttprops.cxx b/svtools/source/plugapp/ttprops.cxx index 6efb3679997c..c050df6d3c28 100644 --- a/svtools/source/plugapp/ttprops.cxx +++ b/svtools/source/plugapp/ttprops.cxx @@ -33,16 +33,4 @@ TYPEINIT1( TTProperties, ApplicationProperty ) -sal_Bool TTProperties::RequestProperty( sal_uInt16 nRequest ) -{ - if ( (( nRequest & TT_PR_ONCE ) == 0) || (nDonePRs & (nRequest & 0x0ff)) == 0 ) - { - nActualPR = nRequest; - nDonePRs |= nRequest; - GetpApp()->Property( *this ); - return nActualPR == 0; - } - return sal_True; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unusedcode.easy b/unusedcode.easy index 2164932ed2d7..f2482b3ccf07 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -4,10 +4,10 @@ AtomFolder::AtomFolder(AtomPubSession*, std::basic_string<char, std::char_traits AtomPubSession::getCollectionUrl(Collection::Type) AtomPubSession::~AtomPubSession() BitmapWriteAccess::DrawPolygon(Polygon const&) -BreakPointList::push_back(BreakPoint*) BufferNode::childAt(int) const ByteString::Assign(char const*, unsigned short) ByteString::Assign(char) +ByteString::ByteString(String const&, unsigned short, unsigned int) CIccCLUT::Interp3dTetra(float*, float const*) CIccCLUT::Iterate(IIccCLUTExec*) CIccFormulaCurveSegment::SetFunction(unsigned short, unsigned char, float*) @@ -95,7 +95,6 @@ ElementCollector::setSecurityId(int) ExtraKernInfo::HasKernPairs() const FieldEntry::GetBookmarkType() FileControl::SetButtonText(String const&) -FileDialog::FileDialog(Window*, long) FileList::GetFormat() FileStat::FileStat() FileStat::FileStat(void const*, void const*) @@ -240,23 +239,8 @@ OUStringsSort_Impl::Remove(rtl::OUString* const&, unsigned short) OUStringsSort_Impl::Remove(unsigned short, unsigned short) Octree::AddColor(BitmapColor const&) Octree::Octree(unsigned long) -OutputDevice::DrawNativeControlText(unsigned int, unsigned int, Rectangle const&, unsigned int, ImplControlValue const&, rtl::OUString) -OutputDevice::GetMinKashida(Font const&) const -OutputDevice::GetPixel(Polygon const&) const -OutputDevice::ImplFloatDevicePixelToLogicHeight(float) const -OutputDevice::ImplFloatDevicePixelToLogicWidth(float) const -OutputDevice::ImplFloatLogicWidthToDevicePixel(float) const -OutputDevice::ImplGetTextWidth(SalLayout const&) const -OutputDevice::IsTextUnderlineAbove(Font const&) -OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&) -OutputDevice::LogicToLogic(long*, unsigned short, MapMode const*, MapMode const*) const -OutputDevice::LogicToPixel(Region const&, MapMode const&) const -OutputDevice::LogicToPixel(basegfx::B2DPolyPolygon const&) const -OutputDevice::LogicToPixel(basegfx::B2DPolygon const&) const -OutputDevice::LogicToPixel(basegfx::B2DPolygon const&, MapMode const&) const -OutputDevice::PixelToLogic(Region const&, MapMode const&) const -OutputDevice::PixelToLogic(basegfx::B2DPolyPolygon const&) const -OutputDevice::PixelToLogic(basegfx::B2DPolygon const&) const +OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const +OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const PageSpan::getMarginLeft() const PageSpan::getMarginRight() const ParagraphObj::ParagraphObj(ParagraphObj&) @@ -284,6 +268,7 @@ SalColormap::SalColormap(BitmapPalette const&) SalColormap::SetPalette(BitmapPalette const&) SalDisplay::IsLocal() SalGraphics::DrawBitmap(SalTwoRect const*, SalBitmap const&, unsigned int, OutputDevice const*) +SalGraphics::DrawNativeControlText(unsigned int, unsigned int, Rectangle const&, unsigned int, ImplControlValue const&, rtl::OUString const&, OutputDevice const*) SalGraphics::drawAlphaBitmap(SalTwoRect const&, SalBitmap const&, SalBitmap const&) SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector const&, basegfx::B2DLineJoin) SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double) @@ -298,8 +283,6 @@ SbTextPortions::Replace(SbTextPortion const&, unsigned short) SbTextPortions::Replace(SbTextPortion const*, unsigned short, unsigned short) SbTextPortions::SbTextPortions(unsigned short, unsigned char) SbTextPortions::_ForEach(unsigned short, unsigned short, unsigned char (*)(SbTextPortion const&, void*), void*) -SbiBuffer::Add(void const*, unsigned short) -SbiBuffer::Align(int) SbiExprNode::IsString() SbiExpression::SbiExpression(SbiParser*, SbiToken) SbiExpression::SbiExpression(SbiParser*, String const&) @@ -320,11 +303,6 @@ SbxDecimal::getUShort(unsigned short&) SbxDecimal::setShort(short) SbxDecimal::setString(rtl::OUString*) SbxDecimal::setUShort(unsigned short) -SbxItem::SetDocument(basctl::ScriptDocument const&) -SbxItem::SetLibName(rtl::OUString const&) -SbxItem::SetMethodName(rtl::OUString const&) -SbxItem::SetName(rtl::OUString const&) -SbxItem::SetType(BasicIDEType) SbxValue::PutDecimal(SbxDecimal*) ScAddInAsyncs::Insert(ScAddInAsync* const&, unsigned short&) ScAddInAsyncs::Insert(ScAddInAsync* const*, unsigned short) @@ -390,7 +368,6 @@ ScLeftFooterEditPage::GetRanges() ScLeftHeaderEditPage::GetRanges() ScMatrix::CalcOffset(unsigned long, unsigned long) const ScModule::Find1RefWindow(Window*) -ScMultiTextWnd::GetLineCount() ScMyCellInfo::ScMyCellInfo() ScMyStyleRanges::SetStylesToRanges(ScRangeList*, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) ScMyStyleRanges::SetStylesToRanges(ScRangeListRef, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) @@ -567,18 +544,6 @@ SpinButton::SpinButton(Window*, ResId const&) SrchAttrItemList::Replace(SearchAttrItem const&, unsigned short) SrchAttrItemList::Replace(SearchAttrItem const*, unsigned short, unsigned short) SrchAttrItemList::_ForEach(unsigned short, unsigned short, unsigned char (*)(SearchAttrItem const&, void*), void*) -StatusBar::CopyItems(StatusBar const&) -StatusBar::GetItemBits(unsigned short) const -StatusBar::GetItemData(unsigned short) const -StatusBar::GetItemWidth(unsigned short) const -StatusBar::HideItem(unsigned short) -StatusBar::HideItems() -StatusBar::ResetProgressMode() -StatusBar::SetBottomBorder(unsigned char) -StatusBar::SetTopBorder(unsigned char) -StatusBar::ShowItem(unsigned short) -StatusBar::ShowItems() -StatusBar::StatusBar(Window*, ResId const&) StgAvlIterator::Last() StgCache::Pos2Page(int) StgHeader::SetClassId(ClsId const&) @@ -2219,8 +2184,6 @@ std::__cxx1998::vector<CntHTTPCookie*, std::allocator<CntHTTPCookie*> >::~vector std::__cxx1998::vector<OrderedEntry*, std::allocator<OrderedEntry*> >::~vector() std::__cxx1998::vector<ServiceInfo*, std::allocator<ServiceInfo*> >::~vector() std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector() -std::__cxx1998::vector<SotFactory*, std::allocator<SotFactory*> >::~vector() -std::__cxx1998::vector<com::sun::star::datatransfer::DataFlavor*, std::allocator<com::sun::star::datatransfer::DataFlavor*> >::~vector() svgi::(anonymous namespace)::appendChar(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) svt::table::TableControl::GoTo(int, int) svx::SvxShowCharSetItem::~SvxShowCharSetItem() diff --git a/vcl/inc/vcl/splitwin.hxx b/vcl/inc/vcl/splitwin.hxx index be20f39fcb20..f60de25a443c 100644 --- a/vcl/inc/vcl/splitwin.hxx +++ b/vcl/inc/vcl/splitwin.hxx @@ -118,7 +118,6 @@ private: SAL_DLLPRIVATE void ImplInitSettings(); SAL_DLLPRIVATE void ImplCalcLayout(); SAL_DLLPRIVATE void ImplUpdate(); - SAL_DLLPRIVATE void ImplUpdateSet( ImplSplitSet* pSet ); SAL_DLLPRIVATE void ImplSetWindowSize( long nDelta ); SAL_DLLPRIVATE void ImplSplitMousePos( Point& rMousePos ); SAL_DLLPRIVATE void ImplGetButtonRect( Rectangle& rRect, long nEx, sal_Bool bTest ) const; diff --git a/vcl/inc/vcl/status.hxx b/vcl/inc/vcl/status.hxx index 56cf7c7c6989..19a4801097c9 100644 --- a/vcl/inc/vcl/status.hxx +++ b/vcl/inc/vcl/status.hxx @@ -118,7 +118,6 @@ private: SAL_DLLPRIVATE void ImplCalcProgressRect(); SAL_DLLPRIVATE Rectangle ImplGetItemRectPos( sal_uInt16 nPos ) const; SAL_DLLPRIVATE sal_uInt16 ImplGetFirstVisiblePos() const; - SAL_DLLPRIVATE void ImplCalcBorder(); public: StatusBar( Window* pParent, diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index 7d13123cc6f5..f5da20628558 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -1629,48 +1629,6 @@ void SplitWindow::ImplUpdate() // ----------------------------------------------------------------------- -void SplitWindow::ImplUpdateSet( ImplSplitSet* pSet ) -{ - if ( IsReallyShown() && IsUpdateMode() && mbRecalc ) - { - // Wenn wir noch berechnen muessen, dann alles invalidieren. - if ( mbCalc ) - { - // Wenn nicht NOSPLITDRAW gesetzt ist, koennen wir uns das - // invalidieren sparen, da bei ImplCalcSet2() die freien flaechen - // sowieso invalidiert werden - if ( !mpMainSet->mpItems || (mnWinStyle & WB_NOSPLITDRAW) ) - pSet = mpMainSet; - else - return; - } - - Rectangle aRect; - if ( pSet == mpMainSet ) - { - aRect.Left() = mnLeftBorder; - aRect.Top() = mnTopBorder; - aRect.Right() = mnDX-mnRightBorder-1; - aRect.Bottom() = mnDY-mnBottomBorder-1; - } - else - { - ImplSplitItem* pItem; - sal_uInt16 nPos; - - pSet = ImplFindItem( mpMainSet, pSet->mnId, nPos ); - pItem = &(pSet->mpItems[nPos]); - aRect.Left() = pItem->mnLeft; - aRect.Top() = pItem->mnTop; - aRect.Right() = aRect.Left()+pItem->mnWidth; - aRect.Bottom() = aRect.Top()+pItem->mnHeight; - } - Invalidate( aRect ); - } -} - -// ----------------------------------------------------------------------- - void SplitWindow::ImplSplitMousePos( Point& rMousePos ) { if ( mnSplitTest & SPLIT_HORZ ) diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index b701697c0dd4..9ce138a0e588 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -1368,24 +1368,6 @@ rtl::OString StatusBar::GetHelpId( sal_uInt16 nItemId ) const return aRet; } -// ----------------------------------------------------------------------- - -void StatusBar::ImplCalcBorder( ) -{ - mnCalcHeight = mnDY; - // subtract border - if( IsTopBorder() ) - { - mnCalcHeight -= 2; - mnTextY += 2; - mnItemY += 2; - } - if ( IsBottomBorder() ) - mnCalcHeight -= 2; - mbFormat = sal_True; - Invalidate(); -} - sal_Bool StatusBar::IsTopBorder() const { return mpImplData->mbTopBorder; |