summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-02-05 21:43:59 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-02-05 21:44:49 +0100
commitc6f32df907983092cdb9f40c7c7ad0552caf41c3 (patch)
tree07771f4954a23254e6880e8d5b837167a429f435 /sfx2
parenteb0b727b8775404b17d45ad6986a902701bc1e31 (diff)
sal_uIntPtr to sal_uInt16
Change-Id: If463ae457f53a0a8b12cc0748afbc654f54ae3c3
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/printhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index 4af6b2e09ff0..c9dbf27e957a 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -416,7 +416,7 @@ void SfxPrintHelper::impl_setPrinter(const uno::Sequence< beans::PropertyValue >
OUString aTmp;
if ( !( rProp.Value >>= aTmp ) )
throw css::lang::IllegalArgumentException();
- sal_uInt16 nCount = pPrinter->GetPaperBinCount();
+ const sal_uInt16 nCount = pPrinter->GetPaperBinCount();
for (sal_uInt16 nBin=0; nBin<nCount; nBin++)
{
OUString aName( pPrinter->GetPaperBinName(nBin) );