aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/refactoringchanges.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-11-17 12:36:19 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2023-11-20 14:35:51 +0000
commite7073421cc4d336a940540ed44d1a219b2b83a70 (patch)
tree59c604ba459cc05c0e0753e433fd69ec92d95c78 /src/plugins/texteditor/refactoringchanges.cpp
parentfabef397f9716e8b7fa3892b7c5bddaab5acc19d (diff)
TextEditor: Remove RefactoringChanges::createFile()
Dissolve into only caller. Change-Id: I2eaac8bf31c0ecd2dfb863b7fae79af557ccad95 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.cpp')
-rw-r--r--src/plugins/texteditor/refactoringchanges.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp
index cfbfe58d3b..cd0b12c080 100644
--- a/src/plugins/texteditor/refactoringchanges.cpp
+++ b/src/plugins/texteditor/refactoringchanges.cpp
@@ -28,14 +28,6 @@ namespace TextEditor {
RefactoringChanges::~RefactoringChanges() = default;
-bool RefactoringChanges::createFile(const FilePath &filePath,
- const QString &contents,
- bool reindent,
- bool openEditor) const
-{
- return file(filePath)->create(contents, reindent, openEditor);
-}
-
RefactoringFilePtr RefactoringChanges::file(const FilePath &filePath) const
{
return RefactoringFilePtr(new RefactoringFile(filePath));