Kaydet (Commit) 4ac083b0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast, involving pointer to incomplete type

Change-Id: Ibe4613e2fd77eec8e6e6d1c5e880b596e103a7b8
üst e2e94f1a
...@@ -522,6 +522,11 @@ bool Outliner::ShouldCreateBigTextObject() const ...@@ -522,6 +522,11 @@ bool Outliner::ShouldCreateBigTextObject() const
return pEditEngine->ShouldCreateBigTextObject(); return pEditEngine->ShouldCreateBigTextObject();
} }
const EditEngine& Outliner::GetEditEngine() const
{
return *pEditEngine;
}
void Outliner::SetVertical( bool b ) void Outliner::SetVertical( bool b )
{ {
pEditEngine->SetVertical( b ); pEditEngine->SetVertical( b );
......
...@@ -960,7 +960,7 @@ public: ...@@ -960,7 +960,7 @@ public:
bool ShouldCreateBigTextObject() const; bool ShouldCreateBigTextObject() const;
const EditEngine& GetEditEngine() const { return *((EditEngine*)pEditEngine); } const EditEngine& GetEditEngine() const;
// this is needed for StarOffice Api // this is needed for StarOffice Api
void SetLevelDependendStyleSheet( sal_Int32 nPara ); void SetLevelDependendStyleSheet( sal_Int32 nPara );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment