summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 09:39:26 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:17:00 +0200
commit7e6981c3ea98ca06b7c7eb7828a08c64ffa4f7e0 (patch)
tree29432787f0829eed5900a7fe4f8ff9c6b9315094 /sc
parent265aea232cca7ce148545662f2a030c7d586ed3a (diff)
remove unused method sc::DataStream::ToMoveType(rtl::OUString const&)
Change-Id: I76a677df30649b42c22f6c72525717b8224d2f79
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/datastream.cxx12
-rw-r--r--sc/source/ui/inc/datastream.hxx2
2 files changed, 0 insertions, 14 deletions
diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx
index a2fa4e474287..1b712700b934 100644
--- a/sc/source/ui/docshell/datastream.cxx
+++ b/sc/source/ui/docshell/datastream.cxx
@@ -312,18 +312,6 @@ DataStream* DataStream::Set(
return pLink;
}
-DataStream::MoveType DataStream::ToMoveType( const OUString& rMoveStr )
-{
- if (rMoveStr == "RANGE_DOWN")
- return RANGE_DOWN;
- if (rMoveStr == "MOVE_DOWN")
- return MOVE_DOWN;
- if (rMoveStr == "MOVE_UP")
- return MOVE_UP;
-
- return NO_MOVE; // default
-}
-
DataStream::DataStream(ScDocShell *pShell, const OUString& rURL, const ScRange& rRange,
sal_Int32 nLimit, MoveType eMove, sal_uInt32 nSettings) :
mpDocShell(pShell),
diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx
index 5600a09c1eb4..9233f854a35a 100644
--- a/sc/source/ui/inc/datastream.hxx
+++ b/sc/source/ui/inc/datastream.hxx
@@ -72,8 +72,6 @@ public:
static DataStream* Set(ScDocShell *pShell, const OUString& rURL, const ScRange& rRange,
sal_Int32 nLimit, MoveType eMove, sal_uInt32 nSettings);
- static MoveType ToMoveType( const OUString& rMoveStr );
-
DataStream(
ScDocShell *pShell, const OUString& rURL, const ScRange& rRange,
sal_Int32 nLimit, MoveType eMove, sal_uInt32 nSettings);