diff options
-rw-r--r-- | sfx2/inc/sfx2/dinfdlg.hxx | 6 | ||||
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 23 | ||||
-rw-r--r-- | unusedcode.easy | 3 | ||||
-rw-r--r-- | vcl/inc/vcl/cmdevt.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/cmdevt.cxx | 14 |
5 files changed, 0 insertions, 47 deletions
diff --git a/sfx2/inc/sfx2/dinfdlg.hxx b/sfx2/inc/sfx2/dinfdlg.hxx index a8e9a6654472..115a6dfe34c9 100644 --- a/sfx2/inc/sfx2/dinfdlg.hxx +++ b/sfx2/inc/sfx2/dinfdlg.hxx @@ -512,7 +512,6 @@ public: void ClearAllLines(); void DoScroll( sal_Int32 nNewPos ); - bool DoesCustomPropertyExist( const String& rName ) const; ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetCustomProperties() const; void SetRemovedHdl( const Link& rLink ) { m_aRemovedHdl = rLink; } @@ -527,11 +526,8 @@ private: CustomPropertiesWindow m_aPropertiesWin; ScrollBar m_aVertScroll; - bool m_bIsInitialized; sal_Int32 m_nThumbPos; - void Initialize(); - DECL_LINK( ScrollHdl, ScrollBar* ); DECL_LINK( RemovedHdl, void* ); @@ -543,8 +539,6 @@ public: inline bool AreAllLinesValid() const { return m_aPropertiesWin.AreAllLinesValid(); } inline void ClearAllLines() { m_aPropertiesWin.ClearAllLines(); } - inline bool DoesCustomPropertyExist( const String& rName ) const - { return m_aPropertiesWin.DoesCustomPropertyExist( rName ); } inline ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetCustomProperties() const { return m_aPropertiesWin.GetCustomProperties(); } diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index a69a84490df4..76d512bc8114 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -2241,24 +2241,6 @@ void CustomPropertiesWindow::DoScroll( sal_Int32 nNewPos ) } } -bool CustomPropertiesWindow::DoesCustomPropertyExist( const String& rName ) const -{ - bool bRet = false; - std::vector< CustomPropertyLine* >::const_iterator pIter; - for ( pIter = m_aCustomPropertiesLines.begin(); - pIter != m_aCustomPropertiesLines.end(); ++pIter ) - { - CustomPropertyLine* pLine = *pIter; - if ( !pLine->m_bIsRemoved && pLine->m_aNameBox.GetText() == rName ) - { - bRet = true; - break; - } - } - - return bRet; -} - Sequence< beans::PropertyValue > CustomPropertiesWindow::GetCustomProperties() const { Sequence< beans::PropertyValue > aPropertiesSeq( m_aCustomPropertiesLines.size() ); @@ -2332,7 +2314,6 @@ CustomPropertiesControl::CustomPropertiesControl( Window* pParent, const ResId& m_aPropertiesWin( this, ResId( WIN_PROPERTIES, *rResId.GetResMgr() ) ), m_aVertScroll ( this, ResId( SB_VERTICAL, *rResId.GetResMgr() ) ), - m_bIsInitialized( false ), m_nThumbPos ( 0 ) { @@ -2377,10 +2358,6 @@ CustomPropertiesControl::~CustomPropertiesControl() { } -void CustomPropertiesControl::Initialize() -{ -} - IMPL_LINK( CustomPropertiesControl, ScrollHdl, ScrollBar*, pScrollBar ) { sal_Int32 nOffset = m_aPropertiesWin.GetLineHeight(); diff --git a/unusedcode.easy b/unusedcode.easy index 594d044b056f..c1f7c2f566bf 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -77,7 +77,6 @@ CharPosArray::Replace(int const*, unsigned short, unsigned short) CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*) CloneList::Count() const Color::IncreaseContrast(unsigned char) -CommandExtTextInputData::CommandExtTextInputData() CommunicationLinkList::DeleteAndDestroy(unsigned short, unsigned short) CommunicationLinkList::Insert(CommunicationLink const*&, unsigned short&) CommunicationLinkList::Insert(CommunicationLink const**, unsigned short) @@ -92,8 +91,6 @@ CurrencyBox::InsertValue(long, unsigned short) CurrencyBox::RemoveValue(long) CurrencyField::CurrencyField(Window*, ResId const&) CurrencyFormatter::SetCurrencySymbol(String const&) -CustomPropertiesControl::Initialize() -CustomPropertiesWindow::DoesCustomPropertyExist(String const&) const CustomToolBarImportHelper::showToolbar(rtl::OUString const&) DateBox::GetDate(unsigned short) const DateBox::GetDatePos(Date const&) const diff --git a/vcl/inc/vcl/cmdevt.hxx b/vcl/inc/vcl/cmdevt.hxx index c71160b3fce1..77c994cf4c2b 100644 --- a/vcl/inc/vcl/cmdevt.hxx +++ b/vcl/inc/vcl/cmdevt.hxx @@ -63,7 +63,6 @@ private: sal_Bool mbOnlyCursor; public: - CommandExtTextInputData(); CommandExtTextInputData( const XubString& rText, const sal_uInt16* pTextAttr, xub_StrLen nCursorPos, diff --git a/vcl/source/window/cmdevt.cxx b/vcl/source/window/cmdevt.cxx index 1fa77a3621cd..561123e8c81b 100644 --- a/vcl/source/window/cmdevt.cxx +++ b/vcl/source/window/cmdevt.cxx @@ -33,20 +33,6 @@ #include <vcl/cmdevt.hxx> -// ======================================================================= - -CommandExtTextInputData::CommandExtTextInputData() -{ - mpTextAttr = NULL; - mnCursorPos = 0; - mnDeltaStart = 0; - mnOldTextLen = 0; - mnCursorFlags = 0; - mbOnlyCursor = sal_False; -} - -// ----------------------------------------------------------------------- - CommandExtTextInputData::CommandExtTextInputData( const XubString& rText, const sal_uInt16* pTextAttr, xub_StrLen nCursorPos, |