diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-25 16:54:39 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-10-06 08:15:42 +0000 |
commit | a836afe471d6df7bfc932fc419f7ccad7d40efb2 (patch) | |
tree | f8127d8f3ec0eb970223d227062510e15ef639cb /qadevOOo/runner/util | |
parent | f5cfed29b05184894ec6ad2d14f73bff0b5a2783 (diff) |
fdo#73151 Always open Styles&Formatting dialog in the sidebar
Change-Id: I05b63dc00023945d92fd837bd64042135d3f9aed
Reviewed-on: https://gerrit.libreoffice.org/11648
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'qadevOOo/runner/util')
-rw-r--r-- | qadevOOo/runner/util/DesktopTools.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/qadevOOo/runner/util/DesktopTools.java b/qadevOOo/runner/util/DesktopTools.java index d44182cdb2ac..646ffcbdce5d 100644 --- a/qadevOOo/runner/util/DesktopTools.java +++ b/qadevOOo/runner/util/DesktopTools.java @@ -412,33 +412,33 @@ public class DesktopTools } /** - * This function docks the Stylist onto the right side of the window.</p> + * This function docks the Navigator onto the right side of the window.</p> * Note:<P> * Since the svt.viewoptions cache the view configuration at start up * the chage of the docking will be effective at a restart. * @param xMSF the XMultiServiceFactory */ - public static void dockStylist(XMultiServiceFactory xMSF) + public static void dockNavigator(XMultiServiceFactory xMSF) { - // prepare Window-Settings + // prepare Window settings try { ConfigHelper aConfig = new ConfigHelper(xMSF, "org.openoffice.Office.Views", false); - aConfig.getOrInsertGroup("Windows", "5539"); + aConfig.getOrInsertGroup("Windows", "10366"); aConfig.updateGroupProperty( - "Windows", "5539", "WindowState", "952,180,244,349;1;0,0,0,0;"); + "Windows", "10366", "WindowState", "952,180,244,349;1;0,0,0,0;"); aConfig.insertOrUpdateExtensibleGroupProperty( - "Windows", "5539", "UserData", "Data", "V2,V,0,AL:(5,16,0/0/244/349,244;610)"); + "Windows", "10366", "UserData", "Data", "V2,V,0,AL:(5,16,0/0/244/349,244;610)"); - // Is node "SplitWindow2" available? If not, instert it. + // Is node "SplitWindow2" available? If not, insert it. aConfig.getOrInsertGroup("Windows", "SplitWindow2"); aConfig.insertOrUpdateExtensibleGroupProperty( - "Windows", "SplitWindow2", "UserData", "UserItem", "V1,2,1,0,5539"); + "Windows", "SplitWindow2", "UserData", "UserItem", "V1,2,1,0,10366"); aConfig.flush(); aConfig = null; @@ -451,7 +451,6 @@ public class DesktopTools } - /** * This function brings a document to the front.<P> * NOTE: it is not possible to change the window order of your Window-Manager!! |