[Libreoffice-commits] .: Branch 'feature/calc-xml-source' - sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 26 14:40:48 PDT 2012
sc/source/ui/inc/cellsh.hxx | 1 +
sc/source/ui/view/cellsh1.cxx | 5 +++++
sc/source/ui/view/cellsh2.cxx | 2 +-
3 files changed, 7 insertions(+), 1 deletion(-)
New commits:
commit dc94f80727fe18f5e00417b0f23ba09e80d14d6b
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Wed Sep 26 17:41:01 2012 -0400
Separate method to launch xml source dialog.
Change-Id: Iac7898d695cd7659f44944d6615a91d4e2b6a52e
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx
index 88043ce..c2f7f01 100644
--- a/sc/source/ui/inc/cellsh.hxx
+++ b/sc/source/ui/inc/cellsh.hxx
@@ -67,6 +67,7 @@ private:
const String& _rSource, sal_uLong _nRefresh, SfxRequest& _rRequest );
void ExecuteDataPilotDialog();
+ void ExecuteXMLSourceDialog();
void ExecuteSubtotals(SfxRequest& rReq);
DECL_LINK( ClipboardChanged, TransferableDataHelper* );
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index a1cdc8c..220896e 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2439,6 +2439,11 @@ void ScCellShell::ExecuteDataPilotDialog()
}
}
+void ScCellShell::ExecuteXMLSourceDialog()
+{
+ fprintf(stdout, "ScCellShell::ExecuteXMLSourceDialog: launch xml dialog\n");
+}
+
void ScCellShell::ExecuteSubtotals(SfxRequest& rReq)
{
ScTabViewShell* pTabViewShell = GetViewData()->GetViewShell();
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index f1d6395..0370dc4 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -746,7 +746,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
break;
case SID_MANAGE_XML_SOURCE:
- fprintf(stdout, "ScCellShell::ExecuteDB: SID_MANAGE_XML_SOURCE\n");
+ ExecuteXMLSourceDialog();
break;
case FID_VALIDATION:
{
More information about the Libreoffice-commits
mailing list