mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Dummy theApp() method should return a pointer.
This commit is contained in:
parent
7b4d227929
commit
56071d2fb0
@ -74,7 +74,7 @@ struct App {
|
||||
};
|
||||
|
||||
App app;
|
||||
App theApp() { return app; }
|
||||
App * theApp() { return &app; }
|
||||
|
||||
// Dummy LyXRC support
|
||||
struct LyXRC {
|
||||
|
@ -67,6 +67,6 @@ namespace lyx {
|
||||
};
|
||||
|
||||
App app;
|
||||
App theApp() { return app; }
|
||||
App * theApp() { return &app; }
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -55,7 +55,7 @@ struct App {
|
||||
};
|
||||
|
||||
App app;
|
||||
App theApp() { return app; }
|
||||
App * theApp() { return &app; }
|
||||
|
||||
|
||||
string const trimSpaceAndEol(string const & a)
|
||||
|
Loading…
Reference in New Issue
Block a user