summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textsh.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-07-27 11:40:32 +0000
committerArmin Le Grand <alg@apache.org>2013-07-27 11:40:32 +0000
commit8a6f84ce896f41a7a1f97b06d1e053c51cbba95e (patch)
tree0865afbfa9eb147e0a5be9759f932954cfb59e32 /sw/source/ui/shells/textsh.cxx
parent59ee09f905e86724a2ba5cdccab9210d16686820 (diff)
resync to trunk (close to AOO400)
Diffstat (limited to 'sw/source/ui/shells/textsh.cxx')
-rw-r--r--sw/source/ui/shells/textsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx
index 23e75780f162..907a6d981b86 100644
--- a/sw/source/ui/shells/textsh.cxx
+++ b/sw/source/ui/shells/textsh.cxx
@@ -108,6 +108,7 @@
#define TextFont
#define DropCap
#include <sfx2/msg.hxx>
+#include <sfx2/sidebar/EnumContext.hxx>
#include <swslots.hxx>
#include <SwRewriter.hxx>
#include <comcore.hrc>
@@ -1021,6 +1022,7 @@ SwTextShell::SwTextShell(SwView &_rView) :
{
SetName(String::CreateFromAscii("Text"));
SetHelpId(SW_TEXTSHELL);
+ SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Text));
}
/*--------------------------------------------------------------------
@@ -1208,5 +1210,3 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq )
}
}
}
-
-