summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-12-03 17:48:40 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-12-03 17:58:48 +0100
commitd9ef61fb546af443736057557552e3a95c569c11 (patch)
tree40e42d1f7d3574150699cf9b3b254fbe58703e42 /sc/inc
parentb49ea0c9d24aa48d62590cb3443c3ad4143d2e2f (diff)
API CHANGE: roll back the XStyle changes to add a new Hidden property on Style
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scitems.hxx4
-rw-r--r--sc/inc/styleuno.hxx2
-rw-r--r--sc/inc/unonames.hxx1
3 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/scitems.hxx b/sc/inc/scitems.hxx
index e644854373f0..ea03478da05c 100644
--- a/sc/inc/scitems.hxx
+++ b/sc/inc/scitems.hxx
@@ -164,7 +164,9 @@
#define ATTR_PAGE_SCALETO 190 // #i8868# scale printout to width/height
-#define ATTR_ENDINDEX ATTR_PAGE_SCALETO // end of pool-range
+#define ATTR_HIDDEN 191
+
+#define ATTR_ENDINDEX ATTR_HIDDEN // end of pool-range
//--------------------------------
// Dummy Slot-IDs for dialogs
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx
index 00b90f189c6e..166405299bd4 100644
--- a/sc/inc/styleuno.hxx
+++ b/sc/inc/styleuno.hxx
@@ -256,8 +256,6 @@ public:
virtual void SAL_CALL setParentStyle( const ::rtl::OUString& aParentStyle )
throw(::com::sun::star::container::NoSuchElementException,
::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isHidden() throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setHidden( sal_Bool bHidden ) throw(::com::sun::star::uno::RuntimeException);
// XNamed
virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/inc/unonames.hxx b/sc/inc/unonames.hxx
index 167c10cfac35..5d95c21ae2ad 100644
--- a/sc/inc/unonames.hxx
+++ b/sc/inc/unonames.hxx
@@ -125,6 +125,7 @@
#define SC_UNONAME_ROTREF "RotateReference"
#define SC_UNONAME_ASIANVERT "AsianVerticalMode"
#define SC_UNONAME_WRITING "WritingMode"
+#define SC_UNONAME_HIDDEN "Hidden"
#define SC_UNONAME_BOTTBORDER "BottomBorder"
#define SC_UNONAME_LEFTBORDER "LeftBorder"