summaryrefslogtreecommitdiffstats
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
parentImplement osl_identicalDirectoryItem for win32 (diff)
downloadcore-57444c86d274e5602218d1163810fe586aec02c0.tar.gz
core-57444c86d274e5602218d1163810fe586aec02c0.zip
sw: SwAddPrinterTabPage::SetFax: fix STL conversion
regression from 166053646aff23f93ad3704cde05b9bda20e171c
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);
}