[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kword
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2003-12-01 14:28:20
[Download RAW message or body]

CVS commit by lukas: 

fix the default document font not working

CCMAIL: 69166-done@bugs.kde.org


  M +1 -0      CHANGES   1.427
  M +2 -1      kwconfig.cc   1.163
  M +3 -0      kwdoc.h   1.297


--- koffice/kword/CHANGES  #1.426:1.427
@@ -7,4 +7,5 @@
   user removed the underline (#67735)
 - Fixed successive image DnD
+- Fixed the default document font (#69166)
 
 Changes after KWord 1.3 beta4

--- koffice/kword/kwconfig.cc  #1.162:1.163
@@ -913,4 +913,5 @@ void ConfigureDefaultDocPage::selectNewD
         fontName->setText(font->family() + ' ' + QString::number(font->pointSize()));
         fontName->setFont(*font);
+        m_pView->kWordDocument()->setDefaultFont( *font );
     }
 }

--- koffice/kword/kwdoc.h  #1.296:1.297
@@ -395,4 +395,7 @@ public:
 
     QFont defaultFont() const { return m_defaultFont; }
+    void setDefaultFont( const QFont & newFont ) {
+        m_defaultFont = newFont;
+    }
 
     int numPages() const { return m_pages; }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic