12#include <com/sun/star/sheet/XViewFreezable.hpp>
14#include <cppunit/TestAssert.h>
23 uno::Reference<sheet::XViewFreezable> xViewFreezable(
init(), UNO_QUERY_THROW);
25 CPPUNIT_ASSERT_MESSAGE(
"View has already frozen panes", !xViewFreezable->hasFrozenPanes());
27 xViewFreezable->freezeAtPosition(1, 1);
28 CPPUNIT_ASSERT_MESSAGE(
"Unable to freeze pane", xViewFreezable->hasFrozenPanes());
virtual css::uno::Reference< css::uno::XInterface > init()=0