diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-06 10:21:05 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-06 10:22:07 +0900 |
commit | 2082dc5421a7d1e8447cddfca96df084abdc3cbc (patch) | |
tree | 9a93e5eef6216f546f824d1c672ea2c884565f23 /sfx2 | |
parent | 7b8411810239683911ad7ef749ed7943038949b4 (diff) |
Remove dead code
Change-Id: I922286ea88663402e813365cbf7993890d33e9de
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/fileobj.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 385b8b00e99b..da4412e42421 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -337,11 +337,6 @@ sal_Bool SvFileObject::GetGraphic_Impl( Graphic& rGrf, SvStream* pStream ) bDataReady = sal_True; bWaitForData = sal_False; } - else if( sal_False ) - { - // Set up Timer, to return back - pDownLoadData->aTimer.Start(); - } } } diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index d1b87e610f9c..327f76b0c617 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -1466,15 +1466,6 @@ SfxChildAlignment SfxDockingWindow::CalcAlignment(const Point& rPos, Rectangle& } else { - if ( 0 ) - { - // mouse touches outer border -> treated as floating mode - eDockAlign = SFX_ALIGN_NOALIGNMENT; - aDockingRect.SetSize( aFloatingSize ); - rRect = aDockingRect; - return eDockAlign; - } - // mouse touches inner border -> create new line if ( eDockAlign == GetAlignment() && pImp->pSplitWin && pImp->nLine == pImp->pSplitWin->GetLineCount()-1 && pImp->pSplitWin->GetWindowCount(pImp->nLine) == 1 ) |