summaryrefslogtreecommitdiff
path: root/slideshow/test/testview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/test/testview.cxx')
-rw-r--r--slideshow/test/testview.cxx19
1 files changed, 18 insertions, 1 deletions
diff --git a/slideshow/test/testview.cxx b/slideshow/test/testview.cxx
index 036fc05d948d..7d40e03ce63d 100644
--- a/slideshow/test/testview.cxx
+++ b/slideshow/test/testview.cxx
@@ -26,7 +26,10 @@
*
************************************************************************/
-#include <testshl/simpleheader.hxx>
+#include <cppunit/TestAssert.h>
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/basemutex.hxx>
#include <comphelper/make_shared_from_uno.hxx>
@@ -134,6 +137,11 @@ public:
{
}
+ virtual awt::Rectangle SAL_CALL getCanvasArea( ) throw (uno::RuntimeException)
+ {
+ return awt::Rectangle(0,0,100,100);
+ }
+
// TestView
virtual bool isClearCalled() const
{
@@ -276,6 +284,15 @@ public:
{
mbDisposed = true;
}
+
+ virtual bool isSoundEnabled (void) const
+ {
+ return true;
+ }
+
+ virtual void setIsSoundEnabled (const bool /*bValue*/)
+ {
+ }
};