diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-09 23:04:29 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 13:28:29 -0500 |
commit | 78ac5e853302566b191dd902ef75c1e16c48ccf1 (patch) | |
tree | d8d1660ecfccb09ee20ffcca4c5906b8c1344161 /sc | |
parent | f10c5f33c17093bac8dd09b1a3b6ea39bdb6020c (diff) |
Remove debug statements.
Change-Id: I3e3d4863bef27e91b95f9e6cbe5c2daa81ece0b2
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/orcus/orcusfiltersimpl.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/xmlsource/xmlsourcedlg.cxx | 7 |
2 files changed, 1 insertions, 10 deletions
diff --git a/sc/source/filter/orcus/orcusfiltersimpl.cxx b/sc/source/filter/orcus/orcusfiltersimpl.cxx index ba3701a5b6d9..258477064398 100644 --- a/sc/source/filter/orcus/orcusfiltersimpl.cxx +++ b/sc/source/filter/orcus/orcusfiltersimpl.cxx @@ -113,11 +113,8 @@ orcus::spreadsheet::iface::import_sheet* ScOrcusFactory::get_sheet(const char* s OUString aTabName(sheet_name, sheet_name_length, RTL_TEXTENCODING_UTF8); SCTAB nTab = -1; if (!mrDoc.GetTable(aTabName, nTab)) - { // Sheet by that name not found. - fprintf(stdout, "ScOrcusFactory::get_sheet: no such sheet!!! (%s)\n", rtl::OUStringToOString(aTabName, RTL_TEXTENCODING_UTF8).getStr()); return NULL; - } // See if we already have an orcus sheet instance by that index. boost::ptr_vector<ScOrcusSheet>::iterator it = @@ -349,7 +346,6 @@ public: InsertFieldPath(orcus::orcus_xml& rFilter) : mrFilter(rFilter) {} void operator() (const OString& rPath) { - fprintf(stdout, "InsertFieldPath::(): field path = '%s'\n", rPath.getStr()); mrFilter.append_field_link(rPath.getStr()); } }; diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx index 62d2f4070bd8..5f3a6e14f5a1 100644 --- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx +++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx @@ -125,8 +125,6 @@ void ScXMLSourceDlg::SetReference(const ScRange& rRange, ScDocument* pDoc) OUString aStr; rRange.aStart.Format(aStr, SCA_ABS_3D, pDoc, pDoc->GetAddressConvention()); mpActiveEdit->SetRefString(aStr); - - fprintf(stdout, "ScXMLSourceDlg::SetReference: ref str = '%s'\n", rtl::OUStringToOString(aStr, RTL_TEXTENCODING_UTF8).getStr()); } void ScXMLSourceDlg::Deactivate() @@ -431,9 +429,8 @@ void getFieldLinks(ScOrcusImportXMLParam::RangeLink& rRangeLink, const SvTreeLis { const SvTreeListEntry& rChild = *it; OUString aPath = getXPath(rTree, rChild); - const ScOrcusXMLTreeParam::EntryData* pUserData = ScOrcusXMLTreeParam::getUserData(rChild); - fprintf(stdout, "getFieldLinks: path = '%s' leaf = %d\n", rtl::OUStringToOString(aPath, RTL_TEXTENCODING_UTF8).getStr(), pUserData->mbLeafNode); + if (pUserData && pUserData->mbLeafNode) { if (!aPath.isEmpty()) @@ -510,8 +507,6 @@ void ScXMLSourceDlg::RefEditModified() ScAddress aLinkedPos; sal_uInt16 nRes = aLinkedPos.Parse(aRefStr, mpDoc, mpDoc->GetAddressConvention()); bool bValid = (nRes & SCA_VALID) == SCA_VALID; - fprintf(stdout, "ScXMLSourceDlg::RefEditModified: ref str = '%s' valid = %d\n", - rtl::OUStringToOString(aRefStr, RTL_TEXTENCODING_UTF8).getStr(), bValid); // TODO: For some unknown reason, setting the ref invalid will hide the text altogether. // Find out how to make this work. |