summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-03-06 10:21:05 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-03-06 10:22:07 +0900
commit2082dc5421a7d1e8447cddfca96df084abdc3cbc (patch)
tree9a93e5eef6216f546f824d1c672ea2c884565f23
parent7b8411810239683911ad7ef749ed7943038949b4 (diff)
Remove dead code
Change-Id: I922286ea88663402e813365cbf7993890d33e9de
-rw-r--r--sd/source/ui/func/futempl.cxx3
-rw-r--r--sfx2/source/appl/fileobj.cxx5
-rw-r--r--sfx2/source/dialog/dockwin.cxx9
3 files changed, 0 insertions, 17 deletions
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx
index 14a60352e0d2..da0c3ad39aa0 100644
--- a/sd/source/ui/func/futempl.cxx
+++ b/sd/source/ui/func/futempl.cxx
@@ -194,8 +194,6 @@ void FuTemplate::DoExecute( SfxRequest& rReq )
// Z.Z. geht immer noch der Dialog auf, um den Namen
// der Vorlage einzugeben.
mpView->AreObjectsMarked();
- if( sal_True )
- {
SfxStyleSheetBase *p = pSSPool->Find(aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_ALL );
if(p)
{
@@ -204,7 +202,6 @@ void FuTemplate::DoExecute( SfxRequest& rReq )
}
pStyleSheet = &pSSPool->Make( aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_USERDEF );
pStyleSheet->SetParent(String(SdResId(STR_STANDARD_STYLESHEET_NAME)));
- }
}
break;
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 )