diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-01 14:52:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-03 09:21:51 +0200 |
commit | 47cd34a60ff9048404075823e519f1abdd4b0e9a (patch) | |
tree | e9728dd7c686d23f90b4331f105d6f5f8c1176cd /include/tools/color.hxx | |
parent | c79dd92480cbc409a7061da7f3dd3abaaf9a4883 (diff) |
use more compact namespace syntax in /include
excluding the UDK headers of course
Change-Id: Iac7ab83d60265f7d362c860776f1de9d5e444ec0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93268
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/color.hxx')
-rw-r--r-- | include/tools/color.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index f66d49b51442..afdb30d9e02c 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -254,13 +254,13 @@ inline void operator <<=( css::uno::Any & rAny, Color value ) { rAny <<= sal_Int32(value); } -namespace com { namespace sun { namespace star { namespace uno { +namespace com::sun::star::uno { template<> inline Any makeAny( Color const & value ) { return Any(sal_Int32(value)); } -} } } } +} // Test compile time conversion of Color to sal_uInt32 |