summaryrefslogtreecommitdiff
path: root/sc/inc/documentimport.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2017-12-07 21:58:16 -0500
committerKohei Yoshida <libreoffice@kohei.us>2017-12-18 02:32:56 +0100
commit599a23b17818bbeea85b6ab0b57401e4ff2cd5c0 (patch)
tree7d8646c1da5bdfe7da77f6e2c8a2149d19e9e4b4 /sc/inc/documentimport.hxx
parentd0197ae70a31e02f7ec3c251745470024b287418 (diff)
Take into account the fact that ScDocument already has one sheet.
ScDocument already has one sheet upon creation, so we need to avoid appending sheet when the request is for the first sheet. Change-Id: Ie5526d6791e545f5faa0bf3f16988351c09e94c8 Reviewed-on: https://gerrit.libreoffice.org/46658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc/documentimport.hxx')
-rw-r--r--sc/inc/documentimport.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index 00496cdaac2b..03f415c381cc 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -87,6 +87,7 @@ public:
SCTAB getSheetIndex(const OUString& rName) const;
SCTAB getSheetCount() const;
bool appendSheet(const OUString& rName);
+ void setSheetName(SCTAB nTab, const OUString& rName);
void setOriginDate(sal_uInt16 nYear, sal_uInt16 nMonth, sal_uInt16 nDay);