summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshe3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r--sd/source/ui/view/viewshe3.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 24517015a02f..a23c752b5670 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -103,9 +103,7 @@ void ViewShell::GetMenuState( SfxItemSet &rSet )
if( pStyleSheet )
{
- SfxStyleFamily eFamily = pStyleSheet->GetFamily();
- nFamily = SfxTemplate::SfxFamilyIdToNId(eFamily);
- GetDocSh()->SetStyleFamily(nFamily);
+ GetDocSh()->SetStyleFamily(pStyleSheet->GetFamily());
}
}
}