diff options
Diffstat (limited to 'oox/source/drawingml/textparagraph.cxx')
-rw-r--r-- | oox/source/drawingml/textparagraph.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx index b5635b58f2e9..c85878715310 100644 --- a/oox/source/drawingml/textparagraph.cxx +++ b/oox/source/drawingml/textparagraph.cxx @@ -38,6 +38,7 @@ using namespace ::com::sun::star::beans; namespace oox { namespace drawingml { TextParagraph::TextParagraph() + : mbHasProperties( false ) { } @@ -195,6 +196,16 @@ formulaimport::XmlStreamBuilder & TextParagraph::GetMathXml() return *m_pMathXml; } +bool TextParagraph::hasVisualRunProperties() const +{ + for ( auto& pTextRun : getRuns() ) + { + if ( pTextRun->hasVisualRunProperties() ) + return true; + } + return false; +} + } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |