summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog/watermarkdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dialog/watermarkdialog.cxx')
-rw-r--r--sw/source/uibase/dialog/watermarkdialog.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/dialog/watermarkdialog.cxx b/sw/source/uibase/dialog/watermarkdialog.cxx
index ad16d5bd94f6..09ac8ed94c70 100644
--- a/sw/source/uibase/dialog/watermarkdialog.cxx
+++ b/sw/source/uibase/dialog/watermarkdialog.cxx
@@ -55,12 +55,14 @@ void SwWatermarkDialog::InitFields()
pFontList = xFontList.get();
}
+ m_xFont->freeze();
sal_uInt16 nFontCount = pFontList->GetFontNameCount();
for (sal_uInt16 i = 0; i < nFontCount; ++i)
{
const FontMetric& rFontMetric = pFontList->GetFontName(i);
m_xFont->append_text(rFontMetric.GetFamilyName());
}
+ m_xFont->thaw();
m_xOKButton->connect_clicked(LINK(this, SwWatermarkDialog, OKButtonHdl));