diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-31 23:40:32 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-06 22:12:48 +0200 |
commit | b73b824b8361d5cf38363eab6730e90809f6529e (patch) | |
tree | a3768502e79f2c48d2fbce2e7173a7788c483f5c | |
parent | 8f77b01856b2e086cd8965af158e114b2ce70bf2 (diff) |
sal_uInt16 to int
Change-Id: Ic5c2c85eb264f15cd6c73ed4fa15279a14f308d1
-rw-r--r-- | sw/source/ui/envelp/envprt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx index 9ec2eb899cbc..714f2bc12642 100644 --- a/sw/source/ui/envelp/envprt.cxx +++ b/sw/source/ui/envelp/envprt.cxx @@ -112,7 +112,7 @@ IMPL_LINK_NOARG(SwEnvPrtPage, AlignHdl) { if (m_pAlignBox->GetCurItemId()) { - for (sal_uInt16 i = ENV_HOR_LEFT; i <= ENV_VER_RGHT; ++i) + for (int i = ENV_HOR_LEFT; i <= ENV_VER_RGHT; ++i) m_pAlignBox->CheckItem(m_aIds[i], false); m_pAlignBox->CheckItem(m_pAlignBox->GetCurItemId(), true); } @@ -145,8 +145,8 @@ int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet) void SwEnvPrtPage::FillItem(SwEnvItem& rItem) { - sal_uInt16 nOrient = 0; - for (sal_uInt16 i = ENV_HOR_LEFT; i <= ENV_VER_RGHT; ++i) + int nOrient = 0; + for (int i = ENV_HOR_LEFT; i <= ENV_VER_RGHT; ++i) { if (m_pAlignBox->IsItemChecked(m_aIds[i])) { |