diff --git a/src/plugins/cppeditor/cppquickfix.cpp b/src/plugins/cppeditor/cppquickfix.cpp
index 6f43c547ee01db4285e3fea867f807b59d7b8678..335ac040d6b81624defc971c1a880a17ade6c5f7 100644
--- a/src/plugins/cppeditor/cppquickfix.cpp
+++ b/src/plugins/cppeditor/cppquickfix.cpp
@@ -616,6 +616,9 @@ QuickFixOperation::~QuickFixOperation()
 CPPEditor *QuickFixOperation::editor() const
 { return _editor; }
 
+const Utils::ChangeSet &QuickFixOperation::changeSet() const
+{ return _changeSet; }
+
 QTextCursor QuickFixOperation::textCursor() const
 { return _textCursor; }
 
diff --git a/src/plugins/cppeditor/cppquickfix.h b/src/plugins/cppeditor/cppquickfix.h
index d35460ca9d778f4c5a3876b4ebc273ccf09a95a9..3dde2727e96c5de34483610119f093b05003529b 100644
--- a/src/plugins/cppeditor/cppquickfix.h
+++ b/src/plugins/cppeditor/cppquickfix.h
@@ -75,6 +75,7 @@ public:
     int selectionEnd() const;
 
     CPPEditor *editor() const;
+    const Utils::ChangeSet &changeSet() const;
 
     virtual void apply() = 0;