[Libreoffice-commits] .: binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Thu Sep 8 03:18:53 PDT 2011


 binfilter/bf_sw/source/core/inc/rootfrm.hxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d4f4c1c4a328b7e0f2227687af589d7876975bc6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 8 11:17:36 2011 +0100

    add back in unused ctor in order to have something for now

diff --git a/binfilter/bf_sw/source/core/inc/rootfrm.hxx b/binfilter/bf_sw/source/core/inc/rootfrm.hxx
index 6250f02..49a0ad6 100644
--- a/binfilter/bf_sw/source/core/inc/rootfrm.hxx
+++ b/binfilter/bf_sw/source/core/inc/rootfrm.hxx
@@ -31,13 +31,14 @@
 #include <bf_svtools/bf_solar.h>
 
 #include "layfrm.hxx"
+#include "frmfmt.hxx"
+#include "doc.hxx"
 class OutputDevice;
 namespace binfilter {
 
 class SwCntntFrm;
 class ViewShell;
 class SdrPage;
-class SwFrmFmt;
 class SwPaM;
 class SwCursor;
 class SwShellCrsr;
@@ -73,6 +74,9 @@ class SwRootFrm : public SwLayoutFrm
     static BOOL           bNoVirDev;    //Bei SystemPaints kein virt. Device
 
 public:
+    SwRootFrm( SwFrmFmt *pFmt )
+      : SwLayoutFrm( pFmt->GetDoc()->MakeFrmFmt(
+          XubString( "Root", RTL_TEXTENCODING_MS_1252 ), pFmt ) ) {}
     static BOOL IsInPaint() { return bInPaint; }
     static void SetNoVirDev( const BOOL bNew ) { bNoVirDev = bNew; }
 };


More information about the Libreoffice-commits mailing list