summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-24 13:12:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-24 15:40:22 +0100
commit6240967cfc6fe17534db9a64c24113ced3f720be (patch)
treefaf865e66dd50a6cd25f07cd0e79db37567e9512
parent9be6c22ebc225db4d1be7bb0100a2407e9a8eb0c (diff)
callcatcher: update unused code
Change-Id: I1f2a94cdcd4329af68d946ff0a74ddec4ac1c590
-rw-r--r--comphelper/source/misc/random.cxx6
-rw-r--r--include/comphelper/random.hxx4
-rw-r--r--include/svtools/treelistbox.hxx2
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx13
-rw-r--r--sc/source/ui/inc/gridwin.hxx2
-rw-r--r--sc/source/ui/inc/tabview.hxx2
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx19
-rw-r--r--sc/source/ui/view/gridwin.cxx11
-rw-r--r--sc/source/ui/view/tabview.cxx12
-rw-r--r--svtools/source/contnr/treelistbox.cxx5
-rw-r--r--svtools/source/inc/svimpbox.hxx7
-rw-r--r--unusedcode.easy7
12 files changed, 6 insertions, 84 deletions
diff --git a/comphelper/source/misc/random.cxx b/comphelper/source/misc/random.cxx
index d8e81c5175a9..0c6e83edd20a 100644
--- a/comphelper/source/misc/random.cxx
+++ b/comphelper/source/misc/random.cxx
@@ -59,12 +59,6 @@ struct RandomNumberGenerator
class theRandomNumberGenerator : public rtl::Static<RandomNumberGenerator, theRandomNumberGenerator> {};
-// re-initialises the state of the global random number generator
-void reseed(int i)
-{
- return theRandomNumberGenerator::get().global_rng.seed(i);
-}
-
// uniform ints [a,b] distribution
int uniform_int_distribution(int a, int b)
{
diff --git a/include/comphelper/random.hxx b/include/comphelper/random.hxx
index ca0d3dd2430b..080b5d246891 100644
--- a/include/comphelper/random.hxx
+++ b/include/comphelper/random.hxx
@@ -18,10 +18,6 @@ namespace comphelper
namespace rng
{
-/// reset initial seed, typically you don't call this as the initial seed is taken from the
-// time on the first use of the distribution functions
-COMPHELPER_DLLPUBLIC void reseed(int i);
-
// note that uniform_int_distribution is inclusive of b, i.e. [a,b] while
// uniform_real_distribution is exclusive of b, i.e. [a,b), std::nextafter may be your friend there
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index b96ecd2a5e44..7a5084d52508 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -757,8 +757,6 @@ public:
SvTreeListEntry* GetEntry( const Point& rPos, bool bHit = false ) const;
- long PaintEntry(SvTreeListEntry* pEntry, long nLine, vcl::RenderContext& rRenderContext,
- SvLBoxTabFlags nTabFlagMask = SvLBoxTabFlags::ALL);
virtual Rectangle GetFocusRect( SvTreeListEntry*, long nLine );
// Respects indentation
virtual sal_IntPtr GetTabPos( SvTreeListEntry*, SvLBoxTab* );
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 5f717ffd6a67..cb7a087f0ce4 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -171,19 +171,6 @@ public:
inline bool CanInputDone( bool bForced );
};
-class ScRefHdlModalImpl : public ModalDialog, public ScRefHandler
-{
-public:
-
- virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
- virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
-protected:
- ScRefHdlModalImpl(vcl::Window* pParent, const OUString& rID,
- const OUString& rUIXMLDescription);
-
-private:
-};
-
template< class TWindow, bool bBindRef = true >
class ScRefHdlrImplBase: public TWindow, public ScRefHandler
{
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index b4d2ef76d1e2..bfc9a9d82f1e 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -405,8 +405,6 @@ public:
void UpdateDPFromFieldPopupMenu();
bool UpdateVisibleRange();
- void SetInRefMode( bool bRefMode );
-
// #114409#
void CursorChanged();
void DrawLayerCreated();
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index d7e2a2dbf12e..40a4c430b6fa 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -514,8 +514,6 @@ public:
void SetDrawBrushSet( SfxItemSet* pNew, bool bLock );
void ResetBrushDocument();
- void SetInRefMode( bool bRefMode );
-
bool ContinueOnlineSpelling();
void EnableAutoSpell( bool bEnable );
void ResetAutoSpell();
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index aab5194546b7..078d8c08a625 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -1004,23 +1004,4 @@ void ScRefHandler::RefInputDone( bool bForced )
m_aHelper.RefInputDone( bForced );
}
-ScRefHdlModalImpl::ScRefHdlModalImpl(vcl::Window* pParent, const OUString& rID,
- const OUString& rUIXMLDescription)
- : ModalDialog( pParent, rID, rUIXMLDescription)
- , ScRefHandler(dynamic_cast<Window&>(*this), NULL, true)
-{
-}
-
-bool ScRefHdlModalImpl::PreNotify( NotifyEvent& rNEvt )
-{
- ScRefHandler::preNotify( rNEvt, true );
- return ModalDialog::PreNotify( rNEvt );
-}
-
-void ScRefHdlModalImpl::StateChanged( StateChangedType nStateChange )
-{
- ModalDialog::StateChanged( nStateChange );
- ScRefHandler::stateChanged( nStateChange, true );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index f4c7010027a6..89d9b1157e8d 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6543,15 +6543,4 @@ void ScGridWindow::flushOverlayManager()
xOverlayManager->flush();
}
-void ScGridWindow::SetInRefMode( bool bInRefMode )
-{
- WinBits nBits = GetStyle();
- if(bInRefMode)
- nBits |= WB_REFMODE;
- else
- nBits &= ~WB_REFMODE;
-
- SetStyle( nBits );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index ad23cc893ad4..5bdadfef84a6 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2243,18 +2243,6 @@ void ScTabView::EnableRefInput(bool bFlag)
pRowBar[SC_SPLIT_TOP]->EnableInput(bFlag,false);
}
-void ScTabView::SetInRefMode( bool bRefMode )
-{
- if(pGridWin[SC_SPLIT_BOTTOMLEFT])
- pGridWin[SC_SPLIT_BOTTOMLEFT]->SetInRefMode( bRefMode );
- if(pGridWin[SC_SPLIT_BOTTOMRIGHT])
- pGridWin[SC_SPLIT_BOTTOMRIGHT]->SetInRefMode( bRefMode );
- if(pGridWin[SC_SPLIT_TOPLEFT])
- pGridWin[SC_SPLIT_TOPLEFT]->SetInRefMode( bRefMode );
- if(pGridWin[SC_SPLIT_TOPRIGHT])
- pGridWin[SC_SPLIT_TOPRIGHT]->SetInRefMode( bRefMode );
-}
-
bool ScTabView::ContinueOnlineSpelling()
{
bool bChanged = false;
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index efb9b936e54b..9eaed195f786 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -2864,11 +2864,6 @@ void SvTreeListBox::InvalidateEntry(SvTreeListEntry* pEntry)
}
}
-long SvTreeListBox::PaintEntry(SvTreeListEntry* pEntry, long nLine, vcl::RenderContext& rRenderContext, SvLBoxTabFlags nTabFlags)
-{
- return PaintEntry1(pEntry, nLine, rRenderContext, nTabFlags);
-}
-
long SvTreeListBox::PaintEntry1(SvTreeListEntry* pEntry, long nLine, vcl::RenderContext& rRenderContext,
SvLBoxTabFlags nTabFlags, bool bHasClipRegion)
{
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index caf45482bb2f..552cf095062f 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -273,7 +273,6 @@ public:
void LoseFocus();
void UpdateAll( bool bInvalidateCompleteView= true, bool bUpdateVerSBar = true );
void SetEntryHeight( short nHeight );
- void PaintEntry(SvTreeListEntry* pEntry, vcl::RenderContext& rRenderContext);
void InvalidateEntry( SvTreeListEntry* );
void RecalcFocusRect();
@@ -403,12 +402,6 @@ inline Point SvImpLBox::GetEntryPosition( SvTreeListEntry* pEntry ) const
return Point( 0, GetEntryLine( pEntry ) );
}
-inline void SvImpLBox::PaintEntry(SvTreeListEntry* pEntry, vcl::RenderContext& rRenderContext)
-{
- long nY = GetEntryLine(pEntry);
- pView->PaintEntry(pEntry, nY, rRenderContext);
-}
-
inline bool SvImpLBox::IsLineVisible( long nY ) const
{
bool bRet = true;
diff --git a/unusedcode.easy b/unusedcode.easy
index b3008e600630..7f9c7349392a 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -55,7 +55,6 @@ Test::testCopyPasteSkipEmptyConditionalFormatting()
Test::testPerf()
Test::testSharedFormulaMoveBlock()
XclXmlUtils::ToOString(XclRange const&)
-XmlTestTools::parseXml(utl::TempFile&)
apitest::XCellRangesQuery::testQueryFormulaCells()
apitest::XDataPilotDescriptor::testGetHiddenFields()
apitest::XDataPilotFieldGrouping::testCreateDateGroup()
@@ -73,6 +72,7 @@ apitest::XSpreadsheetDocument::testGetSheets()
apitest::XText::testInsertRemoveTextContent()
basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
+chart::DataBrowser::SetCellModifiedHdl(Link<void*, long> const&)
comphelper::OAccessibleImplementationAccess::setStateBit(short, bool)
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(std::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&)
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
@@ -87,6 +87,7 @@ dbaui::OTableRowView::SetUpdatable(bool)
oglcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
oox::drawingml::TextListStyle::dump() const
+oox::xls::DefinedName::getTokens()
sc::CLBuildKernelThread::CLBuildKernelThread()
sc::CLBuildKernelThread::consume()
sc::CLBuildKernelThread::finish()
@@ -103,6 +104,10 @@ std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThr
vcl::IsWindowSystemAvailable()
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
vcl::Region::IsInside(Rectangle const&) const
+vcl::RenderSettings::PushAndApply(OutputDevice&)
+vcl::Window::DrawSelectionBackground(Rectangle const&, unsigned short, bool, bool, bool, Color*)
+vcl::Window::GetRenderSettings()
+vcl::Window::SetDoubleBuffering(bool)
vclcanvas::CanvasBitmapHelper::setData(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerRectangle2D const&)
vclcanvas::CanvasBitmapHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
vclcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)