writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit e7ecf663883478e0705e83e0a63b4abe6757b01d
Author: Miklos Vajna <vmik...@suse.cz>
Date:   Tue Apr 30 09:20:28 2013 +0200

    OOXMLFastContextHandlerValue: clean up duplicated constant
    
    Change-Id: Ia09e30958392b660f694e8eefb6605108b3c0b57

diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx 
b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 33ab0e5..8c02cca 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -52,8 +52,6 @@ static const sal_uInt8 cFieldStart = 0x13;
 static const sal_uInt8 cFieldSep = 0x14;
 static const sal_uInt8 cFieldEnd = 0x15;
 
-static const sal_uInt16 paragraphProperties_sprmPFBiDi = 0x2441;
-
 namespace writerfilter {
 namespace ooxml
 {
@@ -1605,7 +1603,7 @@ void 
OOXMLFastContextHandlerValue::setDefaultBooleanValue()
         // Paragraph properties are not always 'true' by default
         // For example - RTL layout of paragraph is by default 'false' (look 
in this link for 'sprmPFBiDi')
         // 
http://msdn.microsoft.com/en-us/library/dd923496%28v=office.12%29.aspx
-        if (getId() == paragraphProperties_sprmPFBiDi)
+        if (getId() == NS_sprm::LN_PFBiDi)
         {
                 bSet = false;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to