summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_pageobjs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fxedit/fxet_pageobjs.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_pageobjs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fxedit/fxet_pageobjs.cpp b/fpdfsdk/fxedit/fxet_pageobjs.cpp
index be386095e2..91039f49de 100644
--- a/fpdfsdk/fxedit/fxet_pageobjs.cpp
+++ b/fpdfsdk/fxedit/fxet_pageobjs.cpp
@@ -136,7 +136,7 @@ void IFX_Edit::DrawUnderline(CFX_RenderDevice* pDevice,
}
}
- pDevice->RestoreState();
+ pDevice->RestoreState(false);
}
void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice,
@@ -260,7 +260,7 @@ void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice,
}
}
- pDevice->RestoreState();
+ pDevice->RestoreState(false);
}
void IFX_Edit::DrawRichEdit(CFX_RenderDevice* pDevice,
@@ -385,7 +385,7 @@ void IFX_Edit::DrawRichEdit(CFX_RenderDevice* pDevice,
}
}
- pDevice->RestoreState();
+ pDevice->RestoreState(false);
}
static void AddRectToPageObjects(CPDF_PageObjectHolder* pObjectHolder,