summaryrefslogtreecommitdiff
path: root/desktop/source/app/lockfile2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rw-r--r--desktop/source/app/lockfile2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx
index fbcd5633f524..42f3081fb7d5 100644
--- a/desktop/source/app/lockfile2.cxx
+++ b/desktop/source/app/lockfile2.cxx
@@ -19,8 +19,8 @@
#include <vcl/layout.hxx>
-#include "desktopresid.hxx"
-#include "desktop.hrc"
+#include "dp_shared.hxx"
+#include "strings.hrc"
#include <tools/config.hxx>
#include "lockfile.hxx"
@@ -38,10 +38,10 @@ bool Lockfile_execWarning( Lockfile const * that )
OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY );
// display warning and return response
- ScopedVclPtrInstance<MessageDialog> aBox(nullptr, DesktopResId(STR_QUERY_USERDATALOCKED),
+ ScopedVclPtrInstance<MessageDialog> aBox(nullptr, DpResId(STR_QUERY_USERDATALOCKED),
VclMessageType::Question, VclButtonsType::YesNo);
// set box title
- OUString aTitle = OUString( DesktopResId( STR_TITLE_USERDATALOCKED ));
+ OUString aTitle = DpResId(STR_TITLE_USERDATALOCKED);
aBox->SetText( aTitle );
// insert values...
OUString aMsgText = aBox->get_primary_text();