[Libreoffice-commits] core.git: writerfilter/source

Miklos Vajna vmiklos at suse.cz
Fri Jun 28 06:58:01 PDT 2013


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    4 ++--
 writerfilter/source/rtftok/rtfdocumentimpl.hxx |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit a09c27ec3ea614630c367aa90eab8fc62d077227
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Fri Jun 28 15:53:08 2013 +0200

    RTFDesitnationState -> RTFDestinationState
    
    Change-Id: I74e371b531d1a0d5cc9393dd10b9ee2c65ac2e4e

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 9538101..4195dac 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 44c5f92..e48fe5d 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);


More information about the Libreoffice-commits mailing list