diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2016-05-03 21:22:28 -0400 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2016-05-04 02:23:30 +0000 |
commit | fa507ae23e1e5e0dd73fe881284bfb41a2eb1315 (patch) | |
tree | 5b8a0b5baab8e7af38f3b8bb695bee49d3e1cfe3 /include | |
parent | fe81d707b5b4e832b249ae879a75f336cd06a81f (diff) |
Replace namespace ScErrorCodes with formula...
and remove that 'using namespace' statement in the header...
Change-Id: I2f994af5088ce6d1ffe92c8d36285a4f6fdd2248
Reviewed-on: https://gerrit.libreoffice.org/24628
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/errorcodes.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/formula/errorcodes.hxx b/include/formula/errorcodes.hxx index 6c20d8a443dd..13597b9d4d53 100644 --- a/include/formula/errorcodes.hxx +++ b/include/formula/errorcodes.hxx @@ -22,8 +22,7 @@ #include <rtl/math.hxx> -namespace ScErrorCodes -{ +namespace formula { const sal_uInt16 errIllegalChar = 501; const sal_uInt16 errIllegalArgument = 502; @@ -111,10 +110,7 @@ inline sal_uInt16 GetDoubleErrorValue( double fVal ) return (sal_uInt16)(nErr & 0x0000ffff); // any other error } -} // namespace ScErrorCodes - -// yes, exceptionally we put a "using namespace" in a header file.. -using namespace ScErrorCodes; +} // namespace formula #endif // INCLUDED_FORMULA_ERRORCODES_HXX |