summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-04-30 11:36:12 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:26 +0100
commit611c6c3a4ef96a5e986320f2f00adb04de51a303 (patch)
tree3197320d77ad1e2ec6caf87e81c0bae975bae329 /sfx2
parentabf9ef78d6f98abf31b55e9ee0528d81163e8f82 (diff)
Related: #i122056# Added another Writer variant to sidebar...
context handling. (cherry picked from commit 542f0ff097c0e3eb71a1ad19f6d46a9860e754d9) Conflicts: sfx2/inc/sfx2/sidebar/EnumContext.hxx Change-Id: Ib88f75d3dfdba5c14c2d3c747e90eecd00e6f249
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/EnumContext.cxx1
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/EnumContext.cxx b/sfx2/source/sidebar/EnumContext.cxx
index acc5340059b0..ce1d7435b019 100644
--- a/sfx2/source/sidebar/EnumContext.cxx
+++ b/sfx2/source/sidebar/EnumContext.cxx
@@ -157,6 +157,7 @@ void EnumContext::ProvideApplicationContainers (void)
AddEntry(A2S("com.sun.star.text.GlobalDocument"), EnumContext::Application_WriterGlobal);
AddEntry(A2S("com.sun.star.text.WebDocument"), EnumContext::Application_WriterWeb);
AddEntry(A2S("com.sun.star.xforms.XMLFormDocument"), EnumContext::Application_WriterXML);
+ AddEntry(A2S("com.sun.star.sdb.FormDesign"), EnumContext::Application_WriterForm);
AddEntry(A2S("com.sun.star.sheet.SpreadsheetDocument"), EnumContext::Application_Calc);
AddEntry(A2S("com.sun.star.drawing.DrawingDocument"), EnumContext::Application_Draw);
AddEntry(A2S("com.sun.star.presentation.PresentationDocument"), EnumContext::Application_Impress);
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 725471a27195..26d6e4d8f0ef 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -435,6 +435,7 @@ void ResourceManager::ReadContextList (
aApplications.push_back(EnumContext::Application_WriterGlobal);
aApplications.push_back(EnumContext::Application_WriterWeb);
aApplications.push_back(EnumContext::Application_WriterXML);
+ aApplications.push_back(EnumContext::Application_WriterForm);
}
else
{