Duplicate base checking code already covers check for opt base != XInterface
Change-Id: Icd47d87f93641a0b24a96a4be8d3d120f0405f2d
This commit is contained in:
@@ -269,3 +269,11 @@ interface Derived {
|
||||
interface Hidden;
|
||||
interface Base;
|
||||
};
|
||||
|
||||
|
||||
EXPECT FAILURE "interfaceinheritance.tests 30":
|
||||
interface Base {};
|
||||
interface Derived {
|
||||
interface Base;
|
||||
[optional] interface com::sun::star::uno::XInterface;
|
||||
};
|
||||
|
||||
@@ -4113,7 +4113,6 @@ bool SourceProviderInterfaceTypeEntityPad::addDirectBase(
|
||||
addOptionalBaseMembers(
|
||||
location, yyscanner, data, base.name, base.entity);
|
||||
}
|
||||
//TODO: check that opt base != XInterface
|
||||
(optional ? directOptionalBases : directMandatoryBases).push_back(base);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user