summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/auditsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/auditsh.cxx')
-rw-r--r--sc/source/ui/view/auditsh.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx
index ea6d75cda660..136f15523203 100644
--- a/sc/source/ui/view/auditsh.cxx
+++ b/sc/source/ui/view/auditsh.cxx
@@ -23,6 +23,7 @@
#include <sfx2/objface.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/request.hxx>
+#include <sfx2/sidebar/EnumContext.hxx>
#include "auditsh.hxx"
#include "tabvwsh.hxx"
@@ -61,6 +62,7 @@ ScAuditingShell::ScAuditingShell(ScViewData* pData) :
}
SetHelpId( HID_SCSHELL_AUDIT );
SetName(OUString("Auditing"));
+ SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Auditing));
}
//------------------------------------------------------------------------
@@ -137,5 +139,4 @@ void ScAuditingShell::GetState( SfxItemSet& rSet )
rSet.Put( SfxBoolItem( nFunction, sal_True ) ); // aktive Funktion markieren
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */