Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

I was rebuilding master, and had to change a line in libs-core which used
the old api for SetWindowState. Could this get pushed to master (if it's not
already done by the time people read this)?

Kind regards,

Luke.
From b759a7cf43544a3eb9614d506637652ba3b20465 Mon Sep 17 00:00:00 2001
From: Luke Symes <allsymes@gmail.com>
Date: Thu, 23 Jun 2011 20:50:45 +1200
Subject: [PATCH] Update for new api for SetWindowState

---
 basic/source/app/app.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx
index b40576e..0650b83 100644
--- a/basic/source/app/app.cxx
+++ b/basic/source/app/app.cxx
@@ -569,7 +569,7 @@ BasicFrame::BasicFrame() : WorkWindow( NULL,
     {
         Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") ));
         aConf.SetGroup("WinGeom");
-        SetWindowState( aConf.ReadKey("WinParams", "") );
+        SetWindowState( ::rtl::OString(aConf.ReadKey("WinParams", "")) );
     }
 
     aLineNum.SetTimeoutHdl( LINK( this, BasicFrame, ShowLineNr ) );
-- 
1.7.5.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.