summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/retypepassdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/retypepassdlg.hxx')
-rw-r--r--sc/source/ui/inc/retypepassdlg.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx
index 60321a73f038..4d5b9f48fd8c 100644
--- a/sc/source/ui/inc/retypepassdlg.hxx
+++ b/sc/source/ui/inc/retypepassdlg.hxx
@@ -40,9 +40,6 @@ struct PassFragment
class ScRetypePassDlg : public weld::GenericDialogController
{
public:
- typedef std::shared_ptr<ScDocProtection> DocProtectionPtr;
- typedef std::shared_ptr<ScTableProtection> TabProtectionPtr;
-
explicit ScRetypePassDlg(weld::Window* pParent);
virtual ~ScRetypePassDlg() override;
@@ -79,11 +76,11 @@ private:
struct TableItem
{
OUString maName;
- TabProtectionPtr mpProtect;
+ std::shared_ptr<ScTableProtection> mpProtect;
};
::std::vector<TableItem> maTableItems;
- DocProtectionPtr mpDocItem;
+ std::shared_ptr<ScDocProtection> mpDocItem;
ScPasswordHash meDesiredHash;
std::unique_ptr<weld::Button> mxBtnOk;