summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-28 22:57:23 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-29 00:04:23 -0500
commit380b7827d3ce74182195b4e02aeafaa026dc81f1 (patch)
tree43ec96de5f7337d87f3662d95fd54e6a8e2fcfa3 /sc/inc
parent7a16f31752990abd1d0d4afc682259b67f24ea60 (diff)
fdo#32826: Finally return the real selected sheets, and use it.
This should solve the problem reported in fdo#32826, which is, when printing from print preview window always prints all sheets regardless of currently selected sheets.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/markdata.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index ef2671d82b51..b3c9528b781f 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -89,7 +89,9 @@ public:
SCTAB GetSelectCount() const;
SCTAB GetFirstSelected() const;
SCTAB GetLastSelected() const;
- void GetSelectedTabs(MarkedTabsType& rTabs) const;
+
+ const MarkedTabsType& GetSelectedTabs() const;
+ void SetSelectedTabs(const MarkedTabsType& rTabs);
void SetMarkNegative( bool bFlag ) { bMarkIsNeg = bFlag; }
bool IsMarkNegative() const { return bMarkIsNeg; }