summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/docfunc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-22 14:24:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-23 09:39:06 +0000
commit88ec24a23a10af771879421360fe4330cbf174b0 (patch)
treed5622e99b476f3d9986f9f627f023d5410dc25a2 /sc/source/ui/inc/docfunc.hxx
parent275f777e824f56881184b8c4463c3766064c2335 (diff)
convert NAME constants to CreateNameFlags o3tl::typed_flags enum
Change-Id: I6265c76067402808454184f1318feeb78a140617 Reviewed-on: https://gerrit.libreoffice.org/35555 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/docfunc.hxx')
-rw-r--r--sc/source/ui/inc/docfunc.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index d3ec7e935ef1..7574e26ae630 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -47,7 +47,7 @@ class ScConditionalFormat;
class ScConditionalFormatList;
class ScUndoRemoveMerge;
enum class TransliterationFlags;
-
+enum class CreateNameFlags;
namespace sc {
struct ColRowSpan;
}
@@ -202,7 +202,7 @@ public:
*/
void ModifyAllRangeNames(const std::map<OUString, std::unique_ptr<ScRangeName>>& rRangeMap);
- bool CreateNames( const ScRange& rRange, sal_uInt16 nFlags, bool bApi, SCTAB nTab = -1 ); // -1 for global range names
+ bool CreateNames( const ScRange& rRange, CreateNameFlags nFlags, bool bApi, SCTAB nTab = -1 ); // -1 for global range names
bool InsertNameList( const ScAddress& rStartPos, bool bApi );
void InsertAreaLink( const OUString& rFile, const OUString& rFilter,