CppEditor: Move isObjC property to document.

Change-Id: I2267c69001da6bc136d26d874331dd734c8693f5
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Eike Ziller
2014-02-10 12:42:41 +01:00
parent 13349331e8
commit e60f355f05
3 changed files with 32 additions and 25 deletions

View File

@@ -1388,7 +1388,7 @@ void ConvertCStringToNSString::match(const CppQuickFixInterface &interface,
{
CppRefactoringFilePtr file = interface->currentFile();
if (!interface->editor()->isObjCEnabled())
if (!interface->editor()->cppEditorDocument()->isObjCEnabled())
return;
WrapStringLiteral::Type type = WrapStringLiteral::TypeNone;