summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/insdlg.cxx7
-rw-r--r--cui/source/inc/insdlg.hxx1
-rw-r--r--sfx2/inc/sfx2/thumbnailview.hxx9
-rw-r--r--sfx2/source/control/thumbnailview.cxx69
-rw-r--r--sw/source/ui/inc/swvset.hxx7
-rw-r--r--sw/source/ui/misc/insrule.cxx6
-rwxr-xr-xunusedcode.easy32
7 files changed, 28 insertions, 103 deletions
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 9b0529ec8e40..de7e610653b4 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -91,13 +91,6 @@ uno::Reference< io::XInputStream > InsertObjectDialog_Impl::GetIconIfIconified(
return uno::Reference< io::XInputStream >();
}
-InsertObjectDialog_Impl::InsertObjectDialog_Impl( Window * pParent, const ResId & rResId, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage )
- : ModalDialog( pParent, rResId )
- , m_xStorage( xStorage )
- , aCnt( m_xStorage )
-{
-}
-
InsertObjectDialog_Impl::InsertObjectDialog_Impl(Window * pParent, const OString& rID,
const OUString& rUIXMLDescription,
const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage)
diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx
index 1f9daae52ab0..37fe1e2a7d73 100644
--- a/cui/source/inc/insdlg.hxx
+++ b/cui/source/inc/insdlg.hxx
@@ -44,7 +44,6 @@ protected:
const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& m_xStorage;
comphelper::EmbeddedObjectContainer aCnt;
- InsertObjectDialog_Impl( Window * pParent, const ResId & rResId, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage );
InsertObjectDialog_Impl(Window * pParent, const OString& rID,
const OUString& rUIXMLDescription,
const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage);
diff --git a/sfx2/inc/sfx2/thumbnailview.hxx b/sfx2/inc/sfx2/thumbnailview.hxx
index 12d28124f83c..084b3d13fbc3 100644
--- a/sfx2/inc/sfx2/thumbnailview.hxx
+++ b/sfx2/inc/sfx2/thumbnailview.hxx
@@ -179,16 +179,10 @@ public:
virtual ~ThumbnailView ();
- void InsertItem( sal_uInt16 nItemId,
- const BitmapEx &rImage, const OUString &rStr,
- size_t nPos = THUMBNAILVIEW_APPEND );
-
void RemoveItem( sal_uInt16 nItemId );
void Clear();
- size_t GetItemCount() const;
-
size_t GetItemPos( sal_uInt16 nItemId ) const;
sal_uInt16 GetItemId( size_t nPos ) const;
@@ -300,13 +294,10 @@ protected:
SFX2_DLLPRIVATE void ImplInitScrollBar();
SFX2_DLLPRIVATE void ImplDeleteItems();
SFX2_DLLPRIVATE void ImplDraw();
- using Window::ImplScroll;
- SFX2_DLLPRIVATE bool ImplScroll( const Point& rPos );
SFX2_DLLPRIVATE size_t ImplGetItem( const Point& rPoint, bool bMove = false ) const;
SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetItem( size_t nPos );
SFX2_DLLPRIVATE sal_uInt16 ImplGetVisibleItemCount() const;
SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetVisibleItem( sal_uInt16 nVisiblePos );
- SFX2_DLLPRIVATE void ImplInsertItem( ThumbnailViewItem *const pItem, const size_t nPos );
SFX2_DLLPRIVATE void ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue );
SFX2_DLLPRIVATE bool ImplHasAccessibleListeners();
DECL_DLLPRIVATE_LINK( ImplScrollHdl, ScrollBar* );
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 6741b59730d2..fd2d215b01e8 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -405,40 +405,6 @@ void ThumbnailView::CalculateItemPositions ()
delete pDelScrBar;
}
-bool ThumbnailView::ImplScroll( const Point& rPos )
-{
- if ( !mbScroll || !maItemListRect.IsInside(rPos) )
- return false;
-
- const long nScrollOffset = (mnItemHeight <= 16) ? SCROLL_OFFSET/2 : SCROLL_OFFSET;
- bool bScroll = false;
-
- if ( rPos.Y() <= maItemListRect.Top()+nScrollOffset )
- {
- if ( mnFirstLine > 0 )
- {
- --mnFirstLine;
- bScroll = true;
- }
- }
- else if ( rPos.Y() >= maItemListRect.Bottom()-nScrollOffset )
- {
- if ( mnFirstLine < static_cast<sal_uInt16>(mnLines-mnVisLines) )
- {
- ++mnFirstLine;
- bScroll = true;
- }
- }
-
- if ( !bScroll )
- return false;
-
- if ( IsReallyVisible() && IsUpdateMode() )
- Invalidate();
-
- return true;
-}
-
size_t ThumbnailView::ImplGetItem( const Point& rPos, bool bMove ) const
{
if ( !mbHasVisibleItems )
@@ -791,36 +757,6 @@ void ThumbnailView::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-void ThumbnailView::InsertItem( sal_uInt16 nItemId, const BitmapEx& rImage,
- const OUString& rText, size_t nPos )
-{
- ThumbnailViewItem* pItem = new ThumbnailViewItem( *this, this );
- pItem->mnId = nItemId;
- pItem->maPreview1 = rImage;
- pItem->maTitle = rText;
- pItem->setSelectClickHdl(LINK(this,ThumbnailView,OnItemSelected));
- ImplInsertItem( pItem, nPos );
-}
-
-void ThumbnailView::ImplInsertItem( ThumbnailViewItem *const pItem, const size_t nPos )
-{
- assert(pItem->mnId); // "ItemId == 0"
- assert(GetItemPos( pItem->mnId ) == THUMBNAILVIEW_ITEM_NOTFOUND); // ItemId already exists
-
- if ( nPos < mItemList.size() ) {
- ValueItemList::iterator it = mItemList.begin();
- ::std::advance( it, nPos );
- mItemList.insert( it, pItem );
- } else {
- mItemList.push_back( pItem );
- }
-
- CalculateItemPositions();
-
- if ( IsReallyVisible() && IsUpdateMode() )
- Invalidate();
-}
-
void ThumbnailView::RemoveItem( sal_uInt16 nItemId )
{
size_t nPos = GetItemPos( nItemId );
@@ -863,11 +799,6 @@ void ThumbnailView::Clear()
Invalidate();
}
-size_t ThumbnailView::GetItemCount() const
-{
- return mItemList.size();
-}
-
size_t ThumbnailView::GetItemPos( sal_uInt16 nItemId ) const
{
for ( size_t i = 0, n = mItemList.size(); i < n; ++i ) {
diff --git a/sw/source/ui/inc/swvset.hxx b/sw/source/ui/inc/swvset.hxx
index 7bc919d7fe83..6320472e9bfd 100644
--- a/sw/source/ui/inc/swvset.hxx
+++ b/sw/source/ui/inc/swvset.hxx
@@ -22,10 +22,9 @@
class SwRulerValueSet : public SvxBmpNumValueSet
{
- public:
- SwRulerValueSet(Window* pParent, const ResId& rResId);
- SwRulerValueSet(Window* pParent, WinBits nWinStyle);
- ~SwRulerValueSet();
+public:
+ SwRulerValueSet(Window* pParent, WinBits nWinStyle);
+ ~SwRulerValueSet();
virtual void UserDraw( const UserDrawEvent& rUDEvt );
};
#endif
diff --git a/sw/source/ui/misc/insrule.cxx b/sw/source/ui/misc/insrule.cxx
index 7b1b9490b11e..20a7af373853 100644
--- a/sw/source/ui/misc/insrule.cxx
+++ b/sw/source/ui/misc/insrule.cxx
@@ -91,12 +91,6 @@ OUString SwInsertGrfRulerDlg::GetGraphicName() const
return OUString();
}
-SwRulerValueSet::SwRulerValueSet( Window* pParent, const ResId& rResId )
- : SvxBmpNumValueSet(pParent, rResId)
-{
- SetStyle(GetStyle() & ~WB_ITEMBORDER);
-}
-
SwRulerValueSet::SwRulerValueSet(Window* pParent, WinBits nWinStyle)
: SvxBmpNumValueSet(pParent, nWinStyle)
{
diff --git a/unusedcode.easy b/unusedcode.easy
index 6c09c56c0852..5c54e28646b6 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,24 +1,39 @@
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
+LanguageTag::overrideDataPath(rtl::OUString const&)
RelatedMultipart::getIds()
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
-ScConditionalFormat::dumpInfo(rtl::OUStringBuffer&) const
+ScFiltersTest::testColorScaleODS()
+ScFiltersTest::testColorScaleXLSX()
ScMenuFloatingWindow::getDoc()
ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
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&)
-SvLBoxTreeList::Clone(SvListEntry*, unsigned long&) const
-SvLBoxTreeList::Prev(SvListEntry*, unsigned short*) const
SvTreeEntryList::front()
SvxAutoCorrect::DeleteText(String const&, unsigned short)
TextEngine::GetLeftMargin() const
-ThumbnailView::GetItemCount() const
-ThumbnailView::ImplScroll(Point const&)
-ThumbnailView::InsertItem(unsigned short, BitmapEx const&, rtl::OUString const&, unsigned long)
ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&)
Window::PostUserEvent(unsigned long&, unsigned long, void*)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
+apitest::XCellRangesQuery::testQueryFormulaCells()
+apitest::XDataPilotDescriptor::testGetHiddenFields()
+apitest::XDataPilotFieldGrouping::testCreateDateGroup()
+apitest::XElementAccess::testGetElementType()
+apitest::XElementAccess::testHasElements()
+apitest::XIndexAccess::XIndexAccess(int)
+apitest::XIndexAccess::testGetByIndex()
+apitest::XIndexAccess::testGetByIndexException()
+apitest::XIndexAccess::testGetCount()
+apitest::XNameContainer::XNameContainer()
+apitest::XNameReplace::testReplaceByName()
+apitest::XNamedRanges::XNamedRanges(rtl::OUString const&)
+apitest::XNamedRanges::testRemoveByName()
+apitest::XPropertySet::testAddPropertyChangeListener()
+apitest::XPropertySet::testAddVetoableChangeListener()
+apitest::XPropertySet::testRemovePropertyChangeListener()
+apitest::XPropertySet::testRemoveVetoableChangeListener()
+apitest::XSpreadsheetDocument::testGetSheets()
binfilter::ImpSvtData::~ImpSvtData()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetBuffer()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetSize()
@@ -78,9 +93,12 @@ framework::OReadMenuDocumentHandler::getServiceFactory()
jfw_plugin::VendorBase::createInstance()
oox::drawingml::TextListStyle::dump() const
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
+sc_apitest::main()
sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
sd::ToolPanelPaneShell::RegisterInterface(SfxModule*)
-sd::ViewShellBase::RegisterFactory(unsigned short)
+sd::ViewShellBase::CreateInstance(SfxViewFrame*, SfxViewShell*)
std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector()
std::__cxx1998::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~vector()
+test::BootstrapFixtureBase::getPathFromSolver(char const*)
+test::BootstrapFixtureBase::getURLFromSolver(char const*)