summaryrefslogtreecommitdiff
path: root/core/src/reflow/layoutprovider_taggedpdf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/reflow/layoutprovider_taggedpdf.cpp')
-rw-r--r--core/src/reflow/layoutprovider_taggedpdf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/reflow/layoutprovider_taggedpdf.cpp b/core/src/reflow/layoutprovider_taggedpdf.cpp
index 4a5a22bd61..57ce4303e2 100644
--- a/core/src/reflow/layoutprovider_taggedpdf.cpp
+++ b/core/src/reflow/layoutprovider_taggedpdf.cpp
@@ -21,7 +21,7 @@ CPDF_LayoutElement::~CPDF_LayoutElement()
}
m_ChildArray.RemoveAll();
}
-LayoutType CPDF_LayoutElement::ConvertLayoutType(FX_BSTR name)
+LayoutType CPDF_LayoutElement::ConvertLayoutType(const CFX_ByteStringC& name)
{
if(name == (const char*)("Document")) {
return LayoutDocument;
@@ -127,7 +127,7 @@ LayoutType CPDF_LayoutElement::ConvertLayoutType(FX_BSTR name)
}
CFX_ByteStringC CPDF_LayoutElement::ConvertLayoutType(LayoutType type)
{
- FX_BSTR name = "";
+ const CFX_ByteStringC& name = "";
if(type == LayoutArifact) {
return "Arifact";
} else if( type == LayoutDocument) {