summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ContextList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/ContextList.cxx')
-rw-r--r--sfx2/source/sidebar/ContextList.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/ContextList.cxx b/sfx2/source/sidebar/ContextList.cxx
index a64b43a8f5af..20cdcbc8806b 100644
--- a/sfx2/source/sidebar/ContextList.cxx
+++ b/sfx2/source/sidebar/ContextList.cxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "ContextList.hxx"
-#include "Context.hxx"
+#include <sfx2/sidebar/ContextList.hxx>
+#include <sfx2/sidebar/Context.hxx>
using ::rtl::OUString;
@@ -85,6 +85,11 @@ void ContextList::AddContextDescription (
maEntries.back().msMenuCommand = rsMenuCommand;
}
+sal_Int32 ContextList::GetCount()
+{
+ return maEntries.size();
+}
+
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */