summaryrefslogtreecommitdiff
path: root/sd
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 /sd
parent7b8411810239683911ad7ef749ed7943038949b4 (diff)
Remove dead code
Change-Id: I922286ea88663402e813365cbf7993890d33e9de
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/futempl.cxx3
1 files changed, 0 insertions, 3 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;