diff options
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 953810165633..4195dac647cc 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -4657,12 +4657,12 @@ void RTFDocumentImpl::setInternalState(RTFInternalState nInternalState) m_aStates.top().nInternalState = nInternalState; } -RTFDesitnationState RTFDocumentImpl::getDestinationState() +RTFDestinationState RTFDocumentImpl::getDestinationState() { return m_aStates.top().nDestinationState; } -void RTFDocumentImpl::setDestinationState(RTFDesitnationState nDestinationState) +void RTFDocumentImpl::setDestinationState(RTFDestinationState nDestinationState) { m_aStates.top().nDestinationState = nDestinationState; } diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index 44c5f9248f9e..e48fe5da8010 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -39,7 +39,7 @@ namespace writerfilter { // Note that this is not a 1:1 mapping between destination control // words, e.g. RTF_PICT gets mapped to DESTINATION_PICT or // DESTINATION_SHAPEPROPERTYVALUEPICT, etc. - enum RTFDesitnationState + enum RTFDestinationState { DESTINATION_NORMAL, DESTINATION_SKIP, @@ -319,7 +319,7 @@ namespace writerfilter { RTFDocumentImpl* m_pDocumentImpl; RTFInternalState nInternalState; - RTFDesitnationState nDestinationState; + RTFDestinationState nDestinationState; RTFFieldStatus nFieldStatus; RTFBorderState nBorderState; // font table, stylesheet table @@ -441,8 +441,8 @@ namespace writerfilter { bool isInBackground(); RTFInternalState getInternalState(); void setInternalState(RTFInternalState nInternalState); - RTFDesitnationState getDestinationState(); - void setDestinationState(RTFDesitnationState nDestinationState); + RTFDestinationState getDestinationState(); + void setDestinationState(RTFDestinationState nDestinationState); void setDestinationText(OUString& rString); /// Resolve a picture: If not inline, then anchored. int resolvePict(bool bInline); |