summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2015-03-24 22:19:46 +0100
committerKatarina Behrens <bubli@bubli.org>2015-03-24 23:04:10 +0000
commit5a5c9d0fa42201d0fbec2670f097f00a8ff91d2c (patch)
tree2a05bdbe097e8cba17cd31dea1da069b243bd75a /filter
parentf1f4167bac271f4b7f4ed766db4b077f94fd4daa (diff)
fix typo in variable name
mbIsPlacehlolderShape -> mbIsPlaceholderShape Change-Id: Ie01335293a3acd6da628e7ea123e10f77c1513da Reviewed-on: https://gerrit.libreoffice.org/14991 Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx20
-rw-r--r--filter/source/svg/svgwriter.hxx6
2 files changed, 13 insertions, 13 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index a9c0dc4e56fe..4a394266e065 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -434,7 +434,7 @@ SVGTextWriter::SVGTextWriter( SVGExport& rExport )
mbLineBreak( false ),
mbIsURLField( false ),
msUrl(),
- mbIsPlacehlolderShape( false ),
+ mbIsPlaceholderShape( false ),
mbIWS( false ),
maCurrentFont(),
maParentFont()
@@ -1029,7 +1029,7 @@ bool SVGTextWriter::nextTextPortion()
{
mrCurrentTextPortion.clear();
mbIsURLField = false;
- mbIsPlacehlolderShape = false;
+ mbIsPlaceholderShape = false;
if( mrTextPortionEnumeration.is() && mrTextPortionEnumeration->hasMoreElements() )
{
#if OSL_DEBUG_LEVEL > 0
@@ -1097,7 +1097,7 @@ bool SVGTextWriter::nextTextPortion()
if( sFieldName == "DateTime" || sFieldName == "Header"
|| sFieldName == "Footer" || sFieldName == "PageNumber" )
{
- mbIsPlacehlolderShape = true;
+ mbIsPlaceholderShape = true;
}
else
{
@@ -1602,10 +1602,10 @@ void SVGTextWriter::implWriteTextPortion( const Point& rPos,
mrExport.AddAttribute( XML_NAMESPACE_NONE, "id", rTextPortionId );
}
- if( mbIsPlacehlolderShape )
+ if( mbIsPlaceholderShape )
{
mrExport.AddAttribute( XML_NAMESPACE_NONE, "class", "PlaceholderText" );
- mbIsPlacehlolderShape = false;
+ mbIsPlaceholderShape = false;
}
addFontAttributes( /* isTexTContainer: */ false );
@@ -1616,7 +1616,7 @@ void SVGTextWriter::implWriteTextPortion( const Point& rPos,
OUString sTextContent = rText;
// <a> tag for link should be the innermost tag, inside <tspan>
- if( !mbIsPlacehlolderShape && mbIsURLField && !msUrl.isEmpty() )
+ if( !mbIsPlaceholderShape && mbIsURLField && !msUrl.isEmpty() )
{
mrExport.AddAttribute( XML_NAMESPACE_NONE, "class", "UrlField" );
mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrXLinkHRef, msUrl );
@@ -1647,7 +1647,7 @@ SVGActionWriter::SVGActionWriter( SVGExport& rExport, SVGFontExport& rFontExport
maTextWriter( rExport ),
mnInnerMtfCount( 0 ),
mbClipAttrChanged( false ),
- mbIsPlacehlolderShape( false )
+ mbIsPlaceholderShape( false )
{
mpVDev = new VirtualDevice;
mpVDev->EnableOutput( false );
@@ -2456,7 +2456,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText,
bool bIsPlaceholderField = false;
- if( mbIsPlacehlolderShape )
+ if( mbIsPlaceholderShape )
{
OUString sTextContent = rText;
bIsPlaceholderField = sTextContent.match( sPlaceholderTag );
@@ -2657,10 +2657,10 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf,
bIsTextShape = true;
}
#endif
- mbIsPlacehlolderShape = false;
+ mbIsPlaceholderShape = false;
if( ( pElementId != NULL ) && ( *pElementId == sPlaceholderTag ) )
{
- mbIsPlacehlolderShape = true;
+ mbIsPlaceholderShape = true;
// since we utilize pElementId in an improper way we reset it to NULL before to go on
pElementId = NULL;
}
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index 8d296a22914f..a74ca3032de4 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -204,7 +204,7 @@ class SVGTextWriter
bool mbIsURLField;
OUString msUrl;
OUString msHyperlinkIdList;
- bool mbIsPlacehlolderShape;
+ bool mbIsPlaceholderShape;
bool mbIWS;
vcl::Font maCurrentFont;
vcl::Font maParentFont;
@@ -266,7 +266,7 @@ class SVGTextWriter
void setPlaceholderShapeFlag( bool bState )
{
- mbIsPlacehlolderShape = bState;
+ mbIsPlaceholderShape = bState;
}
private:
@@ -307,7 +307,7 @@ private:
MapMode maTargetMapMode;
sal_uInt32 mnInnerMtfCount;
bool mbClipAttrChanged;
- bool mbIsPlacehlolderShape;
+ bool mbIsPlaceholderShape;
SVGAttributeWriter* ImplAcquireContext()