[Libreoffice-commits] core.git: unoidl/source
Tor Lillqvist
tml at iki.fi
Fri Mar 1 23:40:09 PST 2013
unoidl/source/legacyprovider.cxx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit b2265f06ea45d36edb579d2a385fcc62a7308513
Author: Tor Lillqvist <tml at iki.fi>
Date: Sat Mar 2 09:39:11 2013 +0200
Avoid C++11 scoped enums
Change-Id: I6f7db048e1f9dfcd47acbfe432c3abeb350979de
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 0f620bc..4b7fc3e 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -294,16 +294,13 @@ rtl::Reference< Entity > readEntity(
InterfaceTypeEntity::Method::Parameter::Direction dir;
switch (mode) {
case RT_PARAM_IN:
- dir = InterfaceTypeEntity::Method::Parameter::
- Direction::DIRECTION_IN;
+ dir = InterfaceTypeEntity::Method::Parameter::DIRECTION_IN;
break;
case RT_PARAM_OUT:
- dir = InterfaceTypeEntity::Method::Parameter::
- Direction::DIRECTION_OUT;
+ dir = InterfaceTypeEntity::Method::Parameter::DIRECTION_OUT;
break;
case RT_PARAM_INOUT:
- dir = InterfaceTypeEntity::Method::Parameter::
- Direction::DIRECTION_IN_OUT;
+ dir = InterfaceTypeEntity::Method::Parameter::DIRECTION_IN_OUT;
break;
default:
throw FileFormatException(
More information about the Libreoffice-commits
mailing list