diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-09 17:24:55 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-12 13:22:04 -0400 |
commit | 90f571cf964edea8ce6f6e37aeb1c36a8adfd226 (patch) | |
tree | 94a0455aaba92250a98504c6c373b2bb09857e94 /sc/inc | |
parent | 3d37dd2a484f82026750635d0ad26d7b531bb7a2 (diff) |
PostPasteFromClip to work with ScRangeList.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/rangelst.hxx | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/sc/inc/rangelst.hxx b/sc/inc/rangelst.hxx index cc2c83abea88..e497e49b4c42 100644 --- a/sc/inc/rangelst.hxx +++ b/sc/inc/rangelst.hxx @@ -39,20 +39,18 @@ class ScDocument; class SC_DLLPUBLIC ScRangeList : public SvRefBase { public: - ScRangeList() {} - ScRangeList( const ScRangeList& rList ); - virtual ~ScRangeList(); - ScRangeList& operator=(const ScRangeList& rList); - void Append( const ScRange& rRange ) - { - ScRange* pR = new ScRange( rRange ); - maRanges.push_back( pR ); - } - - sal_uInt16 Parse( const String&, ScDocument* = NULL, - sal_uInt16 nMask = SCA_VALID, - formula::FormulaGrammar::AddressConvention eConv = formula::FormulaGrammar::CONV_OOO, - sal_Unicode cDelimiter = 0 ); + ScRangeList(); + ScRangeList( const ScRangeList& rList ); + ScRangeList( const ScRange& rRange ); + virtual ~ScRangeList(); + + ScRangeList& operator=(const ScRangeList& rList); + void Append( const ScRange& rRange ); + + sal_uInt16 Parse( const String&, ScDocument* = NULL, + sal_uInt16 nMask = SCA_VALID, + formula::FormulaGrammar::AddressConvention eConv = formula::FormulaGrammar::CONV_OOO, + sal_Unicode cDelimiter = 0 ); void Format( String&, sal_uInt16 nFlags = 0, ScDocument* = NULL, formula::FormulaGrammar::AddressConvention eConv = formula::FormulaGrammar::CONV_OOO, |