From fa507ae23e1e5e0dd73fe881284bfb41a2eb1315 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 3 May 2016 21:22:28 -0400 Subject: 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 Reviewed-by: Kohei Yoshida --- include/formula/errorcodes.hxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include') 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 -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 -- cgit