Kaydet (Commit) 1fc26b81 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Cosmetics (to ease work related to finding unused functions)

Change-Id: I88b7659fdfdcba43e69ef7489573b28952c8328c
üst 4f36f17a
...@@ -92,10 +92,10 @@ private: ...@@ -92,10 +92,10 @@ private:
// Check that the up-casting Reference conversion constructor catches the // Check that the up-casting Reference conversion constructor catches the
// intended cases: // intended cases:
struct Base1: public css::uno::XInterface { virtual ~Base1() {} }; struct Base1: public css::uno::XInterface { virtual ~Base1() = 0; };
struct Base2: public Base1 { virtual ~Base2() {} }; struct Base2: public Base1 {};
struct Base3: public Base1 { virtual ~Base3() {} }; struct Base3: public Base1 {};
struct Derived: public Base2, public Base3 { virtual ~Derived() {} }; struct Derived: public Base2, public Base3 {};
// The special case using the conversion operator instead: // The special case using the conversion operator instead:
css::uno::Reference< css::uno::XInterface > testUpcast1( css::uno::Reference< css::uno::XInterface > testUpcast1(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment