summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 10:26:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-20 12:44:06 +0100
commit5f69e451a01e92ff37bc26805b0bbf3663f60575 (patch)
treeaade726c397d1daa273b0919c1c8e2c6ebfb521b /sc/source/ui/app
parent137131842f34de41eddfa5c17768c26b30ef9404 (diff)
loplugin:duplicate-defines
just include the header file which has a shared definition Change-Id: I7412cc2c87ab1c757a82ac3f307a3a07c3289980 Reviewed-on: https://gerrit.libreoffice.org/85561 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/scmod.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index dfc13e4a0b8f..ac15258da6a3 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -87,6 +87,7 @@
#include <dragdata.hxx>
#include <markdata.hxx>
#include <transobj.hxx>
+#include <funcdesc.hxx>
#define ShellClass_ScModule
#include <scslots.hxx>
@@ -683,10 +684,6 @@ const ScDocOptions& ScModule::GetDocOptions()
return *m_pDocCfg;
}
-#ifndef LRU_MAX
-#define LRU_MAX 10
-#endif
-
void ScModule::InsertEntryToLRUList(sal_uInt16 nFIndex)
{
if(nFIndex != 0)