summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-18 13:54:24 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-20 15:16:36 +0100
commit57444c86d274e5602218d1163810fe586aec02c0 (patch)
treed133935762bc9dfac2e73abbd62c3948d9764027 /sw
parent5a8a1d024bee83eff8d9a85ae6dda6c8823c3f2e (diff)
sw: SwAddPrinterTabPage::SetFax: fix STL conversion
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/config/optpage.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 3952f4078c46..f08b48790e54 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -508,7 +508,9 @@ void SwAddPrinterTabPage::SetFax( const std::vector<String>& rFaxLst )
{
aFaxLB.InsertEntry(sNone);
for(size_t i = 0; i < rFaxLst.size(); ++i)
- aFaxLB.InsertEntry(rFaxLst[0]);
+ {
+ aFaxLB.InsertEntry(rFaxLst[i]);
+ }
aFaxLB.SelectEntryPos(0);
}