From 6c4a4eb84589c8a19d72c46169ba1a25159e4c1b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 7 May 2013 13:47:22 +0200 Subject: Revert to mis-typed com.sun.star.comp.beans.OOoBean.aquireSystemWindow again ...from 43debfae8326ad98f9d130aa450f59ad49577d55 "General cleanup of OfficeBeans," as this is a stable interface that should not be broken airily. Change-Id: I931a611341a1b29346d134c11ecf886fe7767836 --- bean/qa/complex/bean/OOoBeanTest.java | 8 ++++---- bean/qa/complex/bean/WriterFrame.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'bean/qa') diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java index bb12bca5aa05..fb0b5cc4b946 100644 --- a/bean/qa/complex/bean/OOoBeanTest.java +++ b/bean/qa/complex/bean/OOoBeanTest.java @@ -301,7 +301,7 @@ public class OOoBeanTest } } - /** Test repeated OOoBean.acquireSystemWindow and OOoBean.releaseSystemWindow + /** Test repeated OOoBean.aquireSystemWindow and OOoBean.releaseSystemWindow * calls. * @throws Exception */ @@ -315,7 +315,7 @@ public class OOoBeanTest for (int i = 0; i < 100; i++) { b.releaseSystemWindow(); - b.acquireSystemWindow(); + b.aquireSystemWindow(); } if (!f.checkUnoFramePosition()) { @@ -418,7 +418,7 @@ public class OOoBeanTest bean.releaseSystemWindow(); frame.remove(bean); frame.add(bean, BorderLayout.CENTER); - bean.acquireSystemWindow(); + bean.aquireSystemWindow(); } if (!isWindows()) @@ -503,7 +503,7 @@ public class OOoBeanTest try { frame.add(bean, BorderLayout.CENTER); - bean.acquireSystemWindow(); + bean.aquireSystemWindow(); frame.validate(); } catch (Exception e) { e.printStackTrace(); diff --git a/bean/qa/complex/bean/WriterFrame.java b/bean/qa/complex/bean/WriterFrame.java index 31626468cc02..525ddf78fc48 100644 --- a/bean/qa/complex/bean/WriterFrame.java +++ b/bean/qa/complex/bean/WriterFrame.java @@ -61,7 +61,7 @@ class WriterFrame extends java.awt.Frame pack(); setBounds(x, y, width, height); setVisible(true); - m_bean.acquireSystemWindow(); + m_bean.aquireSystemWindow(); } } catch (Exception e) @@ -193,7 +193,7 @@ class WriterFrame extends java.awt.Frame public void addOOoBean() throws Exception { add(m_bean, BorderLayout.CENTER); - m_bean.acquireSystemWindow(); + m_bean.aquireSystemWindow(); validate(); } -- cgit