Fix for method name change

In commit
  43debfae83
  "General cleanup of OfficeBeans"
In class
   com.sun.star.comp.beans.OOoBean,
the method
   aquireSystemWindow
changed name to
   acquireSystemWindow

Change-Id: I5a9a16c1374d7dbc828ee2fa76c193b207881415
This commit is contained in:
Noel Grandin
2013-04-17 10:49:20 +02:00
parent 09f50c017f
commit cb6b6e286c
2 changed files with 6 additions and 6 deletions

View File

@@ -302,7 +302,7 @@ public class OOoBeanTest
} }
} }
/** Test repeated OOoBean.aquireSystemWindow and OOoBean.releaseSystemWindow /** Test repeated OOoBean.acquireSystemWindow and OOoBean.releaseSystemWindow
* calls. * calls.
* @throws Exception * @throws Exception
*/ */
@@ -316,7 +316,7 @@ public class OOoBeanTest
for (int i = 0; i < 100; i++) for (int i = 0; i < 100; i++)
{ {
b.releaseSystemWindow(); b.releaseSystemWindow();
b.aquireSystemWindow(); b.acquireSystemWindow();
} }
if (!f.checkUnoFramePosition()) if (!f.checkUnoFramePosition())
{ {
@@ -419,7 +419,7 @@ public class OOoBeanTest
bean.releaseSystemWindow(); bean.releaseSystemWindow();
frame.remove(bean); frame.remove(bean);
frame.add(bean, BorderLayout.CENTER); frame.add(bean, BorderLayout.CENTER);
bean.aquireSystemWindow(); bean.acquireSystemWindow();
} }
if (!isWindows()) if (!isWindows())
@@ -504,7 +504,7 @@ public class OOoBeanTest
try { try {
frame.add(bean, BorderLayout.CENTER); frame.add(bean, BorderLayout.CENTER);
bean.aquireSystemWindow(); bean.acquireSystemWindow();
frame.validate(); frame.validate();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();

View File

@@ -61,7 +61,7 @@ class WriterFrame extends java.awt.Frame
pack(); pack();
setBounds(x, y, width, height); setBounds(x, y, width, height);
setVisible(true); setVisible(true);
m_bean.aquireSystemWindow(); m_bean.acquireSystemWindow();
} }
} }
catch (Exception e) catch (Exception e)
@@ -193,7 +193,7 @@ class WriterFrame extends java.awt.Frame
public void addOOoBean() throws Exception public void addOOoBean() throws Exception
{ {
add(m_bean, BorderLayout.CENTER); add(m_bean, BorderLayout.CENTER);
m_bean.aquireSystemWindow(); m_bean.acquireSystemWindow();
validate(); validate();
} }