summaryrefslogtreecommitdiff
path: root/include/sax
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-10-04 08:44:11 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-10-04 09:39:15 +0200
commit479151c6e194bdf40a0c15a0676460eb94293601 (patch)
tree18975572726c8a0253b585398d8d744d2584e546 /include/sax
parentb3c072a4ee94c5f86723cdcc98ea08f46f981b4a (diff)
Convert FSNS macro to constexpr function
Change-Id: I823305cdf746098762b77a53c5b93035cda7ec6f Reviewed-on: https://gerrit.libreoffice.org/80176 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fshelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx
index 7876e48a6c6c..8169ce5ea166 100644
--- a/include/sax/fshelper.hxx
+++ b/include/sax/fshelper.hxx
@@ -30,7 +30,7 @@
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
namespace sax_fastparser { class FastAttributeList; }
-#define FSNS(namespc, element) ((namespc << 16) | element)
+constexpr sal_Int32 FSNS(sal_Int32 namespc, sal_Int32 element) { return (namespc << 16) | element; }
namespace sax_fastparser {