summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-06 14:29:55 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-06 14:29:55 -0500
commite64c291c5fd1d3ff625dc118ad7e0460df03eb78 (patch)
tree2dd628d1ecbecd11a5b5b87c860410d3611cb482 /sc/source/ui/view/cellsh2.cxx
parent28ff7a37e66c8746a0b176b4ea25e20c1cd135c5 (diff)
I think it's time we had a real method for this...
This helps eliminate dozens of IS_AVAILABLE macros scattered across Calc code. I'm sure we have other similar macros like this elsewhere.
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index a51e8b91afe0..210277fa12ec 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -78,11 +78,6 @@
using namespace com::sun::star;
-#define IS_AVAILABLE(WhichId,ppItem) \
- (pReqArgs->GetItemState((WhichId), sal_True, ppItem ) == SFX_ITEM_SET)
-
-//------------------------------------------------------------------
-
bool lcl_GetTextToColumnsRange( const ScViewData* pData, ScRange& rRange )
{
OSL_ENSURE( pData, "lcl_GetTextToColumnsRange: pData is null!" );