summaryrefslogtreecommitdiff
path: root/include/editeng/splwrap.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 12:18:53 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 16:36:16 -0600
commit5c5d31b04c4a856a103312064e87f50ddd385474 (patch)
treef0926552942093d3d808e4a91935f7f633f5744e /include/editeng/splwrap.hxx
parent5523ed4b3571a22c32357459fd4f4976d32a341f (diff)
coverity#707761-62 Uninitialized scalar field
Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
Diffstat (limited to 'include/editeng/splwrap.hxx')
-rw-r--r--include/editeng/splwrap.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx
index 754c4d0187a2..d2fb651c6119 100644
--- a/include/editeng/splwrap.hxx
+++ b/include/editeng/splwrap.hxx
@@ -56,7 +56,6 @@ private:
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator > xHyph;
SdrObject* mpTextObj;
- sal_uInt16 nOldLang; // Set Language, only call SetLanguage on changes
sal_Bool bOtherCntnt : 1; // set => Check special sections initially
sal_Bool bDialog : 1; // Is pWin the Svx...Dialog?
sal_Bool bHyphen : 1; // Split instead of spell checking
@@ -111,11 +110,6 @@ public:
GetXHyphenator() { return xHyph; }
inline sal_Bool IsAllRight() { return bAllRight; }
inline Window* GetWin() { return pWin; }
- // can possibly be omitted in ONE_LINGU:
- inline void SetOldLang( const sal_uInt16 nNew ){ nOldLang = nNew; }
- // can possibly be omitted in ONE_LINGU:
- inline void ChangeLanguage( const sal_uInt16 nNew ) // call SetLanguage if needed.
- { if ( nNew != nOldLang ) { SetLanguage( nNew ); nOldLang = nNew; } }
inline void EnableAutoCorrect() { bAuto = sal_True; }
protected: