summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/printhelper.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
commitfbbfb5731d28118759aafe1a29a15bb71a2bc40f (patch)
treed1ac15325f5bdbf91ebfd2619bc818bdbc6b3045 /sfx2/source/doc/printhelper.cxx
parente1fb7d03f672613e88bb8848515b1a2939932597 (diff)
removetooltypes01: #i112600# remove tooltypes from sfx2
Diffstat (limited to 'sfx2/source/doc/printhelper.cxx')
-rwxr-xr-xsfx2/source/doc/printhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index fee1e4df3c..b95358148c 100755
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -423,8 +423,8 @@ void SfxPrintHelper::impl_setPrinter(const uno::Sequence< beans::PropertyValue >
rtl::OUString aTmp;
if ( ( rProp.Value >>= aTmp ) == sal_False )
throw ::com::sun::star::lang::IllegalArgumentException();
- USHORT nCount = pPrinter->GetPaperBinCount();
- for (USHORT nBin=0; nBin<nCount; nBin++)
+ sal_uInt16 nCount = pPrinter->GetPaperBinCount();
+ for (sal_uInt16 nBin=0; nBin<nCount; nBin++)
{
::rtl::OUString aName( pPrinter->GetPaperBinName(nBin) );
if ( aName == aTmp )