diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-27 10:50:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-27 11:12:41 +0100 |
commit | 207313157688d79cb0d53e920a03423c81a7bc23 (patch) | |
tree | 3a736cb0b7362fb3fff156b36fea1f76542a70ec /cui/source/options/fontsubs.cxx | |
parent | 70115479f1775788ffedf6e0436b09d539491c89 (diff) |
Resolves: fdo#39825 Make detection of certificate folder ui-configurable
Display in the (unix) options gui the NSS cert dir that has been auto-detected
for use with digital signatures. Show the other detected possibilities and
allow it to be overridden.
The autodetection should basically work out of the box, but if there's some
bustage at least the UI can be used to sort it out and/or let developers
debug it.
This removes the need for the horrible MOZILLA_CERTIFICATE_FOLDER hack,
though that's still supported.
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r-- | cui/source/options/fontsubs.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index d59c5eeb3739..9bbe165acb2d 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -134,12 +134,12 @@ SvxFontSubstTabPage::SvxFontSubstTabPage( Window* pParent, sHeader += sHeader4; aCheckLB.InsertHeaderEntry(sHeader); - HeaderBar* pBar = aCheckLB.GetTheHeaderBar(); + HeaderBar &rBar = aCheckLB.GetTheHeaderBar(); - HeaderBarItemBits nBits = pBar->GetItemBits(1) | HIB_FIXEDPOS | HIB_FIXED; + HeaderBarItemBits nBits = rBar.GetItemBits(1) | HIB_FIXEDPOS | HIB_FIXED; nBits &= ~HIB_CLICKABLE; - pBar->SetItemBits(1, nBits); - pBar->SetItemBits(2, nBits); + rBar.SetItemBits(1, nBits); + rBar.SetItemBits(2, nBits); sal_uInt16 nHeight; for(nHeight = 6; nHeight <= 16; nHeight++) |