diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-18 11:51:41 -0430 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-08-20 06:40:48 +0200 |
commit | 6bd26237fddf4aeef091204c7ab52b8b6df90bbc (patch) | |
tree | 70d12fb2c78fb33db4011681e466f6b701634978 /sfx2/source | |
parent | e2075f36c27bd3e681c218143d3eb36631ac2e3e (diff) |
Hide template export option for remote repositories.
Change-Id: I065e6bb271d4fb646feaaf99a211fedff7edc83c
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 34e5713e27f2..e96283864544 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1258,7 +1258,8 @@ void SfxTemplateManagerDlg::switchMainView(bool bDisplayLocal) mpViewBar->HideItem(TBI_TEMPLATE_FOLDER_DEL); - // Enable deleting items from the filesystem + // Enable deleting and exporting items from the filesystem + mpTemplateBar->ShowItem(TBI_TEMPLATE_EXPORT); mpTemplateBar->ShowItem(TBI_TEMPLATE_DELETE); mpOnlineView->Hide(); @@ -1270,7 +1271,8 @@ void SfxTemplateManagerDlg::switchMainView(bool bDisplayLocal) mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_DEL); - // Disable deleting items from remote repositories + // Disable deleting and exporting items from remote repositories + mpTemplateBar->HideItem(TBI_TEMPLATE_EXPORT); mpTemplateBar->HideItem(TBI_TEMPLATE_DELETE); maView->Hide(); |