diff options
author | hg <hg@oosvn01.> | 2009-10-08 16:03:52 +0000 |
---|---|---|
committer | hg <hg@oosvn01.> | 2009-10-08 16:03:52 +0000 |
commit | e1197fe509873ce53b6bb03abde651eec4025bef (patch) | |
tree | 0c39083829317530c28809dbc9def5b11c69d9c1 /svx/source/dialog/fntctrl.cxx | |
parent | e65c3e91d6efbf8f61bc662ea5652e0d0a6194e5 (diff) | |
parent | edeed1fb2319b0347c7de767261fc893c496f75a (diff) |
merge with m55
Diffstat (limited to 'svx/source/dialog/fntctrl.cxx')
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 50b74e15a8f9..c0ac2da109e5 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -604,6 +604,14 @@ void SvxFontPrevWindow::SetColor(const Color &rColor) pImpl->pColor = new Color( rColor ); Invalidate(); } +// ----------------------------------------------------------------------- + +void SvxFontPrevWindow::ResetColor() +{ + delete pImpl->pColor; + pImpl->pColor = 0; + Invalidate(); +} // ----------------------------------------------------------------------- |