diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-11-13 11:19:33 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-11-13 11:46:23 +0100 |
commit | 5ad65cf4d8afb66c3da8034046d08b7399c1016c (patch) | |
tree | e2d3b1037366cc86a261c4caff54241b79028cb2 /sc/source/ui | |
parent | 22a7c9c0a6301ab497d91e0370164c3c9e3cf988 (diff) |
remove broken friend declaration and make methods public instead
Change-Id: I59b1a89cdd1269e6245bad9491916dfd1bcecea7
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/inc/datastreams.hxx | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/sc/source/ui/inc/datastreams.hxx b/sc/source/ui/inc/datastreams.hxx index 124ebefc5c35..8233be1f492e 100644 --- a/sc/source/ui/inc/datastreams.hxx +++ b/sc/source/ui/inc/datastreams.hxx @@ -16,7 +16,6 @@ #include <boost/scoped_ptr.hpp> namespace datastreams { class CallerThread; } -namespace { class DataStreamsDlg; } class ScDocShell; class ScDocument; class ScRange; @@ -25,8 +24,19 @@ class Window; class DataStreams : boost::noncopyable { - friend DataStreamsDlg; +public: enum MoveEnum { NO_MOVE, RANGE_DOWN, MOVE_DOWN, MOVE_UP }; + DataStreams(ScDocShell *pScDocShell); + ~DataStreams(); + bool ImportData(); + void MoveData(); + void Set(const OUString& rUrl, bool bIsScript, const OUString& rRange, + sal_Int32 nLimit, MoveEnum eMove); + void ShowDialog(Window *pParent); + void Start(); + void Stop(); + +private: ScDocShell *mpScDocShell; ScDocument *mpScDocument; MoveEnum meMove; @@ -37,19 +47,6 @@ class DataStreams : boost::noncopyable boost::scoped_ptr<ScRange> mpEndRange; boost::scoped_ptr<SvStream> mpStream; rtl::Reference<datastreams::CallerThread> mxThread; - -public: - DataStreams(ScDocShell *pScDocShell); - ~DataStreams(); - bool ImportData(); - void ShowDialog(Window *pParent); - void Start(); - void Stop(); - -private: - void MoveData(); - void Set(const OUString& rUrl, bool bIsScript, const OUString& rRange, - sal_Int32 nLimit, MoveEnum eMove); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |