diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
commit | 1fb042333fe6287756ff1fac11d18cd7c150730d (patch) | |
tree | 595de5d187177832ce656d7832af9dce9dce2d99 /svx/source/svdraw/impgrfll.cxx | |
parent | 5b3e910e926c7dd1e8dcfe8e0a5c6cb5bd17480a (diff) | |
parent | cd0d6a5a6775f197fdb7e78b54c8133074a7a236 (diff) |
rebase to DEV300_m100
Diffstat (limited to 'svx/source/svdraw/impgrfll.cxx')
-rw-r--r-- | svx/source/svdraw/impgrfll.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/impgrfll.cxx b/svx/source/svdraw/impgrfll.cxx index be2fc907d173..a649977b744c 100644 --- a/svx/source/svdraw/impgrfll.cxx +++ b/svx/source/svdraw/impgrfll.cxx @@ -42,12 +42,12 @@ void ImpCalcBmpFillSizes( Size& rStartOffset, const Size& rBmpSize, const Size& rBmpPerCent, const Size& rBmpOffPerCent, - BOOL bBmpLogSize, - BOOL bBmpTile, - BOOL bBmpStretch, + sal_Bool bBmpLogSize, + sal_Bool bBmpTile, + sal_Bool bBmpStretch, RECT_POINT eBmpRectPoint ) { - BOOL bOriginalSize = FALSE, bScaleSize = FALSE; + sal_Bool bOriginalSize = sal_False, bScaleSize = sal_False; // Falls keine Groessen gegeben sind ( z.B. alte Dokumente ) // berechnen wir uns die Groesse selber aus der Bitmap @@ -57,16 +57,16 @@ void ImpCalcBmpFillSizes( Size& rStartOffset, if( bBmpLogSize ) { if( !rBmpSize.Width() && !rBmpSize.Height() ) - bOriginalSize = TRUE; + bOriginalSize = sal_True; else if( !rBmpSize.Width() || !rBmpSize.Height() ) - bScaleSize = TRUE; + bScaleSize = sal_True; } else { if( !rBmpPerCent.Width() && !rBmpPerCent.Height() ) - bOriginalSize = TRUE; + bOriginalSize = sal_True; else if( !rBmpPerCent.Width() || !rBmpPerCent.Height() ) - bScaleSize = TRUE; + bScaleSize = sal_True; } // entweder Originalgroesse oder angepasste Groesse |