summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbarange.cxx
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-02-26 13:27:15 +0000
committernpower Developer <npower@openoffice.org>2010-02-26 13:27:15 +0000
commit3a4b7f66c0c5309a8537e953ff22895f8b8d88e4 (patch)
treeb49829eef250ce2c1b3874e912e47bee91657f6b /sw/source/ui/vba/vbarange.cxx
parent26801698a4aa2e5bf20a0fc4c397597891657eed (diff)
npower14miscfixes: #i107591# apply caolans' fix for removing unused methods
Diffstat (limited to 'sw/source/ui/vba/vbarange.cxx')
-rw-r--r--sw/source/ui/vba/vbarange.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbarange.cxx b/sw/source/ui/vba/vbarange.cxx
index 2f1ee48ec5ef..647aedb34791 100644
--- a/sw/source/ui/vba/vbarange.cxx
+++ b/sw/source/ui/vba/vbarange.cxx
@@ -84,13 +84,13 @@ SwVbaRange::getXTextRange() throw (uno::RuntimeException)
uno::Reference< text::XTextRange > xTextRange( mxTextCursor, uno::UNO_QUERY_THROW );
return xTextRange;
}
-
+#ifdef TOMORROW
void SwVbaRange::setXTextRange( const uno::Reference< text::XTextRange >& xRange ) throw (uno::RuntimeException)
{
mxTextCursor->gotoRange( xRange->getStart(), sal_False );
mxTextCursor->gotoRange( xRange->getEnd(), sal_True );
}
-
+#endif
/**
* The complexity in this method is because we need to workaround
* an issue that the last paragraph in a document does not have a trailing CRLF.