summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-04-30 09:20:28 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-30 09:24:50 +0200
commite7ecf663883478e0705e83e0a63b4abe6757b01d (patch)
treed10ee26095e6befb036919e38a62deeff0142deb /writerfilter
parente20e2715881e015bd217224bbcbd7d21f617b52a (diff)
OOXMLFastContextHandlerValue: clean up duplicated constant
Change-Id: Ia09e30958392b660f694e8eefb6605108b3c0b57
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 33ab0e5914ca..8c02cca4bcbc 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;
}