summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-05-23 09:18:52 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-24 09:46:44 +0000
commit8b8159784821b7ddf031aec925353c274a10875e (patch)
tree3004cc39304236288e3f23e1c4b8ae80a6d27242 /svl
parent2e2a13e7160f258982b09125f5e32acd267b3f3a (diff)
Implement basic TableStyle Family
Change-Id: I3da13d26ced05e1948d483d432d6268b10c208b5 Implementing: getCount, getElementNames Reviewed-on: https://gerrit.libreoffice.org/25351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/IndexedStyleSheets.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svl/source/items/IndexedStyleSheets.cxx b/svl/source/items/IndexedStyleSheets.cxx
index 1b1b54eb4bd9..260ae109f791 100644
--- a/svl/source/items/IndexedStyleSheets.cxx
+++ b/svl/source/items/IndexedStyleSheets.cxx
@@ -19,7 +19,7 @@ using rtl::OUString;
namespace {
-const size_t NUMBER_OF_FAMILIES = 6;
+const size_t NUMBER_OF_FAMILIES = 7;
size_t family_to_index(SfxStyleFamily family)
{
switch (family) {
@@ -33,8 +33,10 @@ size_t family_to_index(SfxStyleFamily family)
return 3;
case SfxStyleFamily::Pseudo:
return 4;
- case SfxStyleFamily::All:
+ case SfxStyleFamily::Table:
return 5;
+ case SfxStyleFamily::All:
+ return 6;
default: break;
}
assert(false); // only for compiler warning. all cases are handled in the switch