summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-07 01:34:23 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:20 +0200
commit60d175de5b8bf90cc546d2177e66497f2ecaae15 (patch)
treec2c87999334ffe1721065213f3915866708a6563 /vcl
parent40f9be70ef94a0aee64c2c849603b416c1bc17d9 (diff)
uitest: it helps if you actually compile the source code
Change-Id: Iac35bf1e699c64f16b4479ed5a6c7fb101e12f9d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/Library_vcl.mk2
-rw-r--r--vcl/source/uitest/uiobject.cxx4
2 files changed, 6 insertions, 0 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 589b10ddfb9f..46cd6fe1a1ec 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -393,6 +393,8 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/fontsubset/sft \
vcl/source/fontsubset/ttcr \
vcl/source/fontsubset/xlat \
+ vcl/source/uitest/uiobject \
+ vcl/source/uitest/uitest \
))
$(eval $(call gb_Library_add_cobjects,vcl,\
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index b9a8db8a88c6..493127f01922 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -90,6 +90,8 @@ vcl::Window* findChild(vcl::Window* pParent, const OUString& rID)
if (pResult)
return pResult;
}
+
+ return nullptr;
}
}
@@ -100,6 +102,8 @@ std::unique_ptr<UIObject> WindowUIObject::get_child(const OUString& rID)
if (pWindow)
return std::unique_ptr<UIObject>(new WindowUIObject(pWindow));
+
+ return nullptr;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */