diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-18 13:36:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:08 +0200 |
commit | 25a47c5cd54c73e754de988bde8ec8a202d27717 (patch) | |
tree | 479c07ba52f718f03770fba60121d2a0ef3a3b08 /vcl/inc | |
parent | 7a0af37989d1f1b508a61f28e785c5b1f27d58af (diff) |
convert TEXT_DRAW constants to scoped enum
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/ilstbox.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/textlayout.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index f019b699932e..bceba393ec53 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -359,7 +359,7 @@ public: void SetReadOnly( bool bReadOnly ) { mbReadOnly = bReadOnly; } bool IsReadOnly() const { return mbReadOnly; } - sal_uInt16 ImplGetTextStyle() const; + DrawTextFlags ImplGetTextStyle() const; /// pb: #106948# explicit mirroring for calc inline void EnableMirroring() { mbMirroring = true; } diff --git a/vcl/inc/textlayout.hxx b/vcl/inc/textlayout.hxx index 3510df221a66..6b86aafc422a 100644 --- a/vcl/inc/textlayout.hxx +++ b/vcl/inc/textlayout.hxx @@ -93,7 +93,7 @@ namespace vcl virtual ~ControlTextRenderer(); Rectangle DrawText( const Rectangle& _rRect, - const OUString& _rText, sal_uInt16 _nStyle = 0, + const OUString& _rText, DrawTextFlags _nStyle = DrawTextFlags::NONE, MetricVector* _pVector = NULL, OUString* _pDisplayText = NULL ); private: |